tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

llc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llc_hdr_t
 

Macros

#define LLC_U_FMT   3
 
#define LLC_GSAP   1
 
#define LLC_IG   1 /* Individual / Group */
 
#define LLC_S_FMT   1
 
#define LLC_U_POLL   0x10
 
#define LLC_IS_POLL   0x0100
 
#define LLC_XID_FI   0x81
 
#define LLC_U_CMD(u)   ((u) & 0xef)
 
#define LLC_UI   0x03
 
#define LLC_UA   0x63
 
#define LLC_DISC   0x43
 
#define LLC_DM   0x0f
 
#define LLC_SABME   0x6f
 
#define LLC_TEST   0xe3
 
#define LLC_XID   0xaf
 
#define LLC_FRMR   0x87
 
#define LLC_S_CMD(is)   (((is) >> 2) & 0x03)
 
#define LLC_RR   0x0001
 
#define LLC_RNR   0x0005
 
#define LLC_REJ   0x0009
 
#define LLC_IS_NR(is)   (((is) >> 9) & 0x7f)
 
#define LLC_I_NS(is)   (((is) >> 1) & 0x7f)
 
#define LLCSAP_NULL   0x00
 
#define LLCSAP_GLOBAL   0xff
 
#define LLCSAP_8021B_I   0x02
 
#define LLCSAP_8021B_G   0x03
 
#define LLCSAP_SNA   0x04
 
#define LLCSAP_IP   0x06
 
#define LLCSAP_PROWAYNM   0x0e
 
#define LLCSAP_8021D   0x42
 
#define LLCSAP_RS511   0x4e
 
#define LLCSAP_ISO8208   0x7e
 
#define LLCSAP_PROWAY   0x8e
 
#define LLCSAP_SNAP   0xaa
 
#define LLCSAP_IPX   0xe0
 
#define LLCSAP_NETBEUI   0xf0
 
#define LLCSAP_ISONS   0xfe
 
#define PID_CISCO_CDP   0x2000 /* Cisco Discovery Protocol */
 
#define PID_RFC2684_ETH_FCS   0x0001 /* Ethernet, with FCS */
 
#define PID_RFC2684_ETH_NOFCS   0x0007 /* Ethernet, without FCS */
 
#define PID_RFC2684_802_4_FCS   0x0002 /* 802.4, with FCS */
 
#define PID_RFC2684_802_4_NOFCS   0x0008 /* 802.4, without FCS */
 
#define PID_RFC2684_802_5_FCS   0x0003 /* 802.5, with FCS */
 
#define PID_RFC2684_802_5_NOFCS   0x0009 /* 802.5, without FCS */
 
#define PID_RFC2684_FDDI_FCS   0x0004 /* FDDI, with FCS */
 
#define PID_RFC2684_FDDI_NOFCS   0x000a /* FDDI, without FCS */
 
#define PID_RFC2684_802_6_FCS   0x0005 /* 802.6, with FCS */
 
#define PID_RFC2684_802_6_NOFCS   0x000b /* 802.6, without FCS */
 
#define PID_RFC2684_BPDU   0x000e /* BPDUs */
 

Macro Definition Documentation

◆ LLC_DISC

#define LLC_DISC   0x43

Definition at line 43 of file llc.h.

◆ LLC_DM

#define LLC_DM   0x0f

Definition at line 44 of file llc.h.

◆ LLC_FRMR

#define LLC_FRMR   0x87

Definition at line 48 of file llc.h.

◆ LLC_GSAP

#define LLC_GSAP   1

Definition at line 32 of file llc.h.

◆ LLC_I_NS

#define LLC_I_NS (   is)    (((is) >> 1) & 0x7f)

Definition at line 56 of file llc.h.

◆ LLC_IG

#define LLC_IG   1 /* Individual / Group */

Definition at line 33 of file llc.h.

◆ LLC_IS_NR

#define LLC_IS_NR (   is)    (((is) >> 9) & 0x7f)

Definition at line 55 of file llc.h.

◆ LLC_IS_POLL

#define LLC_IS_POLL   0x0100

Definition at line 37 of file llc.h.

◆ LLC_REJ

#define LLC_REJ   0x0009

Definition at line 53 of file llc.h.

◆ LLC_RNR

#define LLC_RNR   0x0005

Definition at line 52 of file llc.h.

◆ LLC_RR

#define LLC_RR   0x0001

Definition at line 51 of file llc.h.

◆ LLC_S_CMD

#define LLC_S_CMD (   is)    (((is) >> 2) & 0x03)

Definition at line 50 of file llc.h.

◆ LLC_S_FMT

#define LLC_S_FMT   1

Definition at line 34 of file llc.h.

◆ LLC_SABME

#define LLC_SABME   0x6f

Definition at line 45 of file llc.h.

◆ LLC_TEST

#define LLC_TEST   0xe3

Definition at line 46 of file llc.h.

