Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:length

55 ipx_print(const u_char *p, u_int length)
71 /* take length from ipx header */
72 TCHECK(ipx->length);
73 length = EXTRACT_16BITS(&ipx->length);
75 ipx_decode(ipx, (u_char *)ipx + ipxSize, length - ipxSize);
78 printf("[|ipx %d]", length);
93 ipx_decode(const struct ipxHdr *ipx, const u_char *datap, u_int length)
100 (void)printf("ipx-ncp %d", length);
103 ipx_sap_print((u_short *)datap, length);
106 ipx_rip_print((u_short *)datap, length);
109 (void)printf("ipx-netbios %d", length);
111 ipx_netbios_print(datap, length);
115 (void)printf("ipx-diags %d", length);
118 (void)printf("ipx-nwlink-dgm %d", length);
120 ipx_netbios_print(datap, length);
124 eigrp_print(datap, length);
127 (void)printf("ipx-#%x %d", dstSkt, length);
133 ipx_sap_print(const u_short *ipx, u_int length)
140 length -= 2;
161 for (i = 0; i < 8 && length > 0; i++) {
172 length -= 64;
181 printf("[|ipx %d]", length);
185 ipx_rip_print(const u_short *ipx, u_int length)
192 length -= 2;
197 if (length > 0) {
205 for (i = 0; i < 50 && length > 0; i++) {
211 length -= 8;
220 printf("[|ipx %d]", length);