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

/haiku-fatelf/src/bin/network/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-vrrp.c113 if (TTEST2(bp[0], len) && in_cksum((const u_short*)bp, len, 0))
H A Dprint-ldp.c357 if (!TTEST2(*tptr, 11))
372 if (!TTEST2(*tptr, vc_info_len))
543 if (!TTEST2(*tptr, sizeof(struct ldp_msg_header)))
567 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.h123 #define TTEST2(var, l) (snapend - (l) <= snapend && \ macro
127 #define TTEST(var) TTEST2(var, sizeof(var))
130 #define TCHECK2(var, l) if (!TTEST2(var, l)) goto trunc
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.c575 } else if (TTEST2(cp[0], length)) {
587 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-icmp.c537 if (TTEST2(*bp, plen)) {
H A Dprint-rsvp.c588 if (!TTEST2(*tptr, sizeof(struct rsvp_object_header)))
633 if (!TTEST2(*tptr, rsvp_obj_len))
H A Dprint-bgp.c2042 if (!TTEST2(p[0], 1))
2049 if (!TTEST2(p[0], sizeof(marker)))
2070 if (TTEST2(p[0], hlen)) {
H A Dprint-nfs.c361 if (TTEST2(*dp, len * sizeof(*dp))) {

Completed in 82 milliseconds