OpenSDN source code
|
#include <net/if.h>
#include <sys/socket.h>
#include <netinet/if_ether.h>
#include <netinet/ip.h>
#include <netinet/ip6.h>
#include <netinet/ip_icmp.h>
#include <netinet/igmp.h>
#include <tbb/atomic.h>
#include <boost/array.hpp>
#include <base/address.h>
#include <net/mac_address.h>
#include <oper/mirror_table.h>
#include <oper/nexthop.h>
#include <pkt/pkt_trace.h>
#include <pkt/packet_buffer.h>
#include "vr_defs.h"
Go to the source code of this file.
Classes | |
struct | InterTaskMsg |
struct | GreHdr |
struct | MplsHdr |
struct | VxlanHdr |
struct | PktType |
struct | PktStatsType |
struct | sctphdr |
struct | AgentHdr |
struct | TunnelInfo |
class | PktHandler |
struct | PktHandler::PktStats |
struct | PktHandler::PacketBufferEnqueueItem |
struct | PktInfo |
Macros | |
#define | DNS_SERVER_PORT 53 |
#define | DHCP_SERVER_PORT 67 |
#define | DHCP_CLIENT_PORT 68 |
#define | DHCPV6_SERVER_PORT 547 |
#define | DHCPV6_CLIENT_PORT 546 |
#define | BFD_SINGLEHOP_CONTROL_PORT 3784 |
#define | BFD_ECHO_PORT 3785 |
#define | BFD_MULTIHOP_CONTROL_PORT 4784 |
#define | VXLAN_UDP_DEST_PORT 4789 |
#define | IANA_MPLS_OVER_UDP_DEST_PORT 6635 |
#define | MPLS_OVER_UDP_DEST_PORT 51234 |
#define | IPv4_ALEN 4 |
#define | ARP_TX_BUFF_LEN 128 |
#define | IPC_HDR_LEN (sizeof(struct ether_header) + sizeof(struct agent_hdr)) |
#define | VLAN_PROTOCOL 0x8100 |
#define | DEFAULT_IP_TTL 64 |
#define | BGP_SERVICE_TTL_REV_FLOW 2 |
#define | BGP_SERVICE_TTL_FWD_FLOW 255 |
#define | DEFAULT_IP_ID 0 |
#define | VLAN_HDR_LEN 4 |
#define | ICMP_UNREACH_HDR_LEN 8 |
#define | ETHERTYPE_QINQ 0x88A8 |
#define | ETHERTYPE_PBB 0x88E7 |
#define | PBB_HEADER_LEN 4 |
Typedefs | |
typedef boost::shared_ptr < PktInfo > | PktInfoPtr |
#define ARP_TX_BUFF_LEN 128 |
Definition at line 41 of file pkt_handler.h.
#define BFD_ECHO_PORT 3785 |
Definition at line 34 of file pkt_handler.h.
#define BFD_MULTIHOP_CONTROL_PORT 4784 |
Definition at line 35 of file pkt_handler.h.
#define BFD_SINGLEHOP_CONTROL_PORT 3784 |
Definition at line 33 of file pkt_handler.h.
#define BGP_SERVICE_TTL_FWD_FLOW 255 |
Definition at line 47 of file pkt_handler.h.
#define BGP_SERVICE_TTL_REV_FLOW 2 |
Definition at line 46 of file pkt_handler.h.
#define DEFAULT_IP_ID 0 |
Definition at line 48 of file pkt_handler.h.
#define DEFAULT_IP_TTL 64 |
Definition at line 44 of file pkt_handler.h.
#define DHCP_CLIENT_PORT 68 |
Definition at line 30 of file pkt_handler.h.
#define DHCP_SERVER_PORT 67 |
Definition at line 29 of file pkt_handler.h.
#define DHCPV6_CLIENT_PORT 546 |
Definition at line 32 of file pkt_handler.h.
#define DHCPV6_SERVER_PORT 547 |
Definition at line 31 of file pkt_handler.h.
#define DNS_SERVER_PORT 53 |
Definition at line 28 of file pkt_handler.h.
#define ETHERTYPE_PBB 0x88E7 |
Definition at line 54 of file pkt_handler.h.
#define ETHERTYPE_QINQ 0x88A8 |
Definition at line 53 of file pkt_handler.h.
#define IANA_MPLS_OVER_UDP_DEST_PORT 6635 |
Definition at line 37 of file pkt_handler.h.
#define ICMP_UNREACH_HDR_LEN 8 |
Definition at line 51 of file pkt_handler.h.
#define IPC_HDR_LEN (sizeof(struct ether_header) + sizeof(struct agent_hdr)) |
Definition at line 42 of file pkt_handler.h.
#define IPv4_ALEN 4 |
Definition at line 40 of file pkt_handler.h.
#define MPLS_OVER_UDP_DEST_PORT 51234 |
Definition at line 38 of file pkt_handler.h.
#define PBB_HEADER_LEN 4 |
Definition at line 55 of file pkt_handler.h.
#define VLAN_HDR_LEN 4 |
Definition at line 49 of file pkt_handler.h.
#define VLAN_PROTOCOL 0x8100 |
Definition at line 43 of file pkt_handler.h.
#define VXLAN_UDP_DEST_PORT 4789 |
Definition at line 36 of file pkt_handler.h.
typedef boost::shared_ptr<PktInfo> PktInfoPtr |
Definition at line 61 of file pkt_handler.h.