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

/external/tcpdump/
H A Dprint-syslog.c97 if (!TTEST2(*pptr, 1))
103 if (!TTEST2(*(pptr+msg_off), 1))
110 if (!TTEST2(*(pptr+msg_off), 1))
116 if (!TTEST2(*(pptr+msg_off), 1))
149 if (!TTEST2(*(pptr+msg_off), 1))
H A Dprint-domain.c61 if (!TTEST2(*cp, 1))
72 if (!TTEST2(*cp, 1))
80 if (!TTEST2(*cp, 1))
95 if (!TTEST2(*cp, 1))
129 if (!TTEST2(*cp, 1))
138 if (!TTEST2(*(cp + 1), 1))
159 if (!TTEST2(*cp, 1))
174 if (!TTEST2(*cp, 1))
179 if (!TTEST2(*cp, 1))
218 if (!TTEST2(*c
[all...]
H A Dprint-802_11.c145 if (!TTEST2(*p, IEEE802_11_IV_LEN + IEEE802_11_KID_LEN))
169 if (!TTEST2(*(p + offset), 1))
175 if (!TTEST2(*(p + offset), 2))
183 if (!TTEST2(*(p + offset), pbody->ssid.length))
196 if (!TTEST2(*(p + offset), 2))
204 if (!TTEST2(*(p + offset), pbody->challenge.length))
217 if (!TTEST2(*(p + offset), 2))
224 if (!TTEST2(*(p + offset), pbody->rates.length))
236 if (!TTEST2(*(p + offset), 3))
246 if (!TTEST2(*(
[all...]
H A Dprint-isoclns.c1370 if (!TTEST2(*tptr,subl))
1429 if (!TTEST2(*tptr,subl))
1547 if (!TTEST2(*tptr, NODE_ID_LEN))
1554 if (!TTEST2(*tptr, 3)) /* and is therefore skipped */
1560 if (!TTEST2(*tptr, 1))
1568 if (!TTEST2(*tptr,2))
1592 if (!TTEST2(*tptr, 2))
1626 if (!TTEST2(*tptr, 4))
1633 if (!TTEST2(*tptr, 1)) /* fetch status byte */
1646 if (!TTEST2(*tpt
[all...]
H A Dprint-olsr.c227 if (!TTEST2(*tptr, sizeof(struct olsr_common))) {
249 if (!TTEST2(*tptr, sizeof(struct olsr_msg)))
278 if (!TTEST2(*msg_data, sizeof(struct olsr_hello)))
292 if (!TTEST2(*msg_data, sizeof(struct olsr_hello_link)))
323 if (!TTEST2(*msg_data, sizeof(struct olsr_tc)))
340 if (!TTEST2(*msg_data, sizeof(struct in_addr)))
354 if (!TTEST2(*msg_data, sizeof(struct olsr_hna)))
H A Dprint-vrrp.c113 if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0))
H A Dprint-ldp.c354 if (!TTEST2(*tptr, 11))
369 if (!TTEST2(*tptr, vc_info_len))
540 if (!TTEST2(*tptr, sizeof(struct ldp_msg_header)))
564 if (!TTEST2(*tptr, msg_len))
H A Dprint-cdp.c101 if (!TTEST2(*tptr, CDP_HEADER_LEN))
110 if (!TTEST2(*tptr, 4)) /* read out Type and Length */
117 if (!TTEST2(*tptr, len))
H A Dprint-lspping.c570 if (!TTEST2(*tptr, sizeof(struct lspping_tlv_header)))
596 if (!TTEST2(*tptr, lspping_tlv_len))
605 if (!TTEST2(*tptr, sizeof(struct lspping_tlv_header)))
838 if (!TTEST2(*tptr, LSPPING_TLV_BFD_DISCRIMINATOR_LEN))
H A 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
H A Dprint-bootp.c381 while (TTEST2(*bp, 1)) {
412 while (TTEST2(*bp, 1) && *bp == TAG_PAD) {
420 if (!TTEST2(*bp, len)) {
H A Dprint-chdlc.c183 if (!TTEST2(*cp, 4))
H A Dprint-pim.c130 if (TTEST2(bp[0], 30) && bp[11] == 1 &&
642 TTEST2(bp[0], len) &&
750 if (!TTEST2(*(bp+4), PIMV2_REGISTER_FLAG_LEN))
H A Dprint-tcp.c425 if (TTEST2(tp->th_sport, length)) {
439 if (TTEST2(tp->th_sport, length)) {
717 if (TTEST2(*sp, length))
H A Dprint-lmp.c414 if (!TTEST2(*tptr, sizeof(struct lmp_object_header)))
440 if (!TTEST2(*tptr, lmp_obj_len))
H A Dprint-pgm.c463 if (!TTEST2(*bp, PGM_MIN_OPT_LEN)) {
507 if (!TTEST2(*bp, opt_len - 2)) {
H A Dprint-egp.c225 if (!TTEST2(*egp, length)) {
H A Dprint-igmp.c328 if (vflag && TTEST2(bp[0], len)) {
H A Dprint-udp.c576 } else if (TTEST2(cp[0], length)) {
588 if (TTEST2(cp[0], length)) {
H A Dprint-icmp6.c257 if (TTEST2(bp[0], length)) {
983 if (!TTEST2(*dp,
1012 if (!TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr)))
H A Dprint-bgp.c2032 if (!TTEST2(p[0], 1))
2039 if (!TTEST2(p[0], sizeof(marker)))
2060 if (TTEST2(p[0], hlen)) {
H A Dprint-icmp.c563 if (TTEST2(*bp, plen)) {
H A Dprint-rsvp.c638 if (!TTEST2(*tptr, sizeof(struct rsvp_object_header)))
683 if (!TTEST2(*tptr, rsvp_obj_len))
H A Dprint-nfs.c435 if (TTEST2(*dp, len * sizeof(*dp))) {

Completed in 102 milliseconds