Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Classes | Typedefs | Enumerations
listener.h File Reference

Provides the function abstraction of all Listeners. More...

#include <hicn/utils/address.h>
#include <hicn/io/addressPair.h>
#include <hicn/core/connection.h>
Include dependency graph for listener.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  listener_ops
 

Typedefs

typedef struct listener_ops ListenerOps
 

Enumerations

enum  EncapType {
  ENCAP_TCP, ENCAP_UDP, ENCAP_ETHER, ENCAP_LOCAL,
  ENCAP_HICN, ENCAP_TCP, ENCAP_UDP, ENCAP_ETHER,
  ENCAP_LOCAL, ENCAP_HICN
}
 

Detailed Description

Provides the function abstraction of all Listeners.

A listener accepts in coming packets. A Stream listener will accept the connection then pass it off to the StreamConnection class. A datagram listener will have to have its own way to multiplex packets.

Enumeration Type Documentation

◆ EncapType

enum EncapType
Enumerator
ENCAP_TCP 

TCP encapsulation type

ENCAP_UDP 

UDP encapsulation type

ENCAP_ETHER 

Ethernet encapsulation type

ENCAP_LOCAL 

A connection to a local protocol stack