42 #define NSP_REASON_OK 0
43 #define NSP_REASON_NR 1
44 #define NSP_REASON_UN 2
45 #define NSP_REASON_SD 3
46 #define NSP_REASON_ID 4
47 #define NSP_REASON_ER 5
48 #define NSP_REASON_OB 6
49 #define NSP_REASON_US 7
50 #define NSP_REASON_TP 8
51 #define NSP_REASON_EA 9
52 #define NSP_REASON_IF 10
53 #define NSP_REASON_LS 11
54 #define NSP_REASON_LL 32
55 #define NSP_REASON_LE 33
56 #define NSP_REASON_UR 34
57 #define NSP_REASON_UA 36
58 #define NSP_REASON_TM 38
59 #define NSP_REASON_NU 39
60 #define NSP_REASON_NL 41
61 #define NSP_REASON_DC 42
62 #define NSP_REASON_IO 43
64 #define NSP_DISCINIT 0x38
65 #define NSP_DISCCONF 0x48
114 #define NSP_FC_NONE 0x00
115 #define NSP_FC_SRC 0x04
116 #define NSP_FC_SCMC 0x08
117 #define NSP_FC_MASK 0x0c
150 return (
int)((seq1 - seq2) & 0x0fff) > 2048;
159 return (
int)((seq2 - seq1) & 0x0fff) > 2048;
164 return ((seq1 ^ seq2) & 0x0fff) == 0;
169 return (dn_before(seq1, seq2) || dn_equal(seq1, seq2));
180 return dn_equal(seq1 + 1, seq2);
188 return (
int)((seq & 0x1000) ? 0 : 1);
199 #define DN_MAX_NSP_DATA_HEADER (11)