libpcap  1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
  Fossies Dox: libpcap-1.10.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

sll.h File Reference
Include dependency graph for sll.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sll_header
 
struct  sll2_header
 

Macros

#define SLL_HDR_LEN   16 /* total header length */
 
#define SLL_ADDRLEN   8 /* length of address field */
 
#define SLL2_HDR_LEN   20 /* total header length */
 
#define LINUX_SLL_HOST   0
 
#define LINUX_SLL_BROADCAST   1
 
#define LINUX_SLL_MULTICAST   2
 
#define LINUX_SLL_OTHERHOST   3
 
#define LINUX_SLL_OUTGOING   4
 
#define LINUX_SLL_P_802_3   0x0001 /* Novell 802.3 frames without 802.2 LLC header */
 
#define LINUX_SLL_P_802_2   0x0004 /* 802.2 frames (not D/I/X Ethernet) */
 
#define LINUX_SLL_P_CAN   0x000C /* CAN frames, with SocketCAN pseudo-headers */
 
#define LINUX_SLL_P_CANFD   0x000D /* CAN FD frames, with SocketCAN pseudo-headers */
 

Macro Definition Documentation

◆ LINUX_SLL_BROADCAST

#define LINUX_SLL_BROADCAST   1

Definition at line 117 of file sll.h.

◆ LINUX_SLL_HOST

#define LINUX_SLL_HOST   0

Definition at line 116 of file sll.h.

◆ LINUX_SLL_MULTICAST

#define LINUX_SLL_MULTICAST   2

Definition at line 118 of file sll.h.

◆ LINUX_SLL_OTHERHOST

#define LINUX_SLL_OTHERHOST   3

Definition at line 119 of file sll.h.

◆ LINUX_SLL_OUTGOING

#define LINUX_SLL_OUTGOING   4

Definition at line 120 of file sll.h.

◆ LINUX_SLL_P_802_2

#define LINUX_SLL_P_802_2   0x0004 /* 802.2 frames (not D/I/X Ethernet) */

Definition at line 145 of file sll.h.

◆ LINUX_SLL_P_802_3

#define LINUX_SLL_P_802_3   0x0001 /* Novell 802.3 frames without 802.2 LLC header */

Definition at line 144 of file sll.h.

◆ LINUX_SLL_P_CAN

#define LINUX_SLL_P_CAN   0x000C /* CAN frames, with SocketCAN pseudo-headers */

Definition at line 146 of file sll.h.

◆ LINUX_SLL_P_CANFD

#define LINUX_SLL_P_CANFD   0x000D /* CAN FD frames, with SocketCAN pseudo-headers */

Definition at line 147 of file sll.h.

◆ SLL2_HDR_LEN

#define SLL2_HDR_LEN   20 /* total header length */

Definition at line 96 of file sll.h.

◆ SLL_ADDRLEN

#define SLL_ADDRLEN   8 /* length of address field */

Definition at line 83 of file sll.h.

◆ SLL_HDR_LEN

#define SLL_HDR_LEN   16 /* total header length */

Definition at line 82 of file sll.h.