/external/tcpdump/ |
D | print-domain.c | 168 while (i && cp < ndo->ndo_snapend) { in ns_nprint() 213 if (fn_printn(ndo, cp, l, ndo->ndo_snapend)) in ns_nprint() 242 if (fn_printn(ndo, cp, i, ndo->ndo_snapend)) in ns_cprint() 373 return (ndo->ndo_snapend); in ns_rprint() 415 if (rp > ndo->ndo_snapend) in ns_rprint() 537 if (fn_printn(ndo, cp, len, ndo->ndo_snapend)) in ns_rprint() 543 if (cp + len > ndo->ndo_snapend) in ns_rprint() 625 while (cp < ndo->ndo_snapend && ancount--) { in ns_print() 635 if (cp < ndo->ndo_snapend && nscount--) { in ns_print() 639 while (cp < ndo->ndo_snapend && nscount--) { in ns_print() [all …]
|
D | print-ascii.c | 64 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in ascii_print() 104 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in hex_and_ascii_print_with_offset() 163 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; in hex_print_with_offset()
|
D | print-tftp.c | 123 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print() 134 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print() 145 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print() 159 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print() 188 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print()
|
D | print-ip6.c | 64 while (cp < ndo->ndo_snapend) { in ip6_finddst() 112 if ((const u_char *)(addr + 1) > ndo->ndo_snapend) in ip6_finddst() 276 if (ipend < ndo->ndo_snapend) in ip6_print() 277 ndo->ndo_snapend = ipend; in ip6_print() 282 while (cp < ndo->ndo_snapend && advance > 0) { in ip6_print() 310 if (advance < 0 || ndo->ndo_snapend <= cp + advance) in ip6_print()
|
D | print-krb.c | 131 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc in krb4_print_hdr() 155 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc in krb4_print() 162 if ((&kp->type) >= ndo->ndo_snapend) { in krb4_print() 233 if (dat >= ndo->ndo_snapend) { in krb_print()
|
D | print-zeromq.c | 146 const u_char *ep = min(ndo->ndo_snapend, cp + len); in zmtp1_print() 179 remaining_len = ndo->ndo_snapend - cp; /* without the frame length */ in zmtp1_print_intermediate_part() 215 const u_char *ep = min(ndo->ndo_snapend, cp + len); in zmtp1_print_datagram()
|
D | print-bootp.c | 361 ndo->ndo_snapend)) { in bootp_print() 372 ndo->ndo_snapend)) { in bootp_print() 710 if (fn_printn(ndo, bp, len, ndo->ndo_snapend)) { in rfc1048_print() 849 if (fn_printn(ndo, bp, len - 3, ndo->ndo_snapend)) { in rfc1048_print() 871 if (fn_printn(ndo, bp, len, ndo->ndo_snapend)) { in rfc1048_print() 916 if (fn_printn(ndo, bp, suboptlen, ndo->ndo_snapend)) in rfc1048_print() 1012 if (fn_printn(ndo, bp, suboptlen, ndo->ndo_snapend)) { in rfc1048_print()
|
D | print-smb.c | 937 if (ndo->ndo_snapend < data) in nbt_tcp_print() 939 caplen = ndo->ndo_snapend - data; in nbt_tcp_print() 1247 if (ndo->ndo_snapend < data) in smb_tcp_print() 1249 caplen = ndo->ndo_snapend - data; in smb_tcp_print() 1286 if (maxbuf > ndo->ndo_snapend) in nbt_udp138_print() 1287 maxbuf = ndo->ndo_snapend; in nbt_udp138_print() 1382 if (maxbuf > ndo->ndo_snapend) in netbeui_print() 1383 maxbuf = ndo->ndo_snapend; in netbeui_print() 1483 if (maxbuf > ndo->ndo_snapend) in ipx_netbios_print() 1484 maxbuf = ndo->ndo_snapend; in ipx_netbios_print()
|
D | print-geneve.c | 226 if (ethertype_print(ndo, prot, bp, len, ndo->ndo_snapend - bp, NULL, NULL) == 0) { in geneve_print() 228 ether_print(ndo, bp, len, ndo->ndo_snapend - bp, NULL, NULL); in geneve_print()
|
D | print-lwres.c | 196 if (p + l + 1 > (const char *)ndo->ndo_snapend) in lwres_printname() 217 if (p + 2 > (const char *)ndo->ndo_snapend) in lwres_printnamelen() 238 if (p + 2 > (const char *)ndo->ndo_snapend) in lwres_printbinlen() 241 if (p + 2 + l > (const char *)ndo->ndo_snapend) in lwres_printbinlen()
|
D | print-rx.c | 533 if (ndo->ndo_snapend - bp < (int)sizeof (struct rx_header)) { in rx_print() 685 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) in rx_cache_insert() 767 if (fn_printn(ndo, bp, _i, ndo->ndo_snapend)) \ 894 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in fs_print() 1228 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in cb_print() 1362 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in prot_print() 1619 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in vldb_print() 1900 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in kauth_print() 2046 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in vol_print() 2383 if (ndo->ndo_snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in bos_print() [all …]
|
D | print-rip.c | 185 if (ndo->ndo_snapend < dat) { in rip_print() 189 i = ndo->ndo_snapend - dat; in rip_print()
|
D | print-vxlan.c | 68 ether_print(ndo, bp, len - VXLAN_HDR_LEN, ndo->ndo_snapend - bp, NULL, NULL); in vxlan_print()
|
D | print-otv.c | 67 ether_print(ndo, bp, len - 8, ndo->ndo_snapend - bp, NULL, NULL); in otv_print()
|
D | print-vxlan-gpe.c | 95 ether_print(ndo, bp, len - 8, ndo->ndo_snapend - bp, NULL, NULL); in vxlan_gpe_print()
|
D | print-rt6.c | 50 ep = ndo->ndo_snapend; in rt6_print()
|
D | print.c | 330 ndo->ndo_snapend = sp + h->caplen; in pretty_print_packet() 338 ndo->ndo_snapend = sp + h->caplen; in pretty_print_packet()
|
D | print-lisp.c | 376 if (packet_iterator + packet_offset < ndo->ndo_snapend) { in lisp_print() 378 (ndo->ndo_snapend - (packet_iterator + packet_offset)), 0); in lisp_print()
|
D | print-icmp.c | 583 ndo->ndo_snaplen = ndo->ndo_snapend - bp; in icmp_print() 584 snapend_save = ndo->ndo_snapend; in icmp_print() 587 ndo->ndo_snapend = snapend_save; in icmp_print()
|
D | netdissect.h | 177 const u_char *ndo_snapend; member 309 ((uintptr_t)ndo->ndo_snapend - (l) <= (uintptr_t)ndo->ndo_snapend && \ 310 (uintptr_t)&(var) <= (uintptr_t)ndo->ndo_snapend - (l)))
|
D | print-hsrp.c | 126 ndo->ndo_snapend)) { in hsrp_print()
|
D | print-ip.c | 593 if (ipend < ndo->ndo_snapend) in ip_print() 594 ndo->ndo_snapend = ipend; in ip_print() 645 if (!ndo->ndo_Kflag && (const u_char *)ipds->ip + hlen <= ndo->ndo_snapend) { in ip_print()
|
D | print-stp.c | 288 if (fn_printzp(ndo, ptr + MST_BPDU_CONFIG_NAME_OFFSET, 32, ndo->ndo_snapend)) in stp_print_mstp_bpdu() 365 ndo->ndo_snapend)) in stp_print_spb_bpdu()
|
D | print-ppp.c | 552 if (fn_printn(ndo, tptr + 4, len - 4, ndo->ndo_snapend)) in handle_ctrl_proto() 1402 se = ndo->ndo_snapend; in ppp_hdlc() 1403 ndo->ndo_snapend = t; in ppp_hdlc() 1439 ndo->ndo_snapend = se; in ppp_hdlc() 1444 ndo->ndo_snapend = se; in ppp_hdlc()
|
D | print-vrrp.c | 173 if (fn_printn(ndo, bp, 8, ndo->ndo_snapend)) { in vrrp_print()
|