NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
format.h File Reference
#include "../core/common.h"
#include "enum.h"
#include <pcap/pcap.h>
#include <pcap/sll.h>

Go to the source code of this file.

Data Structures

struct  PcapngIDB
 PCAPNG interface description block header. More...
struct  PcapngEPB
 PCAPNG enhanced packet block header. More...
struct  PcapngTrailer
 PCAPNG block trailer. More...
struct  PcapngEPBSLL
 PCAPNG enhanced packet block header and tcpdump DLT_LINUX_SLL header. More...

Typedefs

typedef struct __rte_packed_begin PcapngIDB PcapngIDB
 PCAPNG interface description block header.
typedef struct __rte_packed_begin PcapngEPB PcapngEPB
 PCAPNG enhanced packet block header.
typedef struct __rte_packed_begin PcapngTrailer PcapngTrailer
 PCAPNG block trailer.
typedef struct __rte_packed_begin PcapngEPBSLL PcapngEPBSLL
 PCAPNG enhanced packet block header and tcpdump DLT_LINUX_SLL header.

Enumerations

enum  { SLLIncoming = RTE_BE16(LINUX_SLL_HOST) , SLLOutgoing = RTE_BE16(LINUX_SLL_OUTGOING) }
 DLT_LINUX_SLL direction constants in network byte order. More...

Typedef Documentation

◆ PcapngEPB

typedef struct __rte_packed_begin PcapngEPB PcapngEPB

PCAPNG enhanced packet block header.

◆ PcapngEPBSLL

typedef struct __rte_packed_begin PcapngEPBSLL PcapngEPBSLL

PCAPNG enhanced packet block header and tcpdump DLT_LINUX_SLL header.

◆ PcapngIDB

typedef struct __rte_packed_begin PcapngIDB PcapngIDB

PCAPNG interface description block header.

◆ PcapngTrailer

typedef struct __rte_packed_begin PcapngTrailer PcapngTrailer

PCAPNG block trailer.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

DLT_LINUX_SLL direction constants in network byte order.

Each value is rte_be16_t type, which has same size as sll_pkttype.

Enumerator
SLLIncoming 
SLLOutgoing