Home
last modified time | relevance | path

Searched refs:ND_TCHECK2 (Results 1 – 25 of 91) sorted by relevance

1234

/external/tcpdump/
Dprint-openflow-1.0.c745 ND_TCHECK2(*cp, len); in of10_data_print()
765 ND_TCHECK2(*cp, 4); in of10_bsn_message_print()
786 ND_TCHECK2(*cp, 1); in of10_bsn_message_print()
790 ND_TCHECK2(*cp, 7); in of10_bsn_message_print()
810 ND_TCHECK2(*cp, 1); in of10_bsn_message_print()
814 ND_TCHECK2(*cp, 3); in of10_bsn_message_print()
817 ND_TCHECK2(*cp, 4); in of10_bsn_message_print()
837 ND_TCHECK2(*cp, 1); in of10_bsn_message_print()
841 ND_TCHECK2(*cp, 3); in of10_bsn_message_print()
874 ND_TCHECK2(*cp, 4); in of10_bsn_message_print()
[all …]
Dprint-aoe.c151 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
155 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
159 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
163 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
167 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
171 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
175 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
179 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
183 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
187 ND_TCHECK2(*cp, 1); in aoev1_issue_print()
[all …]
Dprint-ahcp.c109 ND_TCHECK2(*cp, 4); in ahcp_time_print()
121 ND_TCHECK2(*cp, ep - cp); in ahcp_time_print()
133 ND_TCHECK2(*cp, 4); in ahcp_seconds_print()
139 ND_TCHECK2(*cp, ep - cp); in ahcp_seconds_print()
154 ND_TCHECK2(*cp, 16); in ahcp_ipv6_addresses_print()
163 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv6_addresses_print()
178 ND_TCHECK2(*cp, 4); in ahcp_ipv4_addresses_print()
187 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv4_addresses_print()
202 ND_TCHECK2(*cp, 17); in ahcp_ipv6_prefixes_print()
211 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv6_prefixes_print()
[all …]
Dprint-bgp.c545 ND_TCHECK2(pptr[1], plenbytes); in decode_prefix4()
570 ND_TCHECK2(pptr[0], 4); in decode_labeled_prefix4()
593 ND_TCHECK2(pptr[4], plenbytes); in decode_labeled_prefix4()
632 ND_TCHECK2(pptr[0], sizeof(struct in_addr)); in bgp_vpn_ip_print()
636 ND_TCHECK2(pptr[0], sizeof(struct in6_addr)); in bgp_vpn_ip_print()
678 ND_TCHECK2(pptr[0], 1); in bgp_vpn_sg_print()
682 ND_TCHECK2(pptr[0], (addr_length >> 3)); in bgp_vpn_sg_print()
692 ND_TCHECK2(pptr[0], 1); in bgp_vpn_sg_print()
696 ND_TCHECK2(pptr[0], (addr_length >> 3)); in bgp_vpn_sg_print()
792 ND_TCHECK2(pptr[5], (plen + 7) / 8); in decode_rt_routing_info()
[all …]
Dprint-loopback.c66 ND_TCHECK2(*cp, 2); in loopback_message_print()
76 ND_TCHECK2(*cp, 2); in loopback_message_print()
81 ND_TCHECK2(*cp, len - 4); in loopback_message_print()
87 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in loopback_message_print()
92 ND_TCHECK2(*cp, len - 8); in loopback_message_print()
95 ND_TCHECK2(*cp, len - 2); in loopback_message_print()
102 ND_TCHECK2(*cp, ep - cp); in loopback_message_print()
118 ND_TCHECK2(*cp, 2); in loopback_print()
131 ND_TCHECK2(*cp, ep - cp); in loopback_print()
Dsmbutil.c135 ND_TCHECK2(*in, 1); in name_interpret()
144 ND_TCHECK2(*in, 2); in name_interpret()
177 ND_TCHECK2(*p, 1); in name_ptr()
185 ND_TCHECK2(*p, 2); in name_ptr()
196 ND_TCHECK2(*p, 1); in name_ptr()
231 ND_TCHECK2(*s, 1); in name_len()
238 ND_TCHECK2(*s, 1); in name_len()
240 ND_TCHECK2(*s, 1); in name_len()
376 ND_TCHECK2(sp[0], 2); in unistr()
408 ND_TCHECK2(s[0], 2); in unistr()
[all …]
Dprint-mpcp.c143 ND_TCHECK2(*tptr, sizeof(const struct mpcp_common_header_t)); in mpcp_print()
161 ND_TCHECK2(*tptr, MPCP_GRANT_NUMBER_LEN); in mpcp_print()
171 ND_TCHECK2(*tptr, sizeof(const struct mpcp_grant_t)); in mpcp_print()
180 ND_TCHECK2(*tptr, MPCP_TIMESTAMP_DURATION_LEN); in mpcp_print()
186 ND_TCHECK2(*tptr, MPCP_REPORT_QUEUESETS_LEN); in mpcp_print()
192 ND_TCHECK2(*tptr, MPCP_REPORT_REPORTBITMAP_LEN); in mpcp_print()
202 ND_TCHECK2(*tptr, MPCP_TIMESTAMP_DURATION_LEN); in mpcp_print()
215 ND_TCHECK2(*tptr, sizeof(const struct mpcp_reg_req_t)); in mpcp_print()
223 ND_TCHECK2(*tptr, sizeof(const struct mpcp_reg_t)); in mpcp_print()
234 ND_TCHECK2(*tptr, sizeof(const struct mpcp_reg_ack_t)); in mpcp_print()
Dprint-cdp.c107 ND_TCHECK2(*tptr, CDP_HEADER_LEN); in cdp_print()
115 ND_TCHECK2(*tptr, CDP_TLV_HEADER_LEN); /* read out Type and Length */ in cdp_print()
134 ND_TCHECK2(*tptr, len); in cdp_print()
288 ND_TCHECK2(*p, 4); in cdp_print_addr()
295 ND_TCHECK2(*p, 2); in cdp_print_addr()
302 ND_TCHECK2(p[pl], 2); in cdp_print_addr()
315 ND_TCHECK2(*p, 4); in cdp_print_addr()
330 ND_TCHECK2(*p, al); in cdp_print_addr()
341 ND_TCHECK2(*p, pl); in cdp_print_addr()
347 ND_TCHECK2(*p, 2); in cdp_print_addr()
[all …]
Dprint-vtp.c131 ND_TCHECK2(*tptr, VTP_HEADER_LEN); in vtp_print()
183 ND_TCHECK2(*tptr, 8); in vtp_print()
188 ND_TCHECK2(*tptr, VTP_UPDATE_TIMESTAMP_LEN); in vtp_print()
194 ND_TCHECK2(*tptr, VTP_MD5_DIGEST_LEN); in vtp_print()
251 ND_TCHECK2(*tptr, len); in vtp_print()
267 ND_TCHECK2(*tptr, vtp_vlan->name_len); in vtp_print()
289 ND_TCHECK2(*tptr, 2); in vtp_print()
301 ND_TCHECK2(*tptr, tlv_len * 2 +2); in vtp_print()
379 ND_TCHECK2(*tptr, 4); in vtp_print()
Dprint-rx.c750 ND_TCHECK2(bp[0], sizeof(int32_t) * 3); \
761 ND_TCHECK2(bp[0], sizeof(int32_t)); \
774 ND_TCHECK2(bp[0], sizeof(int32_t)); \
781 ND_TCHECK2(bp[0], sizeof(int32_t)); \
788 ND_TCHECK2(bp[0], sizeof(uint64_t)); \
795 ND_TCHECK2(bp[0], sizeof(int32_t)); \
804 ND_TCHECK2(bp[0], (sizeof(int32_t)*6)); \
822 ND_TCHECK2(bp[0], sizeof(int32_t) * 2); \
831 ND_TCHECK2(bp[0], 11*sizeof(uint32_t)); \
857 ND_TCHECK2(bp[0], (MAX) * sizeof(int32_t)); \
[all …]
Dprint-isoclns.c825 ND_TCHECK2(*pptr, dest_address_length); in clnp_print()
842 ND_TCHECK2(*pptr, source_address_length); in clnp_print()
903 ND_TCHECK2(*pptr, 2); in clnp_print()
911 ND_TCHECK2(*pptr, opli); in clnp_print()
961 ND_TCHECK2(*source_address, source_address_length); in clnp_print()
1178 ND_TCHECK2(*pptr, dstl); in esis_print()
1196 ND_TCHECK2(*pptr, snpal); in esis_print()
1211 ND_TCHECK2(*pptr, netal); in esis_print()
1257 ND_TCHECK2(*pptr, source_address_length); in esis_print()
1281 ND_TCHECK2(*pptr, source_address_length); in esis_print()
[all …]
Dextract.h262 #define ND_TCHECK_8BITS(p) ND_TCHECK2(*(p), 1)
265 #define ND_TCHECK_16BITS(p) ND_TCHECK2(*(p), 2)
268 #define ND_TCHECK_24BITS(p) ND_TCHECK2(*(p), 3)
271 #define ND_TCHECK_32BITS(p) ND_TCHECK2(*(p), 4)
274 #define ND_TCHECK_40BITS(p) ND_TCHECK2(*(p), 5)
277 #define ND_TCHECK_48BITS(p) ND_TCHECK2(*(p), 6)
280 #define ND_TCHECK_56BITS(p) ND_TCHECK2(*(p), 7)
283 #define ND_TCHECK_64BITS(p) ND_TCHECK2(*(p), 8)
286 #define ND_TCHECK_128BITS(p) ND_TCHECK2(*(p), 16)
Dprint-openflow.c88 ND_TCHECK2(*cp, 1); in of_header_body_print()
92 ND_TCHECK2(*cp, 1); in of_header_body_print()
96 ND_TCHECK2(*cp, 2); in of_header_body_print()
100 ND_TCHECK2(*cp, 4); in of_header_body_print()
119 ND_TCHECK2(*cp, length - OF_HEADER_LEN); in of_header_body_print()
125 ND_TCHECK2(*cp, ep - cp); in of_header_body_print()
Dprint-pim.c174 ND_TCHECK2(bp[0], sizeof(struct in_addr)); in pimv1_join_prune_print()
182 ND_TCHECK2(bp[2], 2); in pimv1_join_prune_print()
194 ND_TCHECK2(bp[0], 4); in pimv1_join_prune_print()
205 ND_TCHECK2(bp[0], sizeof(struct in_addr)); in pimv1_join_prune_print()
211 ND_TCHECK2(bp[0], sizeof(struct in_addr)); in pimv1_join_prune_print()
218 ND_TCHECK2(bp[0], 4); in pimv1_join_prune_print()
233 ND_TCHECK2(bp[0], 6); in pimv1_join_prune_print()
279 ND_TCHECK2(bp[10],2); in pimv1_print()
287 ND_TCHECK2(bp[8], 20); /* ip header */ in pimv1_print()
292 ND_TCHECK2(bp[12], sizeof(struct in_addr)); in pimv1_print()
[all …]
Dprint-gre.c92 ND_TCHECK2(*bp, 2); in gre_print()
130 ND_TCHECK2(*bp, 2); in gre_print_0()
138 ND_TCHECK2(*bp, 2); in gre_print_0()
146 ND_TCHECK2(*bp, 2); in gre_print_0()
155 ND_TCHECK2(*bp, 4); in gre_print_0()
164 ND_TCHECK2(*bp, 4); in gre_print_0()
178 ND_TCHECK2(*bp, 4); in gre_print_0()
257 ND_TCHECK2(*bp, 2); in gre_print_1()
268 ND_TCHECK2(*bp, 4); in gre_print_1()
278 ND_TCHECK2(*bp, 4); in gre_print_1()
[all …]
Dprint-dvmrp.c125 ND_TCHECK2(bp[0], 4); in dvmrp_print()
176 ND_TCHECK2(bp[0], 3); in print_report()
227 ND_TCHECK2(bp[0], 4); in print_probe()
242 ND_TCHECK2(bp[0], 4); in print_probe()
262 ND_TCHECK2(bp[0], 7); in print_neighbors()
270 ND_TCHECK2(bp[0], 4); in print_neighbors()
297 ND_TCHECK2(bp[0], 8); in print_neighbors2()
337 ND_TCHECK2(bp[0], 12); in print_prune()
351 ND_TCHECK2(bp[0], 8); in print_graft()
362 ND_TCHECK2(bp[0], 8); in print_graft_ack()
Dprint-pgm.c231 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print()
236 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
274 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print()
279 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
288 ND_TCHECK2(*bp, sizeof(uint32_t)); in pgm_print()
292 ND_TCHECK2(*bp, sizeof(uint32_t)); in pgm_print()
296 ND_TCHECK2(*bp, sizeof(uint32_t)); in pgm_print()
345 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print()
350 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
367 ND_TCHECK2(*bp, sizeof(struct in_addr)); in pgm_print()
[all …]
Dprint-igmp.c161 ND_TCHECK2(bp[6], 2); in print_igmpv3_report()
172 ND_TCHECK2(bp[group+4], 4); in print_igmpv3_report()
188 ND_TCHECK2(bp[group+8+(j<<2)], 4); in print_igmpv3_report()
234 ND_TCHECK2(bp[4], 4); in print_igmpv3_query()
238 ND_TCHECK2(bp[10], 2); in print_igmpv3_query()
246 ND_TCHECK2(bp[12+(i<<2)], 4); in print_igmpv3_query()
284 ND_TCHECK2(bp[4], 4); in igmp_print()
292 ND_TCHECK2(bp[4], 4); in igmp_print()
298 ND_TCHECK2(bp[4], 4); in igmp_print()
306 ND_TCHECK2(bp[4], 4); in igmp_print()
Dprint-rpki-rtr.c201 ND_TCHECK2(*tptr, sizeof(rpki_rtr_pdu)); in rpki_rtr_pdu_print()
229 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
266 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
282 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
301 ND_TCHECK2(*tptr, tlen + 4); in rpki_rtr_pdu_print()
331 ND_TCHECK2(*tptr, tlen + encapsulated_pdu_length); in rpki_rtr_pdu_print()
343 ND_TCHECK2(*tptr, tlen + 4); in rpki_rtr_pdu_print()
366 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print()
382 ND_TCHECK2(*tptr, len); in rpki_rtr_pdu_print()
Dprint-radius.c493 ND_TCHECK2(data[0],length); in print_attr_string()
562 ND_TCHECK2(*data, 4); in print_vendor_attr()
572 ND_TCHECK2(*data, 2); in print_vendor_attr()
594 ND_TCHECK2(*data, vendor_length); in print_vendor_attr()
628 ND_TCHECK2(data[0],4); in print_attr_num()
749 ND_TCHECK2(data[0],4); in print_attr_address()
796 ND_TCHECK2(data[0],4); in print_attr_time()
831 ND_TCHECK2(data[0],8); in print_attr_strange()
835 ND_TCHECK2(data[0],8); in print_attr_strange()
847 ND_TCHECK2(data[0],1); in print_attr_strange()
[all …]
Dprint-olsr.c335 ND_TCHECK2(*tptr, sizeof(struct olsr_common)); in olsr_print()
364 ND_TCHECK2(*tptr, sizeof(struct olsr_msg6)); in olsr_print()
395 ND_TCHECK2(*tptr, sizeof(struct olsr_msg4)); in olsr_print()
430 ND_TCHECK2(*msg_data, sizeof(struct olsr_hello)); in olsr_print()
444 ND_TCHECK2(*msg_data, sizeof(struct olsr_hello_link)); in olsr_print()
469 ND_TCHECK2(*msg_data, hello_len); in olsr_print()
492 ND_TCHECK2(*msg_data, sizeof(struct olsr_tc)); in olsr_print()
522 ND_TCHECK2(*msg_data, addr_size); in olsr_print()
544 ND_TCHECK2(*msg_data, sizeof(struct olsr_hna6)); in olsr_print()
564 ND_TCHECK2(*msg_data, sizeof(struct olsr_hna4)); in olsr_print()
[all …]
Dprint-ppp.c430 ND_TCHECK2(*tptr, 2); in handle_ctrl_proto()
446 ND_TCHECK2(*tptr, 2); in handle_ctrl_proto()
460 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
463 ND_TCHECK2(*tptr, 3); in handle_ctrl_proto()
520 ND_TCHECK2(*tptr, 2); in handle_ctrl_proto()
535 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
540 ND_TCHECK2(tptr[4], len - 8); in handle_ctrl_proto()
547 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
559 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
561 ND_TCHECK2(*(tptr + 4), 4); in handle_ctrl_proto()
[all …]
Dprint-m3ua.c222 ND_TCHECK2(*buf, size); in tag_value_print()
228 ND_TCHECK2(*buf, size); in tag_value_print()
234 ND_TCHECK2(*buf, size); in tag_value_print()
263 ND_TCHECK2(*p, sizeof(struct m3ua_param_header)); in m3ua_tags_print()
274 ND_TCHECK2(*p, hdr_len + align); in m3ua_tags_print()
282 ND_TCHECK2(*buf, size); in m3ua_tags_print()
334 ND_TCHECK2(*buf, size); in m3ua_print()
Dprint-syslog.c93 ND_TCHECK2(*pptr, 1); in syslog_print()
96 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
102 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
135 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print()
Dprint-zeromq.c83 ND_TCHECK2(*cp, 1); /* length/0xFF */ in zmtp1_print_frame()
92 ND_TCHECK2(*cp, header_len); /* 0xFF, length */ in zmtp1_print_frame()
98 ND_TCHECK2(*cp, header_len + 1); /* ..., flags */ in zmtp1_print_frame()
135 ND_TCHECK2(*cp, body_len_declared); /* Next frame within the buffer ? */ in zmtp1_print_frame()
175 ND_TCHECK2(*cp, 2); in zmtp1_print_intermediate_part()

1234