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

12

/external/tcpdump/
H A Dprint-mpcp.c154 if (!TTEST2(*tptr, sizeof(const struct mpcp_common_header_t)))
173 if (!TTEST2(*tptr, MPCP_GRANT_NUMBER_LEN))
184 if (!TTEST2(*tptr, sizeof(const struct mpcp_grant_t)))
194 if (!TTEST2(*tptr, MPCP_TIMESTAMP_DURATION_LEN))
201 if (!TTEST2(*tptr, MPCP_REPORT_QUEUESETS_LEN))
208 if (!TTEST2(*tptr, MPCP_REPORT_REPORTBITMAP_LEN))
219 if (!TTEST2(*tptr, MPCP_TIMESTAMP_DURATION_LEN))
233 if (!TTEST2(*tptr, sizeof(const struct mpcp_reg_req_t)))
242 if (!TTEST2(*tptr, sizeof(const struct mpcp_reg_t)))
254 if (!TTEST2(*tpt
[all...]
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-isoclns.c1353 if (!TTEST2(*(tptr), ISIS_SUBTLV_SPB_MCID_MIN_LEN))
1377 if (!TTEST2(*(tptr), ISIS_SUBTLV_SPB_DIGEST_MIN_LEN))
1403 if (!TTEST2(*(tptr), stlv_len))
1408 if (!TTEST2(*(tptr), ISIS_SUBTLV_SPB_BVID_MIN_LEN))
1462 if (!TTEST2(*(tptr), ISIS_SUBTLV_SPB_INSTANCE_MIN_LEN))
1488 if (!TTEST2(*(tptr), ISIS_SUBTLV_SPB_INSTANCE_VLAN_TUPLE_LEN))
1514 if (!TTEST2(*(tptr), 6))
1680 if (!TTEST2(*tptr,subl))
1739 if (!TTEST2(*tptr,subl))
1893 if (!TTEST2(*tpt
[all...]
H A Dprint-dtp.c59 if (!TTEST2(*tptr, DTP_HEADER_LEN))
77 if (!TTEST2(*tptr, 4))
H A Dprint-802_11.c644 if (!TTEST2(*p, IEEE802_11_IV_LEN + IEEE802_11_KID_LEN))
677 if (!TTEST2(*(p + offset), 1))
683 if (!TTEST2(*(p + offset), 2))
693 if (!TTEST2(*(p + offset), ssid.length))
715 if (!TTEST2(*(p + offset), 2))
726 if (!TTEST2(*(p + offset), challenge.length))
749 if (!TTEST2(*(p + offset), 2))
759 if (!TTEST2(*(p + offset), rates.length))
789 if (!TTEST2(*(p + offset), 3))
809 if (!TTEST2(*(
[all...]
H A Dprint-carp.c76 if (TTEST2(bp[0], len) && in_cksum(vec, 1))
H A Dprint-olsr.c275 if (!TTEST2(*tptr, sizeof(struct olsr_common))) {
304 if (!TTEST2(*tptr, sizeof(struct olsr_msg4)))
367 if (!TTEST2(*msg_data, sizeof(struct olsr_hello)))
382 if (!TTEST2(*msg_data, sizeof(struct olsr_hello_link)))
426 if (!TTEST2(*msg_data, sizeof(struct olsr_tc)))
457 if (!TTEST2(*msg_data, addr_size))
481 if (!TTEST2(*msg_data, sizeof(struct olsr_hna6)))
499 if (!TTEST2(*msg_data, sizeof(struct olsr_hna4)))
538 if (!TTEST2(*msg_data, 4))
556 if (!TTEST2(*msg_dat
[all...]
H A Dprint-udld.c96 if (!TTEST2(*tptr, UDLD_HEADER_LEN))
122 if (!TTEST2(*tptr, 4))
H A Dprint-vtp.c135 if (!TTEST2(*tptr, VTP_HEADER_LEN))
245 if (!TTEST2(*tptr, len))
285 if (!TTEST2(*tptr, tlv_len*2 +2))
H A Dprint-lwapp.c184 if (!TTEST2(*tptr, 6))
233 if (!TTEST2(*tptr, sizeof(struct lwapp_control_header)))
248 if (!TTEST2(*tptr, msg_tlen))
307 if (!TTEST2(*tptr, 6))
H A Dprint-vrrp.c113 if (TTEST2(bp[0], 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.c579 if (!TTEST2(*tptr, sizeof(struct lspping_tlv_header)))
606 if (!TTEST2(*tptr, lspping_tlv_len))
615 if (!TTEST2(*tptr, sizeof(struct lspping_tlv_header)))
848 if (!TTEST2(*tptr, LSPPING_TLV_BFD_DISCRIMINATOR_LEN))
857 if (!TTEST2(*tptr, LSPPING_TLV_VENDOR_ENTERPRISE_LEN))
H A Dprint-vqp.c178 if (!TTEST2(*tptr, vqp_obj_len))
H A Dprint-bootp.c385 while (TTEST2(*bp, 1)) {
416 while (TTEST2(*bp, 1) && *bp == TAG_PAD) {
424 if (!TTEST2(*bp, len)) {
H A Dprint-chdlc.c183 if (!TTEST2(*cp, 4))
H A Dprint-eap.c205 if (!TTEST2(*tptr, len))
H A Dprint-tcp.c376 if (TTEST2(tp->th_sport, length)) {
390 if (TTEST2(tp->th_sport, length)) {
707 length >= 4 && TTEST2(*bp, 4)) {
769 if (TTEST2(*sp, length))
H A Dinterface.h121 #define TTEST2(var, l) (snapend - (l) <= snapend && \ macro
125 #define TTEST(var) TTEST2(var, sizeof(var))
128 #define TCHECK2(var, l) if (!TTEST2(var, l)) goto trunc
H A Dprint-pim.c128 if (TTEST2(bp[0], 30) && bp[11] == 1 &&
641 printf("(%scorrect)", TTEST2(bp[0], len) && cksum ? "in" : "" );
748 if (!TTEST2(*(bp+4), PIMV2_REGISTER_FLAG_LEN))
H A Dprint-lmp.c416 if (!TTEST2(*tptr, sizeof(struct lmp_object_header)))
442 if (!TTEST2(*tptr, lmp_obj_len))
H A Dprint-egp.c225 if (!TTEST2(*egp, length)) {
H A Dprint-igmp.c334 if (vflag && TTEST2(bp[0], len)) {
H A Dprint-pgm.c480 if (!TTEST2(*bp, PGM_MIN_OPT_LEN)) {
524 if (!TTEST2(*bp, opt_len - 2)) {
H A Dprint-udp.c543 } else if (TTEST2(cp[0], length)) {
557 if (TTEST2(cp[0], length)) {

Completed in 998 milliseconds

12