Go to the source code of this file.
|
#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 */ |
|
◆ LLC_DISC
Definition at line 43 of file llc.h.
◆ LLC_DM
Definition at line 44 of file llc.h.
◆ LLC_FRMR
Definition at line 48 of file llc.h.
◆ LLC_GSAP
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
Definition at line 53 of file llc.h.
◆ LLC_RNR
Definition at line 52 of file llc.h.
◆ LLC_RR
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
Definition at line 34 of file llc.h.
◆ LLC_SABME
Definition at line 45 of file llc.h.
◆ LLC_TEST
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
Definition at line 31 of file llc.h.
◆ LLC_U_POLL
Definition at line 36 of file llc.h.
◆ LLC_UA
Definition at line 42 of file llc.h.
◆ LLC_UI
Definition at line 41 of file llc.h.
◆ LLC_XID
Definition at line 47 of file llc.h.
◆ LLC_XID_FI
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
Definition at line 74 of file llc.h.
◆ LLCSAP_IPX
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 |
◆ LLCSAP_NETBEUI
#define LLCSAP_NETBEUI 0xf0 |
Definition at line 98 of file llc.h.
◆ LLCSAP_NULL
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
Definition at line 71 of file llc.h.
◆ LLCSAP_SNAP
Definition at line 92 of file llc.h.
◆ PID_CISCO_CDP
#define PID_CISCO_CDP 0x2000 /* Cisco Discovery Protocol */ |
◆ PID_RFC2684_802_4_FCS
#define PID_RFC2684_802_4_FCS 0x0002 /* 802.4, with FCS */ |
◆ PID_RFC2684_802_4_NOFCS
#define PID_RFC2684_802_4_NOFCS 0x0008 /* 802.4, without FCS */ |
◆ PID_RFC2684_802_5_FCS
#define PID_RFC2684_802_5_FCS 0x0003 /* 802.5, with FCS */ |
◆ PID_RFC2684_802_5_NOFCS
#define PID_RFC2684_802_5_NOFCS 0x0009 /* 802.5, without FCS */ |
◆ PID_RFC2684_802_6_FCS
#define PID_RFC2684_802_6_FCS 0x0005 /* 802.6, with FCS */ |
◆ PID_RFC2684_802_6_NOFCS
#define PID_RFC2684_802_6_NOFCS 0x000b /* 802.6, without FCS */ |
◆ PID_RFC2684_BPDU
#define PID_RFC2684_BPDU 0x000e /* BPDUs */ |
◆ PID_RFC2684_ETH_FCS
#define PID_RFC2684_ETH_FCS 0x0001 /* Ethernet, with FCS */ |
◆ PID_RFC2684_ETH_NOFCS
#define PID_RFC2684_ETH_NOFCS 0x0007 /* Ethernet, without FCS */ |
◆ PID_RFC2684_FDDI_FCS
#define PID_RFC2684_FDDI_FCS 0x0004 /* FDDI, with FCS */ |
◆ PID_RFC2684_FDDI_NOFCS
#define PID_RFC2684_FDDI_NOFCS 0x000a /* FDDI, without FCS */ |