Searched refs:ndo (Results 126 - 150 of 177) sorted by relevance

12345678

/freebsd-current/contrib/tcpdump/
H A Dprint-lldp.c616 print_ets_priority_assignment_table(netdissect_options *ndo, argument
629 print_tc_bandwidth_table(netdissect_options *ndo, argument
641 print_tsa_assignment_table(netdissect_options *ndo, argument
656 lldp_private_8021_print(netdissect_options *ndo, argument
704 nd_printjnp(ndo, tptr + 7, sublen);
715 nd_printjnp(ndo, tptr + 5, sublen);
754 print_ets_priority_assignment_table(ndo, tptr + 5);
757 print_tc_bandwidth_table(ndo, tptr + 9);
760 print_tsa_assignment_table(ndo, tptr + 17);
770 print_ets_priority_assignment_table(ndo, tpt
870 lldp_private_8023_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
939 lldp_extract_latlon(netdissect_options *ndo, const u_char *tptr) argument
955 lldp_private_iana_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
988 lldp_private_tia_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
1173 lldp_private_dcbx_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
1341 lldp_network_addr_print(netdissect_options *ndo, const u_char *tptr, u_int len) argument
1384 lldp_mgmt_addr_tlv_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
1447 lldp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
[all...]
H A Dprint-eap.c150 eap_print(netdissect_options *ndo, argument
198 nd_printjnp(ndo, cp + 5, len - 5);
209 nd_printjnp(ndo, cp + 5, len - 5);
299 nd_print_trunc(ndo);
303 eapol_print(netdissect_options *ndo, argument
309 ndo->ndo_protocol = "eap";
319 if (ndo->ndo_vflag < 1)
330 eap_print(ndo, cp, eap_len);
340 nd_print_trunc(ndo);
H A Dprint-bfd.c186 auth_print(netdissect_options *ndo, const u_char *pptr) argument
225 (void)nd_printn(ndo, pptr, auth_len - 3, NULL);
291 bfd_print(netdissect_options *ndo, const u_char *pptr, argument
294 ndo->ndo_protocol = "bfd";
316 if (ndo->ndo_vflag < 1)
348 auth_print(ndo, pptr);
354 if (ndo->ndo_vflag < 1)
390 auth_print(ndo, pptr);
398 if (ndo->ndo_vflag >= 1) {
399 if(!print_unknown_data(ndo, ppt
[all...]
H A Dtcpdump.c324 netdissect_options *ndo; member in struct:dump_info
1265 open_interface(const char *device, netdissect_options *ndo, char *ebuf) argument
1283 pc = pcap_open(device, ndo->ndo_snaplen,
1323 status = pcap_set_tstamp_precision(pc, ndo->ndo_tstamp_precision);
1327 tstamp_precision_to_string(ndo->ndo_tstamp_precision),
1346 if (ndo->ndo_snaplen != 0) {
1351 status = pcap_set_snaplen(pc, ndo->ndo_snaplen);
1464 if (ndo->ndo_snaplen == 0)
1465 ndo->ndo_snaplen = MAXIMUM_SNAPLEN;
1466 pc = pcap_open_live(device, ndo
1525 netdissect_options *ndo = &Ndo; local
[all...]
H A Dprint-bgp.c570 as_printf(netdissect_options *ndo, argument
573 if (!ndo->ndo_bflag || asnum <= 0xFFFF) {
584 decode_prefix4(netdissect_options *ndo, argument
603 snprintf(buf, buflen, "%s/%u", ipaddr_string(ndo, (const u_char *)&addr), plen);
611 decode_labeled_prefix4(netdissect_options *ndo, argument
649 ipaddr_string(ndo, (const u_char *)&addr),
669 bgp_vpn_ip_print(netdissect_options *ndo, argument
713 bgp_vpn_sg_print(netdissect_options *ndo, argument
731 bgp_vpn_ip_print(ndo, pptr, addr_length));
745 bgp_vpn_ip_print(ndo, ppt
755 bgp_vpn_rd_print(netdissect_options *ndo, const u_char *pptr) argument
805 bgp_extended_community_print(netdissect_options *ndo, const u_char *pptr) argument
911 bgp_rt_prefix_print(netdissect_options *ndo, const u_char *pptr, u_int plen) argument
989 decode_rt_routing_info(netdissect_options *ndo, const u_char *pptr) argument
1046 decode_labeled_vpn_prefix4(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1092 decode_mdt_vpn_nlri(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1142 decode_multicast_vpn(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1253 decode_labeled_vpn_l2(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1364 decode_prefix6(netdissect_options *ndo, const u_char *pd, u_int itemlen, char *buf, size_t buflen) argument
1392 decode_labeled_prefix6(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, size_t buflen) argument
1436 decode_labeled_vpn_prefix6(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1470 decode_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1496 decode_labeled_vpn_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, size_t buflen) argument
1537 bgp_attr_get_as_size(netdissect_options *ndo, uint8_t bgpa_type, const u_char *pptr, u_int len) argument
1591 check_add_path(netdissect_options *ndo, const u_char *pptr, u_int length, u_int max_prefix_length) argument
1652 bgp_mp_af_print(netdissect_options *ndo, const u_char *tptr, u_int tlen, uint16_t *afp, uint8_t *safip) argument
1713 bgp_nlri_print(netdissect_options *ndo, uint16_t af, uint8_t safi, const u_char *tptr, u_int len, char *buf, size_t buflen, int add_path4, int add_path6) argument
1868 bgp_attr_print(netdissect_options *ndo, uint8_t atype, const u_char *pptr, u_int len, const unsigned attr_set_level) argument
2515 bgp_capabilities_print(netdissect_options *ndo, const u_char *opt, u_int caps_len) argument
2645 bgp_open_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
2718 bgp_update_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
2906 bgp_notification_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
3018 bgp_route_refresh_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
3050 bgp_pdu_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
3094 bgp_print(netdissect_options *ndo, const u_char *dat, u_int length _U_) argument
[all...]
H A Dprint-ldp.c236 nd_print_invalid(ndo); \
241 ldp_tlv_print(netdissect_options *ndo, argument
358 i=decode_prefix4(ndo, tptr, tlv_tlen, buf, sizeof(buf));
369 i=decode_prefix6(ndo, tptr, tlv_tlen, buf, sizeof(buf));
447 fn_print_char(ndo, GET_U_1(tptr + idx));
460 print_unknown_data(ndo, tptr+2, "\n\t\t ", vc_info_tlv_len-2);
534 if (ndo->ndo_vflag <= 1)
535 print_unknown_data(ndo, tptr, "\n\t ", tlv_tlen);
541 nd_trunc_longjmp(ndo);
548 ldp_print(netdissect_options *ndo, argument
569 ldp_pdu_print(netdissect_options *ndo, const u_char *pptr) argument
[all...]
H A Dprint-udld.c104 udld_print(netdissect_options *ndo, argument
109 ndo->ndo_protocol = "udld";
133 if (ndo->ndo_vflag < 1) {
172 nd_printjnp(ndo, tptr, len);
177 (void)nd_printn(ndo, tptr, len, NULL);
204 nd_print_invalid(ndo);
H A Dcpack.c98 nd_cpack_uint64(netdissect_options *ndo, struct cpack_state *cs, uint64_t *u) argument
114 nd_cpack_int64(netdissect_options *ndo, struct cpack_state *cs, int64_t *u) argument
130 nd_cpack_uint32(netdissect_options *ndo, struct cpack_state *cs, uint32_t *u) argument
146 nd_cpack_int32(netdissect_options *ndo, struct cpack_state *cs, int32_t *u) argument
162 nd_cpack_uint16(netdissect_options *ndo, struct cpack_state *cs, uint16_t *u) argument
178 nd_cpack_int16(netdissect_options *ndo, struct cpack_state *cs, int16_t *u) argument
194 nd_cpack_uint8(netdissect_options *ndo, struct cpack_state *cs, uint8_t *u) argument
209 nd_cpack_int8(netdissect_options *ndo, struct cpack_state *cs, int8_t *u) argument
H A Dprint-pppoe.c91 pppoe_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
93 ndo->ndo_protocol = "pppoe";
94 ndo->ndo_ll_hdr_len += pppoe_print(ndo, p, h->len);
98 pppoe_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
104 ndo->ndo_protocol = "pppoe";
199 return (PPPOE_HDRLEN + ppp_print(ndo, pppoe_payload, pppoe_length));
204 nd_print_invalid(ndo);
H A Dprint-arista.c91 arista_print_date_hms_time(netdissect_options *ndo, uint32_t seconds, argument
105 arista_ethertype_print(netdissect_options *ndo, const u_char *bp, u_int len _U_) argument
110 ndo->ndo_protocol = "arista";
146 arista_print_date_hms_time(ndo, seconds, nanoseconds);
H A Dprint-someip.c80 someip_print(netdissect_options *ndo, const u_char *bp, const u_int len) argument
95 ndo->ndo_protocol = "someip";
96 nd_print_protocol_caps(ndo);
141 nd_print_invalid(ndo);
H A Dprint-bootp.c282 bootp_print(netdissect_options *ndo, argument
290 ndo->ndo_protocol = "bootp";
304 if (!ndo->ndo_vflag)
327 if (ndo->ndo_vflag > 1)
353 if (nd_printztn(ndo, bp->bp_sname, (u_int)sizeof(bp->bp_sname),
354 ndo->ndo_snapend) == 0) {
356 nd_print_trunc(ndo);
363 if (nd_printztn(ndo, bp->bp_file, (u_int)sizeof(bp->bp_file),
364 ndo->ndo_snapend) == 0) {
366 nd_print_trunc(ndo);
583 rfc1048_print(netdissect_options *ndo, const u_char *bp) argument
1027 cmu_print(netdissect_options *ndo, const u_char *bp) argument
[all...]
H A Dopenflow.h67 extern void of_bitmap_print(netdissect_options *ndo,
69 extern void of_data_print(netdissect_options *ndo,
80 void (*decoder)(netdissect_options *ndo, const u_char *, const u_int);
H A Dprint-rx.c528 rx_print(netdissect_options *ndo, argument
537 ndo->ndo_protocol = "rx";
549 if (ndo->ndo_vflag) {
552 if (ndo->ndo_vflag > 1)
561 if (ndo->ndo_vflag > 2)
566 if (ndo->ndo_vflag > 1)
600 rx_cache_insert(ndo, bp, (const struct ip *) bp2, dport);
604 fs_print(ndo, bp, length);
607 cb_print(ndo, bp, length);
610 prot_print(ndo, b
686 rx_cache_insert(netdissect_options *ndo, const u_char *bp, const struct ip *ip, uint16_t dport) argument
716 rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh, const struct ip *ip, uint16_t sport, uint32_t *opcode) argument
886 fs_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
1054 fs_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
1147 acl_print(netdissect_options *ndo, u_char *s, const u_char *end) argument
1210 cb_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
1288 cb_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
1340 prot_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
1478 prot_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
1590 vldb_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
1678 vldb_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
1864 kauth_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
1953 kauth_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
2002 vol_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
2199 vol_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
2335 bos_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
2423 bos_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
2479 ubik_print(netdissect_options *ndo, const u_char *bp) argument
2592 ubik_reply_print(netdissect_options *ndo, const u_char *bp, u_int length, uint32_t opcode) argument
2658 rx_ack_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
[all...]
H A Dsignature.c119 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, argument
127 if (!ndo->ndo_sigsecret) {
177 (unsigned char *)ndo->ndo_sigsecret,
178 strlen(ndo->ndo_sigsecret), sig);
202 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_,
H A Dprint-rpki-rtr.c175 rpki_rtr_pdu_print(netdissect_options *ndo, const u_char *tptr, const u_int len, argument
328 rpki_rtr_pdu_print(ndo, tptr + tlen,
352 (void)nd_printn(ndo, tptr + tlen, text_length, NULL);
367 if (ndo->ndo_vflag > 1 || (ndo->ndo_vflag && hexdump)) {
368 print_unknown_data(ndo,tptr,"\n\t ", pdu_len);
373 nd_print_invalid(ndo);
379 rpki_rtr_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
381 ndo->ndo_protocol = "rpki_rtr";
382 if (!ndo
[all...]
H A Dprint-vqp.c100 vqp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
112 ndo->ndo_protocol = "vqp";
131 if (ndo->ndo_vflag < 1) {
193 nd_printjnp(ndo, tptr, vqp_obj_len);
203 if (ndo->ndo_vflag <= 1)
204 print_unknown_data(ndo,tptr, "\n\t ", vqp_obj_len);
213 nd_print_invalid(ndo);
H A Dprint-vtp.c120 vtp_print(netdissect_options *ndo, argument
127 ndo->ndo_protocol = "vtp";
143 if (ndo->ndo_vflag < 1) {
154 nd_printjnp(ndo, tptr + 4, mgmtd_len);
264 nd_printjnp(ndo, tptr, name_len);
348 print_unknown_data(ndo, tptr, "\n\t\t ", 2 + tlv_len*2);
389 nd_print_invalid(ndo);
H A Dprint-sflow.c313 print_sflow_counter_generic(netdissect_options *ndo, argument
358 print_sflow_counter_ethernet(netdissect_options *ndo, argument
388 print_sflow_counter_token_ring(netdissect_options *ndo _U_,
395 print_sflow_counter_basevg(netdissect_options *ndo, argument
431 print_sflow_counter_vlan(netdissect_options *ndo, argument
461 print_sflow_counter_processor(netdissect_options *ndo, argument
482 sflow_print_counter_records(netdissect_options *ndo, argument
521 if (print_sflow_counter_generic(ndo, tptr, tlen))
525 if (print_sflow_counter_ethernet(ndo, tptr, tlen))
529 if (print_sflow_counter_token_ring(ndo, tpt
560 sflow_print_counter_sample(netdissect_options *ndo, const u_char *pointer, u_int len) argument
585 sflow_print_expanded_counter_sample(netdissect_options *ndo, const u_char *pointer, u_int len) argument
611 print_sflow_raw_packet(netdissect_options *ndo, const u_char *pointer, u_int len) argument
634 print_sflow_ethernet_frame(netdissect_options *ndo, const u_char *pointer, u_int len) argument
652 print_sflow_extended_switch_data(netdissect_options *ndo, const u_char *pointer, u_int len) argument
671 sflow_print_flow_records(netdissect_options *ndo, const u_char *pointer, u_int len, u_int records) argument
757 sflow_print_flow_sample(netdissect_options *ndo, const u_char *pointer, u_int len) argument
787 sflow_print_expanded_flow_sample(netdissect_options *ndo, const u_char *pointer, u_int len) argument
815 sflow_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
[all...]
H A Dprint-slow.c246 slow_print(netdissect_options *ndo, argument
252 ndo->ndo_protocol = "slow";
307 print_unknown_data(ndo, pptr, "\n\t", len);
311 if (!ndo->ndo_vflag)
322 slow_oam_print(ndo, pptr, len);
330 slow_marker_lacp_print(ndo, pptr, len, subtype);
336 if (!ndo->ndo_vflag)
343 slow_marker_lacp_print(netdissect_options *ndo, argument
458 if (ndo->ndo_vflag <= 1)
459 print_unknown_data(ndo, tlv_tpt
480 slow_oam_print(netdissect_options *ndo, const u_char *tptr, u_int tlen) argument
[all...]
H A Dprint-radius.c769 print_attr_string(netdissect_options *ndo, argument
821 eap_print(ndo, data, length);
831 nd_print_trunc(ndo);
838 print_vendor_attr(netdissect_options *ndo, argument
889 nd_print_trunc(ndo);
900 print_attr_num(netdissect_options *ndo, argument
1017 print_attr_address(netdissect_options *ndo, argument
1053 print_attr_address6(netdissect_options *ndo, argument
1066 print_attr_netmask6(netdissect_options *ndo, argument
1087 ND_PRINT("%s/%u", ip6addr_string(ndo, data
1099 print_attr_mip6_home_link_prefix(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code _U_) argument
1123 print_attr_operator_name(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code _U_) argument
1147 print_attr_location_information(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code _U_) argument
1196 print_attr_location_data(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code _U_) argument
1228 print_basic_location_policy_rules(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code _U_) argument
1270 print_attr_time(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code _U_) argument
1290 print_attr_vector64(netdissect_options *ndo, register const u_char *data, u_int length, u_short attr_code _U_) argument
1327 print_attr_strange(netdissect_options *ndo, const u_char *data, u_int length, u_short attr_code) argument
1399 radius_attrs_print(netdissect_options *ndo, const u_char *attr, u_int length) argument
1459 radius_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
[all...]
H A Dprint-egp.c133 egpnr_print(netdissect_options *ndo, argument
194 ipaddr_string(ndo, (const u_char *)&addr)); /* local buffer, not packet data; don't use GET_IPADDR_STRING() */
229 ND_PRINT(" %s", ipaddr_string(ndo, (const u_char *)&addr)); /* local buffer, not packet data; don't use GET_IPADDR_STRING() */
238 nd_print_trunc(ndo);
242 egp_print(netdissect_options *ndo, argument
251 ndo->ndo_protocol = "egp";
254 nd_print_trunc(ndo);
259 if (!ndo->ndo_vflag) {
370 if (ndo->ndo_vflag)
371 egpnr_print(ndo, eg
[all...]
H A Dprint-telnet.c381 telnet_parse(netdissect_options *ndo, const u_char *sp, u_int length, int print) argument
496 telnet_print(netdissect_options *ndo, const u_char *sp, u_int length) argument
502 ndo->ndo_protocol = "telnet";
510 l = telnet_parse(ndo, sp, length, 0);
517 if (ndo->ndo_Xflag && 2 < ndo->ndo_vflag) {
520 hex_print_with_offset(ndo, "\n", sp, l, (u_int)(sp - osp));
528 (void)telnet_parse(ndo, sp, length, 1);
535 if (ndo->ndo_Xflag && 2 < ndo
[all...]
H A Dprint-mobility.c122 mobility_opt_print(netdissect_options *ndo, argument
205 mobility_print(netdissect_options *ndo, argument
213 ndo->ndo_protocol = "mobility";
217 ep = ndo->ndo_snapend;
252 if (ndo->ndo_vflag) {
264 if (ndo->ndo_vflag) {
271 if (ndo->ndo_vflag) {
325 if (ndo->ndo_vflag)
326 if (mobility_opt_print(ndo, bp + hlen, mhlen - hlen))
332 nd_print_trunc(ndo);
[all...]
H A Dprint-ospf6.c376 ospf6_print_ls_type(netdissect_options *ndo, argument
388 ospf6_print_lshdr(netdissect_options *ndo, argument
400 ospf6_print_ls_type(ndo, GET_BE_U_2(lshp->ls_type),
409 ospf6_print_lsaprefix(netdissect_options *ndo, argument
430 ND_PRINT("\n\t\t%s/%u", ip6addr_string(ndo, prefix), /* local buffer, not packet data; don't use GET_IP6ADDR_STRING() */
449 ospf6_print_lsa(netdissect_options *ndo, argument
472 if (ospf6_print_lshdr(ndo, &lsap->ls_hdr, dataend))
569 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length);
595 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length);
656 bytelen = ospf6_print_lsaprefix(ndo, tpt
729 ospf6_decode_v3(netdissect_options *ndo, const struct ospf6hdr *op, const u_char *dataend) argument
844 ospf6_print_lls(netdissect_options *ndo, const u_char *cp, const u_int len) argument
873 ospf6_decode_at(netdissect_options *ndo, const u_char *cp, const u_int len) argument
919 ospf6_decode_v3_trailer(netdissect_options *ndo, const struct ospf6hdr *op, const u_char *cp, const unsigned len) argument
946 ospf6_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
[all...]

Completed in 241 milliseconds

12345678