/external/tcpdump/ |
D | print-domain.c | 154 int data_size = ndo->ndo_snapend - bp; in ns_nprint() 167 while (i && cp < ndo->ndo_snapend) { in ns_nprint() 208 if (fn_printn(ndo, cp, l, ndo->ndo_snapend)) in ns_nprint() 239 if (fn_printn(ndo, cp, i, ndo->ndo_snapend)) in ns_cprint() 370 return (ndo->ndo_snapend); in ns_rprint() 412 if (rp > ndo->ndo_snapend) in ns_rprint() 538 if (fn_printn(ndo, cp, len, ndo->ndo_snapend)) in ns_rprint() 544 if (cp + len > ndo->ndo_snapend) in ns_rprint() 626 while (cp < ndo->ndo_snapend && ancount--) { in ns_print() 636 if (cp < ndo->ndo_snapend && nscount--) { in ns_print() [all …]
|
D | print-ascii.c | 63 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in ascii_print() 103 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in hex_and_ascii_print_with_offset() 162 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in hex_print_with_offset()
|
D | print-krb.c | 130 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc in krb4_print_hdr() 154 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc in krb4_print() 161 if ((&kp->type) >= ndo->ndo_snapend) { in krb4_print() 232 if (dat >= ndo->ndo_snapend) { in krb_print()
|
D | print-tftp.c | 139 i = fn_print(ndo, p, ndo->ndo_snapend); in tftp_print() 150 fn_print(ndo, p, ndo->ndo_snapend); in tftp_print() 170 i = fn_print(ndo, (const u_char *)tp->th_data, ndo->ndo_snapend); in tftp_print()
|
D | print-ip6.c | 137 if (ipend < ndo->ndo_snapend) in ip6_print() 138 ndo->ndo_snapend = ipend; in ip6_print() 143 while (cp < ndo->ndo_snapend && advance > 0) { in ip6_print() 165 if (ndo->ndo_snapend <= cp + advance) in ip6_print()
|
D | print-zeromq.c | 145 const u_char *ep = min(ndo->ndo_snapend, cp + len); in zmtp1_print() 178 remaining_len = ndo->ndo_snapend - cp; /* without the frame length */ in zmtp1_print_intermediate_part() 214 const u_char *ep = min(ndo->ndo_snapend, cp + len); in zmtp1_print_datagram()
|
D | print-bootp.c | 357 if (fn_print(ndo, bp->bp_sname, ndo->ndo_snapend)) { in bootp_print() 367 if (fn_print(ndo, bp->bp_file, ndo->ndo_snapend)) { in bootp_print() 704 if (fn_printn(ndo, bp, len, ndo->ndo_snapend)) { in rfc1048_print() 843 if (fn_printn(ndo, bp, len - 3, ndo->ndo_snapend)) { in rfc1048_print() 865 if (fn_printn(ndo, bp, len, ndo->ndo_snapend)) { in rfc1048_print() 910 if (fn_printn(ndo, bp, suboptlen, ndo->ndo_snapend)) in rfc1048_print() 1006 if (fn_printn(ndo, bp, suboptlen, ndo->ndo_snapend)) { in rfc1048_print()
|
D | print-ripng.c | 119 if (ndo->ndo_snapend < dat) in ripng_print() 121 amt = ndo->ndo_snapend - dat; in ripng_print()
|
D | print-zephyr.c | 90 if (*pptr > (char *) ndo->ndo_snapend) in parse_field() 94 while (*pptr <= (char *) ndo->ndo_snapend && *len >= 0 && **pptr) { in parse_field() 100 if (*len < 0 || *pptr > (char *) ndo->ndo_snapend) in parse_field()
|
D | print-smb.c | 934 if (ndo->ndo_snapend < data) in nbt_tcp_print() 936 caplen = ndo->ndo_snapend - data; in nbt_tcp_print() 1242 if (ndo->ndo_snapend < data) in smb_tcp_print() 1244 caplen = ndo->ndo_snapend - data; in smb_tcp_print() 1281 if (maxbuf > ndo->ndo_snapend) in nbt_udp138_print() 1282 maxbuf = ndo->ndo_snapend; in nbt_udp138_print() 1377 if (maxbuf > ndo->ndo_snapend) in netbeui_print() 1378 maxbuf = ndo->ndo_snapend; in netbeui_print() 1478 if (maxbuf > ndo->ndo_snapend) in ipx_netbios_print() 1479 maxbuf = ndo->ndo_snapend; in ipx_netbios_print()
|
D | print-lwres.c | 195 if (p + l + 1 > (const char *)ndo->ndo_snapend) in lwres_printname() 216 if (p + 2 > (const char *)ndo->ndo_snapend) in lwres_printnamelen() 237 if (p + 2 > (const char *)ndo->ndo_snapend) in lwres_printbinlen() 240 if (p + 2 + l > (const char *)ndo->ndo_snapend) in lwres_printbinlen()
|
D | print-rx.c | 531 if (ndo->ndo_snapend - bp < (int)sizeof (struct rx_header)) { in rx_print() 683 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) in rx_cache_insert() 762 if (fn_printn(ndo, bp, i, ndo->ndo_snapend)) \ 889 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in fs_print() 1225 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in cb_print() 1358 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in prot_print() 1615 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in vldb_print() 1896 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in kauth_print() 2042 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in vol_print() 2379 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in bos_print() [all …]
|
D | print-rip.c | 184 if (ndo->ndo_snapend < dat) { in rip_print() 188 i = ndo->ndo_snapend - dat; in rip_print()
|
D | print-ah.c | 45 ep = ndo->ndo_snapend; /* 'ep' points to the end of available data. */ in ah_print()
|
D | print-ipcomp.c | 56 ep = ndo->ndo_snapend; in ipcomp_print()
|
D | print-rt6.c | 53 ep = ndo->ndo_snapend; in rt6_print()
|
D | print-icmp.c | 582 ndo->ndo_snaplen = ndo->ndo_snapend - bp; in icmp_print() 583 snapend_save = ndo->ndo_snapend; in icmp_print() 585 ndo->ndo_snapend = snapend_save; in icmp_print()
|
D | print-hsrp.c | 125 ndo->ndo_snapend)) { in hsrp_print()
|
D | netdissect.h | 152 const u_char *ndo_snapend; member 275 ((uintptr_t)ndo->ndo_snapend - (l) <= (uintptr_t)ndo->ndo_snapend && \ 276 (uintptr_t)&(var) <= (uintptr_t)ndo->ndo_snapend - (l)))
|
D | print-vrrp.c | 172 if (fn_printn(ndo, bp, 8, ndo->ndo_snapend)) { in vrrp_print()
|
D | print-ip.c | 575 if (ipend < ndo->ndo_snapend) in ip_print() 576 ndo->ndo_snapend = ipend; in ip_print() 622 if (!ndo->ndo_Kflag && (u_char *)ipds->ip + hlen <= ndo->ndo_snapend) { in ip_print()
|
D | print-ppp.c | 551 if (fn_printn(ndo, tptr + 4, len - 4, ndo->ndo_snapend)) in handle_ctrl_proto() 1382 se = ndo->ndo_snapend; in ppp_hdlc() 1383 ndo->ndo_snapend = t; in ppp_hdlc() 1419 ndo->ndo_snapend = se; in ppp_hdlc() 1424 ndo->ndo_snapend = se; in ppp_hdlc()
|
D | print-udp.c | 360 if (ep > ndo->ndo_snapend) in udp_print() 361 ep = ndo->ndo_snapend; in udp_print() 396 if (cp > ndo->ndo_snapend) { in udp_print()
|
D | print-pim.c | 233 ep = (const u_char *)ndo->ndo_snapend; in pimv1_print() 423 ep = (const u_char *)ndo->ndo_snapend; in pim_print() 631 ep = (const u_char *)ndo->ndo_snapend; in pimv2_print()
|
D | print-sctp.c | 516 if( (u_long) endPacketPtr > (u_long) ndo->ndo_snapend) in sctp_print() 517 endPacketPtr = (const void *) ndo->ndo_snapend; in sctp_print()
|