Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-domain.c57 if (!ND_TTEST2(*cp, 1)) in ns_nskip()
68 if (!ND_TTEST2(*cp, 1)) in ns_nskip()
76 if (!ND_TTEST2(*cp, 1)) in ns_nskip()
92 if (!ND_TTEST2(*cp, 1)) in blabel_print()
127 if (!ND_TTEST2(*cp, 1)) in labellen()
136 if (!ND_TTEST2(*(cp + 1), 1)) in labellen()
158 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
173 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
178 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
217 if (!ND_TTEST2(*cp, 1)) in ns_nprint()
[all …]
Dprint-isoclns.c1341 if (!ND_TTEST2(*(tptr), ISIS_SUBTLV_SPB_MCID_MIN_LEN)) in isis_print_mt_port_cap_subtlv()
1365 if (!ND_TTEST2(*(tptr), ISIS_SUBTLV_SPB_DIGEST_MIN_LEN)) in isis_print_mt_port_cap_subtlv()
1391 if (!ND_TTEST2(*(tptr), stlv_len)) in isis_print_mt_port_cap_subtlv()
1396 if (!ND_TTEST2(*(tptr), ISIS_SUBTLV_SPB_BVID_MIN_LEN)) in isis_print_mt_port_cap_subtlv()
1451 if (!ND_TTEST2(*(tptr), ISIS_SUBTLV_SPB_INSTANCE_MIN_LEN)) in isis_print_mt_capability_subtlv()
1477 if (!ND_TTEST2(*(tptr), ISIS_SUBTLV_SPB_INSTANCE_VLAN_TUPLE_LEN)) in isis_print_mt_capability_subtlv()
1503 if (!ND_TTEST2(*(tptr), 6)) in isis_print_mt_capability_subtlv()
1668 if (!ND_TTEST2(*tptr,subl)) in isis_print_ip_reach_subtlv()
1724 if (!ND_TTEST2(*tptr,subl)) in isis_print_is_reach_subtlv()
1877 if (!ND_TTEST2(*tptr, NODE_ID_LEN)) in isis_print_ext_is_reach()
[all …]
Dprint-802_11.c1282 if (!ND_TTEST2(*p, IEEE802_11_IV_LEN + IEEE802_11_KID_LEN)) in wep_print()
1317 if (!ND_TTEST2(*(p + offset), 2)) in parse_elements()
1324 if (!ND_TTEST2(*(p + offset + 2), elementlen)) in parse_elements()
1337 if (!ND_TTEST2(*(p + offset), ssid.length)) in parse_elements()
1366 if (!ND_TTEST2(*(p + offset), challenge.length)) in parse_elements()
1395 if (!ND_TTEST2(*(p + offset), rates.length)) in parse_elements()
1532 if (!ND_TTEST2(*p, IEEE802_11_TSTAMP_LEN + IEEE802_11_BCNINT_LEN + in handle_beacon()
1569 if (!ND_TTEST2(*p, IEEE802_11_CAPINFO_LEN + IEEE802_11_LISTENINT_LEN)) in handle_assoc_request()
1597 if (!ND_TTEST2(*p, IEEE802_11_CAPINFO_LEN + IEEE802_11_STATUS_LEN + in handle_assoc_response()
1634 if (!ND_TTEST2(*p, IEEE802_11_CAPINFO_LEN + IEEE802_11_LISTENINT_LEN + in handle_reassoc_request()
[all …]
Dprint-vrrp.c139 if (version == 2 && ND_TTEST2(bp[0], len)) { in vrrp_print()
149 if (version == 3 && ND_TTEST2(bp[0], len)) { in vrrp_print()
Dprint-carp.c73 if (ND_TTEST2(bp[0], len) && in_cksum(vec, 1)) in carp_print()
Dprint-tcp.c378 if (ND_TTEST2(tp->th_sport, length)) {
392 if (ND_TTEST2(tp->th_sport, length)) {
724 length >= 4 && ND_TTEST2(*bp, 4)) {
787 ND_PRINT((ndo, ND_TTEST2(*sp, length) ? " [RST" : " [!RST"));
Dprint-geonet.c90 if (!ND_TTEST2(*(bp+12), 8)) in print_long_pos_vector()
Dprint-arp.c210 if (!ND_TTEST2(*aar_tpa(ap), ATMTPROTO_LEN(ap))) { in atmarp_print()
324 if (!ND_TTEST2(*ar_tpa(ap), PROTO_LEN(ap))) { in arp_print()
Dnetdissect.h273 #define ND_TTEST2(var, l) \ macro
279 #define ND_TTEST(var) ND_TTEST2(var, sizeof(var))
282 #define ND_TCHECK2(var, l) if (!ND_TTEST2(var, l)) goto trunc
Dprint-bootp.c608 while (ND_TTEST2(*bp, 1)) { in rfc1048_print()
639 while (ND_TTEST2(*bp, 1) && *bp == TAG_PAD) { in rfc1048_print()
647 if (!ND_TTEST2(*bp, len)) { in rfc1048_print()
Dprint-pgm.c469 if (!ND_TTEST2(*bp, PGM_MIN_OPT_LEN)) { in pgm_print()
513 if (!ND_TTEST2(*bp, opt_len - 2)) { in pgm_print()
Dprint-egp.c219 if (!ND_TTEST2(*egp, length)) { in egp_print()
Dprint-udp.c537 } else if (ND_TTEST2(cp[0], length)) { in udp_print()
551 if (ND_TTEST2(cp[0], length)) { in udp_print()
Dprint-igmp.c330 if (ndo->ndo_vflag && ND_TTEST2(bp[0], len)) { in igmp_print()
Dprint-icmp6.c682 ND_TTEST2(*opt,(opt->rpl_dio_len+2))) { in rpl_dio_printopt()
911 if (ND_TTEST2(bp[0], length)) { in icmp6_print()
1663 if (!ND_TTEST2(*dp, in icmp6_nodeinfo_print()
1692 if (!ND_TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr))) in icmp6_nodeinfo_print()
Dprint-pim.c147 if (ND_TTEST2(bp[0], 30) && bp[11] == 1 && in pimv1_join_prune_print()
645 ND_PRINT((ndo, "(%scorrect)", ND_TTEST2(bp[0], len) && cksum ? "in" : "" )); in pimv2_print()
Dprint-wb.c205 if (ND_TTEST2(cp, len)) { in wb_id()
Dprint-olsr.c245 if (!ND_TTEST2(*msg_data, sizeof(struct in_addr))) in olsr_print_neighbor()
Dprint-dccp.c349 if (ndo->ndo_vflag && ND_TTEST2(bp[0], len)) { in dccp_print()
Dprint-icmp.c561 if (ND_TTEST2(*bp, plen)) { in icmp_print()
Dprint-fr.c265 if (!ND_TTEST2(p[addr_len], 2) || length < addr_len + 2) { in fr_print()
Dprint-bgp.c2729 if (!ND_TTEST2(p[0], 1)) in bgp_print()
2736 if (!ND_TTEST2(p[0], sizeof(marker))) in bgp_print()
2757 if (ND_TTEST2(p[0], hlen)) { in bgp_print()
Dprint-rsvp.c705 if (!ND_TTEST2(*tptr, rsvp_obj_len)) in rsvp_obj_print()
Dprint-nfs.c471 if (ND_TTEST2(*dp, len * sizeof(*dp))) { in parsefh()