Home
last modified time | relevance | path

Searched refs:TCHECK2 (Results 1 – 25 of 56) sorted by relevance

123

/external/tcpdump/
Dprint-openflow-1.0.c620 TCHECK2(*cp, len); in of10_data_print()
636 TCHECK2(*cp, 4); in of10_vendor_data_print()
644 TCHECK2(*cp, len); in of10_vendor_data_print()
659 TCHECK2(*cp, len); in of10_packet_data_print()
681 TCHECK2(*cp, 2); in of10_phy_ports_print()
685 TCHECK2(*cp, OFP_ETH_ALEN); in of10_phy_ports_print()
689 TCHECK2(*cp, OFP_MAX_PORT_NAME_LEN); in of10_phy_ports_print()
696 TCHECK2(*cp, 24); in of10_phy_ports_print()
701 TCHECK2(*cp, 4); in of10_phy_ports_print()
706 TCHECK2(*cp, 4); in of10_phy_ports_print()
[all …]
Dprint-bgp.c503 TCHECK2(pptr[1], plenbytes); in decode_prefix4()
527 TCHECK2(pptr[0], 4); in decode_labeled_prefix4()
550 TCHECK2(pptr[4], plenbytes); in decode_labeled_prefix4()
587 TCHECK2(pptr[0], sizeof(struct in_addr)); in bgp_vpn_ip_print()
592 TCHECK2(pptr[0], sizeof(struct in6_addr)); in bgp_vpn_ip_print()
634 TCHECK2(pptr[0], 1); in bgp_vpn_sg_print()
638 TCHECK2(pptr[0], (addr_length >> 3)); in bgp_vpn_sg_print()
648 TCHECK2(pptr[0], 1); in bgp_vpn_sg_print()
652 TCHECK2(pptr[0], (addr_length >> 3)); in bgp_vpn_sg_print()
730 TCHECK2(pptr[1], (plen + 7) / 8); in decode_rt_routing_info()
[all …]
Dsmbutil.c139 TCHECK2(*in, 1); in name_interpret()
148 TCHECK2(*in, 2); in name_interpret()
180 TCHECK2(*p, 1); in name_ptr()
188 TCHECK2(*p, 2); in name_ptr()
199 TCHECK2(*p, 1); in name_ptr()
232 TCHECK2(*s, 1); in name_len()
239 TCHECK2(*s, 1); in name_len()
373 TCHECK2(sp[0], 2); in unistr()
405 TCHECK2(s[0], 2); in unistr()
448 TCHECK2(buf[0], 2); in smb_fdata1()
[all …]
Dprint-rx.c669 TCHECK2(bp[0], sizeof(int32_t) * 3); \
680 TCHECK2(bp[0], sizeof(int32_t)); \
693 TCHECK2(bp[0], sizeof(int32_t)); \
700 TCHECK2(bp[0], sizeof(int32_t)); \
707 TCHECK2(bp[0], sizeof(u_int64_t)); \
714 TCHECK2(bp[0], sizeof(int32_t)); \
723 TCHECK2(bp[0], (sizeof(int32_t)*6)); \
741 TCHECK2(bp[0], sizeof(int32_t) * 2); \
750 TCHECK2(bp[0], 11*sizeof(u_int32_t)); \
776 TCHECK2(bp[0], (MAX) * sizeof(int32_t)); \
[all …]
Dprint-ppp.c439 TCHECK2(*tptr, 2); in handle_ctrl_proto()
455 TCHECK2(*tptr, 2); in handle_ctrl_proto()
469 TCHECK2(*tptr, 4); in handle_ctrl_proto()
472 TCHECK2(*tptr, 3); in handle_ctrl_proto()
529 TCHECK2(*tptr, 2); in handle_ctrl_proto()
544 TCHECK2(*tptr, 4); in handle_ctrl_proto()
549 TCHECK2(tptr[4], len-8); in handle_ctrl_proto()
556 TCHECK2(*tptr, 4); in handle_ctrl_proto()
567 TCHECK2(*tptr, 4); in handle_ctrl_proto()
569 TCHECK2(*(tptr + 4), 4); in handle_ctrl_proto()
[all …]
Dprint-openflow.c62 TCHECK2(*cp, 1); in of_header_body_print()
66 TCHECK2(*cp, 1); in of_header_body_print()
70 TCHECK2(*cp, 2); in of_header_body_print()
74 TCHECK2(*cp, 4); in of_header_body_print()
93 TCHECK2(*cp, length - OF_HEADER_LEN); in of_header_body_print()
99 TCHECK2(*cp, ep - cp); in of_header_body_print()
Dprint-pim.c150 TCHECK2(bp[0], sizeof(struct in_addr)); in pimv1_join_prune_print()
154 TCHECK2(bp[6], 2); in pimv1_join_prune_print()
164 TCHECK2(bp[0], 4); in pimv1_join_prune_print()
173 TCHECK2(bp[0], sizeof(struct in_addr)); in pimv1_join_prune_print()
175 TCHECK2(bp[4], sizeof(struct in_addr)); in pimv1_join_prune_print()
178 TCHECK2(bp[8], 4); in pimv1_join_prune_print()
191 TCHECK2(bp[0], 6); in pimv1_join_prune_print()
240 TCHECK2(bp[10],2); in pimv1_print()
249 TCHECK2(bp[8], 20); /* ip header */ in pimv1_print()
255 TCHECK2(bp[12], sizeof(struct in_addr)); in pimv1_print()
[all …]
Dprint-dvmrp.c131 TCHECK2(bp[0], 4); in dvmrp_print()
181 TCHECK2(bp[0], 3); in print_report()
231 TCHECK2(bp[0], 4); in print_probe()
249 TCHECK2(bp[0], 4); in print_probe()
268 TCHECK2(bp[0], 7); in print_neighbors()
276 TCHECK2(bp[0], 4); in print_neighbors()
302 TCHECK2(bp[0], 8); in print_neighbors2()
341 TCHECK2(bp[0], 12); in print_prune()
354 TCHECK2(bp[0], 8); in print_graft()
364 TCHECK2(bp[0], 8); in print_graft_ack()
Dprint-igmp.c164 TCHECK2(bp[6], 2); in print_igmpv3_report()
175 TCHECK2(bp[group+4], 4); in print_igmpv3_report()
191 TCHECK2(bp[group+8+(j<<2)], 4); in print_igmpv3_report()
237 TCHECK2(bp[4], 4); in print_igmpv3_query()
241 TCHECK2(bp[10], 2); in print_igmpv3_query()
249 TCHECK2(bp[12+(i<<2)], 4); in print_igmpv3_query()
287 TCHECK2(bp[4], 4); in igmp_print()
295 TCHECK2(bp[4], 4); in igmp_print()
301 TCHECK2(bp[4], 4); in igmp_print()
309 TCHECK2(bp[4], 4); in igmp_print()
Dprint-radius.c452 TCHECK2(data[0],length); in print_attr_string()
513 TCHECK2(*data, 4); in print_vendor_attr()
523 TCHECK2(*data, 2); in print_vendor_attr()
545 TCHECK2(*data, vendor_length); in print_vendor_attr()
581 TCHECK2(data[0],4); in print_attr_num()
694 TCHECK2(data[0],4); in print_attr_address()
740 TCHECK2(data[0],4); in print_attr_time()
774 TCHECK2(data[0],8); in print_attr_strange()
778 TCHECK2(data[0],8); in print_attr_strange()
790 TCHECK2(data[0],1); in print_attr_strange()
[all …]
Dprint-mobility.c215 TCHECK2(*mh, hlen + 8); in mobility_print()
231 TCHECK2(*mh, hlen + 8); in mobility_print()
239 TCHECK2(*mh, hlen + 8); in mobility_print()
252 TCHECK2(*mh, hlen + 1); in mobility_print()
267 TCHECK2(*mh, hlen + 2); in mobility_print()
280 TCHECK2(*mh, hlen + 2); in mobility_print()
283 TCHECK2(*mh, hlen + 2); in mobility_print()
294 TCHECK2(*mh, hlen + 16); in mobility_print()
Dprint-cdp.c260 TCHECK2(*p, 2); in cdp_print_addr()
265 TCHECK2(*p, 2); in cdp_print_addr()
272 TCHECK2(p[pl], 2); in cdp_print_addr()
285 TCHECK2(*p, 4); in cdp_print_addr()
303 TCHECK2(*p, al); in cdp_print_addr()
317 TCHECK2(*p, pl); in cdp_print_addr()
323 TCHECK2(*p, 2); in cdp_print_addr()
329 TCHECK2(*p, al); in cdp_print_addr()
Dprint-zeromq.c83 TCHECK2(*cp, 1); /* length/0xFF */ in zmtp1_print_frame()
91 TCHECK2(*cp, header_len + 1); /* length, flags */ in zmtp1_print_frame()
96 TCHECK2(*cp, header_len); /* 0xFF, length */ in zmtp1_print_frame()
101 TCHECK2(*cp, header_len + 1); /* 0xFF, length, flags */ in zmtp1_print_frame()
132 TCHECK2(*cp, header_len + body_len_declared); /* Next frame within the buffer ? */ in zmtp1_print_frame()
170 TCHECK2(*cp, 2); in zmtp1_print_intermediate_part()
Dprint-syslog.c96 TCHECK2(*pptr, 1); in syslog_print()
99 TCHECK2(*(pptr+msg_off), 1); in syslog_print()
105 TCHECK2(*(pptr+msg_off), 1); in syslog_print()
138 TCHECK2(*(pptr+msg_off), 1); in syslog_print()
Dprint-egp.c168 TCHECK2(cp[0], 4 - netlen); in egpnrprint()
181 TCHECK2(cp[0], 1); in egpnrprint()
190 TCHECK2(cp[0], 2); in egpnrprint()
196 TCHECK2(cp[0], 1); in egpnrprint()
199 TCHECK2(cp[0], 1); in egpnrprint()
202 TCHECK2(cp[0], 2); in egpnrprint()
Dprint-pgm.c275 TCHECK2(*bp, addr_size); in pgm_print()
322 TCHECK2(*bp, addr_size); in pgm_print()
328 TCHECK2(*bp, sizeof(u_int32_t)); in pgm_print()
332 TCHECK2(*bp, sizeof(u_int32_t)); in pgm_print()
336 TCHECK2(*bp, sizeof(u_int32_t)); in pgm_print()
404 TCHECK2(*bp, addr_size); in pgm_print()
428 TCHECK2(*bp, addr_size); in pgm_print()
565 TCHECK2(*bp, sizeof(u_int32_t)); in pgm_print()
635 TCHECK2(*bp, addr_size); in pgm_print()
766 TCHECK2(*bp, addr_size); in pgm_print()
[all …]
Dprint-msdp.c43 TCHECK2(*sp, 3); in msdp_print()
51 TCHECK2(*sp, 3); in msdp_print()
80 TCHECK2(*sp, 5); in msdp_print()
Dprint-ospf.c202 TCHECK2(*tptr, 4); in ospf_print_grace_lsa()
228 TCHECK2(*tptr, tlv_length); in ospf_print_grace_lsa()
288 TCHECK2(*tptr, 4); in ospf_print_te_lsa()
322 TCHECK2(*tptr, 4); in ospf_print_te_lsa()
333 TCHECK2(*tptr, subtlv_length); in ospf_print_te_lsa()
439 TCHECK2(*tptr, 4); in ospf_print_te_lsa()
750 TCHECK2(*tptr, 4); in ospf_print_lsa()
770 TCHECK2(*tptr, tlv_length); in ospf_print_lsa()
869 TCHECK2(*dptr, 2); in ospf_decode_lls()
873 TCHECK2(*dptr, 2); in ospf_decode_lls()
[all …]
Dprint-l2tp.c480 TCHECK2(*ptr, len); in l2tp_avp_print()
617 TCHECK2(*ptr, 2); /* Flags & Version */ in l2tp_print()
653 TCHECK2(*ptr, 2); /* Length */ in l2tp_print()
661 TCHECK2(*ptr, 2); /* Tunnel ID */ in l2tp_print()
665 TCHECK2(*ptr, 2); /* Session ID */ in l2tp_print()
671 TCHECK2(*ptr, 2); /* Ns */ in l2tp_print()
675 TCHECK2(*ptr, 2); /* Nr */ in l2tp_print()
682 TCHECK2(*ptr, 2); /* Offset Size */ in l2tp_print()
Dprint-igrp.c108 TCHECK2(*cp, IGRP_RTE_SIZE); in igrp_print()
112 TCHECK2(*cp, IGRP_RTE_SIZE); in igrp_print()
116 TCHECK2(*cp, IGRP_RTE_SIZE); in igrp_print()
Dprint-pppoe.c116 TCHECK2(*pppoe_packet, PPPOE_HDRLEN); in pppoe_print()
154 TCHECK2(*p, 4); in pppoe_print()
167 TCHECK2(*p, tag_len); in pppoe_print()
Dprint-smb.c116 TCHECK2(*param, 2); in trans2_qfsinfo()
184 TCHECK2(w[14 * 2], 2); in print_trans2()
196 TCHECK2(w[7 * 2], 2); in print_trans2()
226 TCHECK2(*dat, 2); in print_trans2()
345 TCHECK2(w[12 * 2], 2); in print_trans()
355 TCHECK2(w[7 * 2], 2); in print_trans()
369 TCHECK2(*data1, 2); in print_trans()
422 TCHECK2(*data, 2); in print_negprot()
466 TCHECK2(*data, 2); in print_sesssetup()
506 TCHECK2(*data, 2); in print_lockingandx()
[all …]
Dprint-fr.c221 TCHECK2(*p, 4); /* minimum frame header length */ in fr_if_print()
247 TCHECK2(*p,addr_len+1+1); in fr_print()
249 TCHECK2(*p,hdr_len); in fr_print()
343 TCHECK2(*p, 2); /* minimum frame header length */ in mfr_if_print()
420 TCHECK2(*p, 4); /* minimum frame header length */ in mfr_print()
435 TCHECK2(*tptr, sizeof(struct ie_tlv_header_t)); in mfr_print()
448 TCHECK2(*tptr,ie_len); in mfr_print()
Dprint-ldp.c242 TCHECK2(*tptr, minlen); if (tlv_tlen < minlen) goto badtlv;
311 TCHECK2(*tptr, sizeof(struct in_addr)); in ldp_tlv_print()
320 TCHECK2(*tptr, sizeof(struct in6_addr)); in ldp_tlv_print()
604 TCHECK2(*tptr, sizeof(struct ldp_msg_header)); in ldp_msg_print()
627 TCHECK2(*tptr, msg_len); in ldp_msg_print()
Dprint-babel.c48 TCHECK2(*cp, 4); in babel_print()
309 TCHECK2(*cp, 4); in babel_print_v2()
323 TCHECK2(*message, 1); in babel_print_v2()
330 TCHECK2(*message, 2); in babel_print_v2()
334 TCHECK2(*message, 2 + len); in babel_print_v2()

123