◆ LLC_U_CMD

#define LLC_U_CMD (   u)    ((u) & 0xef)

Definition at line 40 of file llc.h.

◆ LLC_U_FMT

#define LLC_U_FMT   3

Definition at line 31 of file llc.h.

◆ LLC_U_POLL

#define LLC_U_POLL   0x10

Definition at line 36 of file llc.h.

◆ LLC_UA

#define LLC_UA   0x63

Definition at line 42 of file llc.h.

◆ LLC_UI

#define LLC_UI   0x03

Definition at line 41 of file llc.h.

◆ LLC_XID

#define LLC_XID   0xaf

Definition at line 47 of file llc.h.

◆ LLC_XID_FI

#define LLC_XID_FI   0x81

Definition at line 38 of file llc.h.

◆ LLCSAP_8021B_G

#define LLCSAP_8021B_G   0x03

Definition at line 68 of file llc.h.

◆ LLCSAP_8021B_I

#define LLCSAP_8021B_I   0x02

Definition at line 65 of file llc.h.

◆ LLCSAP_8021D

#define LLCSAP_8021D   0x42

Definition at line 80 of file llc.h.

◆ LLCSAP_GLOBAL

#define LLCSAP_GLOBAL   0xff

Definition at line 62 of file llc.h.

◆ LLCSAP_IP

#define LLCSAP_IP   0x06

Definition at line 74 of file llc.h.

◆ LLCSAP_IPX

#define LLCSAP_IPX   0xe0

Definition at line 95 of file llc.h.

◆ LLCSAP_ISO8208

#define LLCSAP_ISO8208   0x7e

Definition at line 86 of file llc.h.

◆ LLCSAP_ISONS

#define LLCSAP_ISONS   0xfe

Definition at line 101 of file llc.h.

◆ LLCSAP_NETBEUI

#define LLCSAP_NETBEUI   0xf0

Definition at line 98 of file llc.h.

◆ LLCSAP_NULL

#define LLCSAP_NULL   0x00

Definition at line 59 of file llc.h.

◆ LLCSAP_PROWAY

#define LLCSAP_PROWAY   0x8e

Definition at line 89 of file llc.h.

◆ LLCSAP_PROWAYNM

#define LLCSAP_PROWAYNM   0x0e

Definition at line 77 of file llc.h.

◆ LLCSAP_RS511

#define LLCSAP_RS511   0x4e

Definition at line 83 of file llc.h.

◆ LLCSAP_SNA

#define LLCSAP_SNA   0x04

Definition at line 71 of file llc.h.

◆ LLCSAP_SNAP

#define LLCSAP_SNAP   0xaa

Definition at line 92 of file llc.h.

◆ PID_CISCO_CDP

#define PID_CISCO_CDP   0x2000 /* Cisco Discovery Protocol */

Definition at line 107 of file llc.h.

◆ PID_RFC2684_802_4_FCS

#define PID_RFC2684_802_4_FCS   0x0002 /* 802.4, with FCS */

Definition at line 114 of file llc.h.

◆ PID_RFC2684_802_4_NOFCS

#define PID_RFC2684_802_4_NOFCS   0x0008 /* 802.4, without FCS */

Definition at line 115 of file llc.h.

◆ PID_RFC2684_802_5_FCS

#define PID_RFC2684_802_5_FCS   0x0003 /* 802.5, with FCS */

Definition at line 116 of file llc.h.

◆ PID_RFC2684_802_5_NOFCS

#define PID_RFC2684_802_5_NOFCS   0x0009 /* 802.5, without FCS */

Definition at line 117 of file llc.h.

◆ PID_RFC2684_802_6_FCS

#define PID_RFC2684_802_6_FCS   0x0005 /* 802.6, with FCS */

Definition at line 120 of file llc.h.

◆ PID_RFC2684_802_6_NOFCS

#define PID_RFC2684_802_6_NOFCS   0x000b /* 802.6, without FCS */

Definition at line 121 of file llc.h.

◆ PID_RFC2684_BPDU

#define PID_RFC2684_BPDU   0x000e /* BPDUs */

Definition at line 122 of file llc.h.

◆ PID_RFC2684_ETH_FCS

#define PID_RFC2684_ETH_FCS   0x0001 /* Ethernet, with FCS */

Definition at line 112 of file llc.h.

◆ PID_RFC2684_ETH_NOFCS

#define PID_RFC2684_ETH_NOFCS   0x0007 /* Ethernet, without FCS */

Definition at line 113 of file llc.h.

◆ PID_RFC2684_FDDI_FCS

#define PID_RFC2684_FDDI_FCS   0x0004 /* FDDI, with FCS */

Definition at line 118 of file llc.h.

◆ PID_RFC2684_FDDI_NOFCS

#define PID_RFC2684_FDDI_NOFCS   0x000a /* FDDI, without FCS */

Definition at line 119 of file llc.h.