Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:nlpid

40 #include "nlpid.h"
152 | NLPID |
171 return addr_len + 1 /* UI */ + 1 /* pad */ + 1 /* NLPID */;
173 return addr_len + 1 /* UI */ + 1 /* NLPID */;
177 fr_hdr_print(int length, u_int addr_len, u_int dlci, u_int8_t *flags, u_int16_t nlpid)
184 if (nlpid <= 0xff) /* if its smaller than 256 then its a NLPID */
185 (void)printf("Q.922, hdr-len %u, DLCI %u, Flags [%s], NLPID %s (0x%02x), length %u: ",
189 tok2str(nlpid_values,"unknown", nlpid),
190 nlpid,
197 tok2str(ethertype_values, "unknown", nlpid),
198 nlpid,
227 u_int16_t nlpid;
265 nlpid = p[hdr_len - 1];
268 fr_hdr_print(length, addr_len, dlci, flags, nlpid);
272 switch (nlpid) {
285 isoclns_print(p-1, length+1, length+1); /* OSI printers need the NLPID field */
293 dlci, flags, nlpid);
314 dlci, flags, nlpid);
530 /* an NLPID of 0xb1 indicates a 2-byte
537 * | NLPID (8 bits) | NLPID=0xb1
578 using Q.933 NLPID
582 |Control 0x03 | NLPID 0x08 |