Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-domain.c61 if (!TTEST2(*cp, 1)) in ns_nskip()
72 if (!TTEST2(*cp, 1)) in ns_nskip()
80 if (!TTEST2(*cp, 1)) in ns_nskip()
95 if (!TTEST2(*cp, 1)) in blabel_print()
129 if (!TTEST2(*cp, 1)) in labellen()
138 if (!TTEST2(*(cp + 1), 1)) in labellen()
159 if (!TTEST2(*cp, 1)) in ns_nprint()
174 if (!TTEST2(*cp, 1)) in ns_nprint()
179 if (!TTEST2(*cp, 1)) in ns_nprint()
218 if (!TTEST2(*cp, 1)) in ns_nprint()
[all …]
Dprint-isoclns.c1370 if (!TTEST2(*tptr,subl)) in isis_print_ip_reach_subtlv()
1429 if (!TTEST2(*tptr,subl)) in isis_print_is_reach_subtlv()
1547 if (!TTEST2(*tptr, NODE_ID_LEN)) in isis_print_ext_is_reach()
1554 if (!TTEST2(*tptr, 3)) /* and is therefore skipped */ in isis_print_ext_is_reach()
1560 if (!TTEST2(*tptr, 1)) in isis_print_ext_is_reach()
1568 if (!TTEST2(*tptr,2)) in isis_print_ext_is_reach()
1592 if (!TTEST2(*tptr, 2)) in isis_print_mtid()
1626 if (!TTEST2(*tptr, 4)) in isis_print_extd_ip_reach()
1633 if (!TTEST2(*tptr, 1)) /* fetch status byte */ in isis_print_extd_ip_reach()
1646 if (!TTEST2(*tptr, 1)) /* fetch status & prefix_len byte */ in isis_print_extd_ip_reach()
[all …]
Dprint-syslog.c97 if (!TTEST2(*pptr, 1)) in syslog_print()
103 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
110 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
116 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
149 if (!TTEST2(*(pptr+msg_off), 1)) in syslog_print()
Dprint-802_11.c145 if (!TTEST2(*p, IEEE802_11_IV_LEN + IEEE802_11_KID_LEN)) in wep_print()
169 if (!TTEST2(*(p + offset), 1)) in parse_elements()
175 if (!TTEST2(*(p + offset), 2)) in parse_elements()
183 if (!TTEST2(*(p + offset), pbody->ssid.length)) in parse_elements()
196 if (!TTEST2(*(p + offset), 2)) in parse_elements()
204 if (!TTEST2(*(p + offset), pbody->challenge.length)) in parse_elements()
217 if (!TTEST2(*(p + offset), 2)) in parse_elements()
224 if (!TTEST2(*(p + offset), pbody->rates.length)) in parse_elements()
236 if (!TTEST2(*(p + offset), 3)) in parse_elements()
246 if (!TTEST2(*(p + offset), 8)) in parse_elements()
[all …]
Dprint-olsr.c227 if (!TTEST2(*tptr, sizeof(struct olsr_common))) { in olsr_print()
249 if (!TTEST2(*tptr, sizeof(struct olsr_msg))) in olsr_print()
278 if (!TTEST2(*msg_data, sizeof(struct olsr_hello))) in olsr_print()
292 if (!TTEST2(*msg_data, sizeof(struct olsr_hello_link))) in olsr_print()
323 if (!TTEST2(*msg_data, sizeof(struct olsr_tc))) in olsr_print()
340 if (!TTEST2(*msg_data, sizeof(struct in_addr))) in olsr_print()
354 if (!TTEST2(*msg_data, sizeof(struct olsr_hna))) in olsr_print()
Dprint-cdp.c101 if (!TTEST2(*tptr, CDP_HEADER_LEN)) in cdp_print()
110 if (!TTEST2(*tptr, 4)) /* read out Type and Length */ in cdp_print()
117 if (!TTEST2(*tptr, len)) in cdp_print()
Dprint-ldp.c354 if (!TTEST2(*tptr, 11)) in ldp_tlv_print()
369 if (!TTEST2(*tptr, vc_info_len)) in ldp_tlv_print()
540 if (!TTEST2(*tptr, sizeof(struct ldp_msg_header))) in ldp_msg_print()
564 if (!TTEST2(*tptr, msg_len)) in ldp_msg_print()
Dprint-lspping.c570 if (!TTEST2(*tptr, sizeof(struct lspping_tlv_header))) in lspping_print()
596 if (!TTEST2(*tptr, lspping_tlv_len)) in lspping_print()
605 if (!TTEST2(*tptr, sizeof(struct lspping_tlv_header))) in lspping_print()
838 if (!TTEST2(*tptr, LSPPING_TLV_BFD_DISCRIMINATOR_LEN)) in lspping_print()
Dprint-vrrp.c113 if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0)) in vrrp_print()
Dinterface.h127 #define TTEST2(var, l) (snapend - (l) <= snapend && \ macro
131 #define TTEST(var) TTEST2(var, sizeof(var))
134 #define TCHECK2(var, l) if (!TTEST2(var, l)) goto trunc
Dprint-bootp.c381 while (TTEST2(*bp, 1)) { in rfc1048_print()
412 while (TTEST2(*bp, 1) && *bp == TAG_PAD) { in rfc1048_print()
420 if (!TTEST2(*bp, len)) { in rfc1048_print()
Dprint-pim.c130 if (TTEST2(bp[0], 30) && bp[11] == 1 && in pimv1_join_prune_print()
642 TTEST2(bp[0], len) && in pimv2_print()
750 if (!TTEST2(*(bp+4), PIMV2_REGISTER_FLAG_LEN)) in pimv2_print()
Dprint-chdlc.c183 if (!TTEST2(*cp, 4)) in chdlc_slarp_print()
Dprint-tcp.c425 if (TTEST2(tp->th_sport, length)) { in tcp_print()
439 if (TTEST2(tp->th_sport, length)) { in tcp_print()
717 if (TTEST2(*sp, length)) in print_tcp_rst_data()
Dprint-lmp.c414 if (!TTEST2(*tptr, sizeof(struct lmp_object_header))) in lmp_print()
440 if (!TTEST2(*tptr, lmp_obj_len)) in lmp_print()
Dprint-pgm.c463 if (!TTEST2(*bp, PGM_MIN_OPT_LEN)) { in pgm_print()
507 if (!TTEST2(*bp, opt_len - 2)) { in pgm_print()
Dprint-egp.c225 if (!TTEST2(*egp, length)) { in egp_print()
Dprint-igmp.c328 if (vflag && TTEST2(bp[0], len)) { in igmp_print()
Dprint-udp.c576 } else if (TTEST2(cp[0], length)) { in udp_print()
588 if (TTEST2(cp[0], length)) { in udp_print()
Dprint-icmp6.c257 if (TTEST2(bp[0], length)) { in icmp6_print()
983 if (!TTEST2(*dp, in icmp6_nodeinfo_print()
1012 if (!TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr))) in icmp6_nodeinfo_print()
Dprint-bgp.c2032 if (!TTEST2(p[0], 1)) in bgp_print()
2039 if (!TTEST2(p[0], sizeof(marker))) in bgp_print()
2060 if (TTEST2(p[0], hlen)) { in bgp_print()
Dprint-rsvp.c638 if (!TTEST2(*tptr, sizeof(struct rsvp_object_header))) in rsvp_obj_print()
683 if (!TTEST2(*tptr, rsvp_obj_len)) in rsvp_obj_print()
Dprint-icmp.c563 if (TTEST2(*bp, plen)) { in icmp_print()
Dprint-nfs.c435 if (TTEST2(*dp, len * sizeof(*dp))) { in parsefh()