Home
last modified time | relevance | path

Searched refs:ndo_snapend (Results 1 – 25 of 49) sorted by relevance

12

/external/tcpdump/
Dprint-domain.c154 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 …]
Dprint-ascii.c63 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()
Dprint-krb.c130 #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()
Dprint-tftp.c139 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()
Dprint-ip6.c137 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()
Dprint-zeromq.c145 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()
Dprint-bootp.c357 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()
Dprint-ripng.c119 if (ndo->ndo_snapend < dat) in ripng_print()
121 amt = ndo->ndo_snapend - dat; in ripng_print()
Dprint-zephyr.c90 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()
Dprint-smb.c934 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()
Dprint-lwres.c195 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()
Dprint-rx.c531 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 …]
Dprint-rip.c184 if (ndo->ndo_snapend < dat) { in rip_print()
188 i = ndo->ndo_snapend - dat; in rip_print()
Dprint-ah.c45 ep = ndo->ndo_snapend; /* 'ep' points to the end of available data. */ in ah_print()
Dprint-ipcomp.c56 ep = ndo->ndo_snapend; in ipcomp_print()
Dprint-rt6.c53 ep = ndo->ndo_snapend; in rt6_print()
Dprint-icmp.c582 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()
Dprint-hsrp.c125 ndo->ndo_snapend)) { in hsrp_print()
Dnetdissect.h152 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)))
Dprint-vrrp.c172 if (fn_printn(ndo, bp, 8, ndo->ndo_snapend)) { in vrrp_print()
Dprint-ip.c575 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()
Dprint-ppp.c551 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()
Dprint-udp.c360 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()
Dprint-pim.c233 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()
Dprint-sctp.c516 if( (u_long) endPacketPtr > (u_long) ndo->ndo_snapend) in sctp_print()
517 endPacketPtr = (const void *) ndo->ndo_snapend; in sctp_print()

12