/external/tcpdump/ |
print-timed.c | 54 if (endof(tsp->tsp_type) > snapend) { 63 if (endof(tsp->tsp_vers) > snapend) { 69 if (endof(tsp->tsp_seq) > snapend) { 76 if (endof(tsp->tsp_hopcnt) > snapend) { 85 if (endof(tsp->tsp_time) > snapend) { 104 end = memchr(tsp->tsp_name, '\0', snapend - (u_char *)tsp->tsp_name);
|
print-netbios.c | 62 if ((u_char *)(nb + 1) > snapend) { 81 if ((u_char *)(ipx + 1) > snapend) {
|
print-aodv.c | 63 if (snapend < (u_char *) ep) { 67 i = min(length, (u_int)(snapend - (u_char *)ep)); 89 if (snapend < dat) { 93 i = min(length, (u_int)(snapend - dat)); 121 if (snapend < dat) { 125 i = min(length, (u_int)(snapend - dat)); 152 if (snapend < dat) { 156 i = min(length, (u_int)(snapend - dat)); 187 if (snapend < dat) { 191 i = min(length, (u_int)(snapend - dat)) [all...] |
print-tftp.c | 115 i = fn_print(p, snapend); 126 fn_print(p, snapend); 146 i = fn_print((const u_char *)tp->th_data, snapend);
|
print-ah.c | 52 ep = snapend; /* 'ep' points to the end of available data. */
|
print-wb.c | 192 if (len < sizeof(*id) || (u_char *)(id + 1) > snapend) 208 if ((u_char *)cp + len <= snapend) { 215 for (i = 0; i < nid && (u_char *)(io + 1) <= snapend; ++io, ++i) { 231 if (len < sizeof(*rreq) || (u_char *)(rreq + 1) > snapend) 247 if (len < sizeof(*preq) || (u_char *)(preq + 1) > snapend) 262 const u_char *ep = snapend; 333 if ((u_char *)dh > snapend) { 348 if (len < sizeof(*rrep) || (u_char *)(rrep + 1) > snapend) 370 if (len < sizeof(*dop) || (u_char *)(dop + 1) > snapend) 396 if (len < sizeof(*ph) || (u_char *)(ph + 1) > snapend) { [all...] |
print-domain.c | 155 int data_size = snapend - bp; 168 while (i && cp < snapend) { 209 if (fn_printn(cp, l, snapend)) 239 if (fn_printn(cp, i, snapend)) 371 return (snapend); 404 if (rp > snapend) 520 if (fn_printn(cp, len, snapend)) 526 if (cp + len > snapend) 607 while (cp < snapend && ancount--) { 617 if (cp < snapend && nscount--) [all...] |
print-ip6.c | 107 if (ipend < snapend) 108 snapend = ipend; 113 while (cp < snapend && advance > 0) { 135 if (snapend <= cp + advance)
|
print-ipcomp.c | 64 ep = snapend;
|
print-krb.c | 136 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc 159 #define PRINT if ((cp = c_print(cp, snapend)) == NULL) goto trunc 166 if ((&kp->type) >= snapend) { 236 if (dat >= snapend) {
|
print-ripng.c | 71 if (snapend < dat) 73 amt = snapend - dat;
|
print-hsrp.c | 131 snapend)) {
|
print-rt6.c | 56 ep = snapend;
|
print-vrrp.c | 131 if (fn_printn(bp, 8, snapend)) {
|
print-cnfp.c | 94 if ((const u_char *)(nh + 1) > snapend) 124 for (; nrecs-- && (const u_char *)(nr + 1) <= snapend; nr++) {
|
print-rip.c | 167 if (snapend < dat) { 171 i = snapend - dat;
|
print-zephyr.c | 94 if (*pptr > (char *) snapend) 98 while (*pptr <= (char *) snapend && *len >= 0 && **pptr) { 104 if (*len < 0 || *pptr > (char *) snapend)
|
print-bootp.c | 138 if (fn_print(bp->bp_sname, snapend)) { 148 if (fn_print(bp->bp_file, snapend)) { 477 if (fn_printn(bp, len, snapend)) { 623 if (fn_printn(bp, len - 3, snapend)) { 647 if (fn_printn(bp, len, snapend)) {
|
interface.h | 122 * The "snapend - (l) <= snapend" checks to make sure "l" isn't so large 123 * that "snapend - (l)" underflows. 127 #define TTEST2(var, l) (snapend - (l) <= snapend && \ 128 (const u_char *)&(var) <= snapend - (l)) 370 #define snapend gndo->ndo_snapend macro
|
print-ip.c | 575 if ((u_char *)(ipds->ip + 1) > snapend) { 613 if (ipend < snapend) 614 snapend = ipend; 660 if ((u_char *)ipds->ip + hlen <= snapend) {
|
print-lwres.c | 203 if (p + l + 1 > (const char *)snapend) 223 if (p + 2 > (const char *)snapend) 243 if (p + 2 > (const char *)snapend) 246 if (p + 2 + l > (const char *)snapend)
|
print-rx.c | 441 if (snapend - bp < (int)sizeof (struct rx_header)) { 592 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) 671 if (fn_printn(bp, i, snapend)) \ 779 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { 1097 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { 1228 if (snapend - bp + 1 <= (int)(sizeof(struct rx_header) + sizeof(int32_t))) { [all...] |
print-sctp.c | 81 if( (u_long) endPacketPtr > (u_long) snapend) 82 endPacketPtr = (const void *) snapend;
|
print-smb.c | 935 if (snapend < data) 937 caplen = snapend - data; [all...] |
print-icmp.c | 582 snaplen = snapend - bp; 583 snapend_save = snapend; 585 snapend = snapend_save;
|