Home
last modified time | relevance | path

Searched refs:ND_TTEST2 (Results 1 – 25 of 32) sorted by relevance

12

/external/tcpdump/
Dprint-domain.c59 if (!ND_TTEST2(*cp, 1)) in ns_nskip()
70 if (!ND_TTEST2(*cp, 1)) in ns_nskip()
78 if (!ND_TTEST2(*cp, 1)) in ns_nskip()
94 if (!ND_TTEST2(*cp, 1)) in blabel_print()
129 if (!ND_TTEST2(*cp, 1)) in labellen()
138 if (!ND_TTEST2(*(cp + 1), 1)) in labellen()
159 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
174 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
195 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
221 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
[all …]
Dextract.h261 #define ND_TTEST_8BITS(p) ND_TTEST2(*(p), 1)
264 #define ND_TTEST_16BITS(p) ND_TTEST2(*(p), 2)
267 #define ND_TTEST_24BITS(p) ND_TTEST2(*(p), 3)
270 #define ND_TTEST_32BITS(p) ND_TTEST2(*(p), 4)
273 #define ND_TTEST_40BITS(p) ND_TTEST2(*(p), 5)
276 #define ND_TTEST_48BITS(p) ND_TTEST2(*(p), 6)
279 #define ND_TTEST_56BITS(p) ND_TTEST2(*(p), 7)
282 #define ND_TTEST_64BITS(p) ND_TTEST2(*(p), 8)
285 #define ND_TTEST_128BITS(p) ND_TTEST2(*(p), 16)
Dprint-802_11.c987 if (!ND_TTEST2(*p, IEEE802_11_IV_LEN + IEEE802_11_KID_LEN)) in wep_print()
1022 if (!ND_TTEST2(*(p + offset), 2)) in parse_elements()
1029 if (!ND_TTEST2(*(p + offset + 2), elementlen)) in parse_elements()
1224 if (!ND_TTEST2(*p, IEEE802_11_TSTAMP_LEN + IEEE802_11_BCNINT_LEN + in handle_beacon()
1261 if (!ND_TTEST2(*p, IEEE802_11_CAPINFO_LEN + IEEE802_11_LISTENINT_LEN)) in handle_assoc_request()
1289 if (!ND_TTEST2(*p, IEEE802_11_CAPINFO_LEN + IEEE802_11_STATUS_LEN + in handle_assoc_response()
1326 if (!ND_TTEST2(*p, IEEE802_11_CAPINFO_LEN + IEEE802_11_LISTENINT_LEN + in handle_reassoc_request()
1386 if (!ND_TTEST2(*p, IEEE802_11_TSTAMP_LEN + IEEE802_11_BCNINT_LEN + in handle_probe_response()
1426 if (!ND_TTEST2(*p, IEEE802_11_REASON_LEN)) in handle_disassoc()
1450 if (!ND_TTEST2(*p, 6)) in handle_auth()
[all …]
Dprint-vrrp.c140 if (version == 2 && ND_TTEST2(bp[0], len)) { in vrrp_print()
150 if (version == 3 && ND_TTEST2(bp[0], len)) { in vrrp_print()
Dsignature.c133 if (!ND_TTEST2(pptr, plen)) { in signature_verify()
141 if (!ND_TTEST2(sig_ptr, sizeof(sig))) { in signature_verify()
Dprint-geonet.c89 if (!ND_TTEST2(*bp, GEONET_ADDR_LEN)) in print_long_pos_vector()
93 if (!ND_TTEST2(*(bp+12), 8)) in print_long_pos_vector()
Dprint-isoclns.c1982 if (!ND_TTEST2(*tptr, NODE_ID_LEN)) in isis_print_ext_is_reach()
1989 if (!ND_TTEST2(*tptr, 3)) /* and is therefore skipped */ in isis_print_ext_is_reach()
1995 if (!ND_TTEST2(*tptr, 1)) in isis_print_ext_is_reach()
2003 if (!ND_TTEST2(*tptr,2)) in isis_print_ext_is_reach()
2028 if (!ND_TTEST2(*tptr, 2)) in isis_print_mtid()
2059 if (!ND_TTEST2(*tptr, 4)) in isis_print_extd_ip_reach()
2066 if (!ND_TTEST2(*tptr, 1)) /* fetch status byte */ in isis_print_extd_ip_reach()
2078 if (!ND_TTEST2(*tptr, 2)) /* fetch status & prefix_len byte */ in isis_print_extd_ip_reach()
2094 if (!ND_TTEST2(*tptr, byte_length)) in isis_print_extd_ip_reach()
2130 if (!ND_TTEST2(*tptr, 1)) in isis_print_extd_ip_reach()
[all …]
Dprint-ah.c54 if (!ND_TTEST2(*bp, sizeof(struct ah) + sumlen)) { in ah_print()
Dprint-atalk.c107 if (!ND_TTEST2(*bp, sizeof(*lp))) { in llap_print()
122 if (!ND_TTEST2(*bp, ddpSSize)) { in llap_print()
142 if (!ND_TTEST2(*bp, ddpSize)) { in llap_print()
192 if (!ND_TTEST2(*bp, ddpSize)) { in atalk_print()
Dprint-beep.c34 if (!ND_TTEST2(*str2, tl1)) { in l_strnstart()
Dprint-carp.c74 if (ND_TTEST2(bp[0], len) && in_cksum(vec, 1)) in carp_print()
Dprint-icmp.c562 if (ND_TTEST2(*bp, plen)) { in icmp_print()
604 ND_TTEST2(ext_dp->icmp_ext_version_res, plen - ICMP_EXTD_MINLEN)) { in icmp_print()
625 if (ND_TTEST2(ext_dp->icmp_ext_version_res, hlen)) { in icmp_print()
Dprint-gre.c372 if (!ND_TTEST2(*bp, 4)) in gre_sre_ip_print()
408 if (!ND_TTEST2(*bp, 2)) in gre_sre_asn_print()
Dprint-tcp.c373 if (ND_TTEST2(tp->th_sport, length)) { in tcp_print()
385 if (ND_TTEST2(tp->th_sport, length)) { in tcp_print()
731 length >= 4 && ND_TTEST2(*bp, 4)) { in tcp_print()
794 ND_PRINT((ndo, ND_TTEST2(*sp, length) ? " [RST" : " [!RST")); in print_tcp_rst_data()
Dprint-pgm.c427 if (!ND_TTEST2(*bp, PGM_MIN_OPT_LEN)) { in pgm_print()
460 if (!ND_TTEST2(*bp, 2)) { in pgm_print()
475 if (!ND_TTEST2(*bp, opt_len - 2)) { in pgm_print()
Dprint-arp.c269 if (!ND_TTEST2(*aar_tpa(ap), ATMTPROTO_LEN(ap))) { in atmarp_print()
388 if (!ND_TTEST2(*TPA(ap), PROTO_LEN(ap))) { in arp_print()
Dnetdissect.h307 #define ND_TTEST2(var, l) \ macro
313 #define ND_TTEST(var) ND_TTEST2(var, sizeof(var))
316 #define ND_TCHECK2(var, l) if (!ND_TTEST2(var, l)) goto trunc
Dprint-bootp.c614 while (ND_TTEST2(*bp, 1)) { in rfc1048_print()
645 while (ND_TTEST2(*bp, 1) && *bp == TAG_PAD) { in rfc1048_print()
653 if (!ND_TTEST2(*bp, len)) { in rfc1048_print()
Dprint-fr.c266 if (!ND_TTEST2(p[addr_len], 2) || length < addr_len + 2) { in fr_print()
1022 if (length < ielength || !ND_TTEST2(*p, ielength)) { in q933_print()
Dprint-igmp.c331 if (ndo->ndo_vflag && len >= 4 && ND_TTEST2(bp[0], len)) { in igmp_print()
Dprint-lisp.c369 if (!ND_TTEST2(*(packet_iterator + packet_offset), 24)) in lisp_print()
Dprint-icmp6.c665 ND_TTEST2(*opt,(opt->rpl_dio_len+2))) { in rpl_dio_printopt()
892 if (ND_TTEST2(bp[0], length)) { in icmp6_print()
1646 if (!ND_TTEST2(*dp, in icmp6_nodeinfo_print()
1675 if (!ND_TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr))) in icmp6_nodeinfo_print()
Dprint-udp.c545 } else if (ND_TTEST2(cp[0], length)) { in udp_print()
558 if (ND_TTEST2(cp[0], length)) { in udp_print()
Dprint-pim.c150 if (ND_TTEST2(bp[0], 30) && bp[11] == 1 && in pimv1_join_prune_print()
670 if (!ND_TTEST2(bp[0], len)) { in pimv2_check_checksum()
Dprint-wb.c206 if (ND_TTEST2(cp, len)) { in wb_id()

12