Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:nlpid

40 #include "nlpid.h"
164 | NLPID |
183 return addr_len + 1 /* UI */ + 1 /* pad */ + 1 /* NLPID */;
185 return addr_len + 1 /* UI */ + 1 /* NLPID */;
189 fr_hdr_print(int length, u_int addr_len, u_int dlci, u_int8_t *flags, u_int16_t nlpid)
196 if (nlpid <= 0xff) /* if its smaller than 256 then its a NLPID */
197 (void)printf("Q.922, hdr-len %u, DLCI %u, Flags [%s], NLPID %s (0x%02x), length %u: ",
201 tok2str(nlpid_values,"unknown", nlpid),
202 nlpid,
209 tok2str(ethertype_values, "unknown", nlpid),
210 nlpid,
238 u_int16_t nlpid;
275 nlpid = p[hdr_len - 1];
278 fr_hdr_print(length, addr_len, dlci, flags, nlpid);
282 switch (nlpid) {
295 isoclns_print(p-1, length+1, length+1); /* OSI printers need the NLPID field */
303 dlci, flags, nlpid);
324 dlci, flags, nlpid);
540 /* an NLPID of 0xb1 indicates a 2-byte
547 * | NLPID (8 bits) | NLPID=0xb1
588 using Q.933 NLPID
592 |Control 0x03 | NLPID 0x08 |