Home
last modified time | relevance | path

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

123

/external/tcpdump/
Dprint-domain.c168 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 …]
Dprint-ascii.c64 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()
Dprint-tftp.c123 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()
Dprint-ip6.c64 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()
Dprint-krb.c131 #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()
Dprint-zeromq.c146 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()
Dprint-bootp.c361 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()
Dprint-smb.c937 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()
Dprint-geneve.c226 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()
Dprint-lwres.c196 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()
Dprint-rx.c533 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 …]
Dprint-rip.c185 if (ndo->ndo_snapend < dat) { in rip_print()
189 i = ndo->ndo_snapend - dat; in rip_print()
Dprint-vxlan.c68 ether_print(ndo, bp, len - VXLAN_HDR_LEN, ndo->ndo_snapend - bp, NULL, NULL); in vxlan_print()
Dprint-otv.c67 ether_print(ndo, bp, len - 8, ndo->ndo_snapend - bp, NULL, NULL); in otv_print()
Dprint-vxlan-gpe.c95 ether_print(ndo, bp, len - 8, ndo->ndo_snapend - bp, NULL, NULL); in vxlan_gpe_print()
Dprint-rt6.c50 ep = ndo->ndo_snapend; in rt6_print()
Dprint.c330 ndo->ndo_snapend = sp + h->caplen; in pretty_print_packet()
338 ndo->ndo_snapend = sp + h->caplen; in pretty_print_packet()
Dprint-lisp.c376 if (packet_iterator + packet_offset < ndo->ndo_snapend) { in lisp_print()
378 (ndo->ndo_snapend - (packet_iterator + packet_offset)), 0); in lisp_print()
Dprint-icmp.c583 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()
Dnetdissect.h177 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)))
Dprint-hsrp.c126 ndo->ndo_snapend)) { in hsrp_print()
Dprint-ip.c593 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()
Dprint-stp.c288 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()
Dprint-ppp.c552 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()
Dprint-vrrp.c173 if (fn_printn(ndo, bp, 8, ndo->ndo_snapend)) { in vrrp_print()

123