/external/tcpdump/ |
D | print-aodv.c | 63 if (snapend < (u_char *) ep) { in aodv_extension() 67 i = min(length, (u_int)(snapend - (u_char *)ep)); in aodv_extension() 89 if (snapend < dat) { in aodv_rreq() 93 i = min(length, (u_int)(snapend - dat)); in aodv_rreq() 121 if (snapend < dat) { in aodv_rrep() 125 i = min(length, (u_int)(snapend - dat)); in aodv_rrep() 152 if (snapend < dat) { in aodv_rerr() 156 i = min(length, (u_int)(snapend - dat)); in aodv_rerr() 187 if (snapend < dat) { in aodv_v6_rreq() 191 i = min(length, (u_int)(snapend - dat)); in aodv_v6_rreq() [all …]
|
D | print-timed.c | 54 if (endof(tsp->tsp_type) > snapend) { in timed_print() 63 if (endof(tsp->tsp_vers) > snapend) { in timed_print() 69 if (endof(tsp->tsp_seq) > snapend) { in timed_print() 76 if (endof(tsp->tsp_hopcnt) > snapend) { in timed_print() 85 if (endof(tsp->tsp_time) > snapend) { in timed_print() 104 end = memchr(tsp->tsp_name, '\0', snapend - (u_char *)tsp->tsp_name); in timed_print()
|
D | print-domain.c | 155 int data_size = snapend - bp; in ns_nprint() 168 while (i && cp < snapend) { in ns_nprint() 209 if (fn_printn(cp, l, snapend)) in ns_nprint() 239 if (fn_printn(cp, i, snapend)) in ns_cprint() 371 return (snapend); in ns_rprint() 404 if (rp > snapend) in ns_rprint() 520 if (fn_printn(cp, len, snapend)) in ns_rprint() 526 if (cp + len > snapend) in ns_rprint() 607 while (cp < snapend && ancount--) { in ns_print() 617 if (cp < snapend && nscount--) { in ns_print() [all …]
|
D | print-wb.c | 192 if (len < sizeof(*id) || (u_char *)(id + 1) > snapend) in wb_id() 208 if ((u_char *)cp + len <= snapend) { in wb_id() 215 for (i = 0; i < nid && (u_char *)(io + 1) <= snapend; ++io, ++i) { in wb_id() 231 if (len < sizeof(*rreq) || (u_char *)(rreq + 1) > snapend) in wb_rreq() 247 if (len < sizeof(*preq) || (u_char *)(preq + 1) > snapend) in wb_preq() 262 const u_char *ep = snapend; in wb_prep() 333 if ((u_char *)dh > snapend) { in wb_dops() 348 if (len < sizeof(*rrep) || (u_char *)(rrep + 1) > snapend) in wb_rrep() 370 if (len < sizeof(*dop) || (u_char *)(dop + 1) > snapend) in wb_drawop() 396 if (len < sizeof(*ph) || (u_char *)(ph + 1) > snapend) { in wb_print()
|
D | print-krb.c | 136 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc in krb4_print_hdr() 159 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc in krb4_print() 166 if ((&kp->type) >= snapend) { in krb4_print() 236 if (dat >= snapend) { in krb_print()
|
D | print-ip6.c | 107 if (ipend < snapend) in ip6_print() 108 snapend = ipend; in ip6_print() 113 while (cp < snapend && advance > 0) { in ip6_print() 135 if (snapend <= cp + advance) in ip6_print()
|
D | print-tftp.c | 115 i = fn_print(p, snapend); in tftp_print() 126 fn_print(p, snapend); in tftp_print() 146 i = fn_print((const u_char *)tp->th_data, snapend); in tftp_print()
|
D | print-netbios.c | 62 if ((u_char *)(nb + 1) > snapend) { in netbios_print() 81 if ((u_char *)(ipx + 1) > snapend) {
|
D | print-ripng.c | 71 if (snapend < dat) in ripng_print() 73 amt = snapend - dat; in ripng_print()
|
D | print-rx.c | 441 if (snapend - bp < (int)sizeof (struct rx_header)) { in rx_print() 592 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) in rx_cache_insert() 671 if (fn_printn(bp, i, snapend)) \ 779 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in fs_print() 1097 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in cb_print() 1228 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in prot_print() 1482 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in vldb_print() 1761 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in kauth_print() 1905 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in vol_print() 1987 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { in bos_print() [all …]
|
D | print-zephyr.c | 94 if (*pptr > (char *) snapend) in parse_field() 98 while (*pptr <= (char *) snapend && *len >= 0 && **pptr) { in parse_field() 104 if (*len < 0 || *pptr > (char *) snapend) in parse_field()
|
D | print-bootp.c | 138 if (fn_print(bp->bp_sname, snapend)) { in bootp_print() 148 if (fn_print(bp->bp_file, snapend)) { in bootp_print() 477 if (fn_printn(bp, len, snapend)) { in rfc1048_print() 623 if (fn_printn(bp, len - 3, snapend)) { in rfc1048_print() 647 if (fn_printn(bp, len, snapend)) { in rfc1048_print()
|
D | print-lwres.c | 203 if (p + l + 1 > (const char *)snapend) in lwres_printname() 223 if (p + 2 > (const char *)snapend) in lwres_printnamelen() 243 if (p + 2 > (const char *)snapend) in lwres_printbinlen() 246 if (p + 2 + l > (const char *)snapend) in lwres_printbinlen()
|
D | print-rip.c | 167 if (snapend < dat) { in rip_print() 171 i = snapend - dat; in rip_print()
|
D | print-cnfp.c | 94 if ((const u_char *)(nh + 1) > snapend) in cnfp_print() 124 for (; nrecs-- && (const u_char *)(nr + 1) <= snapend; nr++) { in cnfp_print()
|
D | print-smb.c | 935 if (snapend < data) in nbt_tcp_print() 937 caplen = snapend - data; in nbt_tcp_print() 1257 if (maxbuf > snapend) in nbt_udp138_print() 1258 maxbuf = snapend; in nbt_udp138_print() 1353 if (maxbuf > snapend) in netbeui_print() 1354 maxbuf = snapend; in netbeui_print() 1454 if (maxbuf > snapend) in ipx_netbios_print() 1455 maxbuf = snapend; in ipx_netbios_print()
|
D | interface.h | 127 #define TTEST2(var, l) (snapend - (l) <= snapend && \ 128 (const u_char *)&(var) <= snapend - (l)) 370 #define snapend gndo->ndo_snapend macro
|
D | print-ip.c | 575 if ((u_char *)(ipds->ip + 1) > snapend) { in ip_print() 613 if (ipend < snapend) in ip_print() 614 snapend = ipend; in ip_print() 660 if ((u_char *)ipds->ip + hlen <= snapend) { in ip_print()
|
D | print-ah.c | 52 ep = snapend; /* 'ep' points to the end of available data. */ in ah_print()
|
D | print-ipcomp.c | 64 ep = snapend; in ipcomp_print()
|
D | print-sctp.c | 81 if( (u_long) endPacketPtr > (u_long) snapend) in sctp_print() 82 endPacketPtr = (const void *) snapend; in sctp_print()
|
D | print-rt6.c | 56 ep = snapend; in rt6_print()
|
D | print-vrrp.c | 131 if (fn_printn(bp, 8, snapend)) { in vrrp_print()
|
D | print-icmp.c | 582 snaplen = snapend - bp; in icmp_print() 583 snapend_save = snapend; in icmp_print() 585 snapend = snapend_save; in icmp_print()
|
D | print-hsrp.c | 131 snapend)) { in hsrp_print()
|