Searched refs:ndo (Results 51 - 75 of 157) sorted by relevance

1234567

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-vrrp.c106 vrrp_print(netdissect_options *ndo, argument
117 ND_PRINT((ndo, "VRRPv%u, %s", version, type_s));
119 ND_PRINT((ndo, ", (ttl %u)", ttl));
123 ND_PRINT((ndo, ", vrid %u, prio %u", bp[1], bp[2]));
128 ND_PRINT((ndo, ", authtype %s", tok2str(auth2str, NULL, auth_type)));
129 ND_PRINT((ndo, ", intvl %us, length %u", bp[5], len));
132 ND_PRINT((ndo, ", intvl %ucs, length %u", intvl, len));
135 if (ndo->ndo_vflag) {
147 ND_PRINT((ndo, ", (bad vrrp cksum %x)",
153 uint16_t cksum = nextproto4_cksum(ndo, (cons
[all...]
H A Dprint-loopback.c58 loopback_message_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
69 ND_PRINT((ndo, ", %s", tok2str(fcode_str, " invalid (%u)", function)));
77 ND_PRINT((ndo, ", receipt number %u", EXTRACT_LE_16BITS(cp)));
80 ND_PRINT((ndo, ", data (%u octets)", len - 4));
88 ND_PRINT((ndo, ", forwarding address %s", etheraddr_string(ndo, cp)));
91 ND_PRINT((ndo, ", data (%u octets)", len - 8));
101 ND_PRINT((ndo, "%s", istr));
105 ND_PRINT((ndo, "%s", tstr));
109 loopback_print(netdissect_options *ndo, cons argument
[all...]
H A Dprint-pptp.c273 pptp_bearer_cap_print(netdissect_options *ndo, argument
276 ND_PRINT((ndo, " BEARER_CAP(%s%s)",
289 pptp_bearer_type_print(netdissect_options *ndo, argument
292 ND_PRINT((ndo, " BEARER_TYPE(%s)",
297 pptp_call_id_print(netdissect_options *ndo, argument
300 ND_PRINT((ndo, " CALL_ID(%u)", EXTRACT_16BITS(call_id)));
304 pptp_call_ser_print(netdissect_options *ndo, argument
307 ND_PRINT((ndo, " CALL_SER_NUM(%u)", EXTRACT_16BITS(call_ser)));
311 pptp_cause_code_print(netdissect_options *ndo, argument
314 ND_PRINT((ndo, " CAUSE_COD
318 pptp_conn_speed_print(netdissect_options *ndo, const uint32_t *conn_speed) argument
336 pptp_err_code_print(netdissect_options *ndo, const uint8_t *err_code) argument
347 pptp_firm_rev_print(netdissect_options *ndo, const uint16_t *firm_rev) argument
354 pptp_framing_cap_print(netdissect_options *ndo, const uint32_t *framing_cap) argument
375 pptp_framing_type_print(netdissect_options *ndo, const uint32_t *framing_type) argument
383 pptp_hostname_print(netdissect_options *ndo, const u_char *hostname) argument
390 pptp_id_print(netdissect_options *ndo, const uint32_t *id) argument
397 pptp_max_channel_print(netdissect_options *ndo, const uint16_t *max_channel) argument
404 pptp_peer_call_id_print(netdissect_options *ndo, const uint16_t *peer_call_id) argument
411 pptp_phy_chan_id_print(netdissect_options *ndo, const uint32_t *phy_chan_id) argument
418 pptp_pkt_proc_delay_print(netdissect_options *ndo, const uint16_t *pkt_proc_delay) argument
425 pptp_proto_ver_print(netdissect_options *ndo, const uint16_t *proto_ver) argument
434 pptp_recv_winsiz_print(netdissect_options *ndo, const uint16_t *recv_winsiz) argument
482 pptp_result_code_print(netdissect_options *ndo, const uint8_t *result_code, int ctrl_msg_type) argument
502 pptp_subaddr_print(netdissect_options *ndo, const u_char *subaddr) argument
509 pptp_vendor_print(netdissect_options *ndo, const u_char *vendor) argument
519 pptp_sccrq_print(netdissect_options *ndo, const u_char *dat) argument
547 pptp_sccrp_print(netdissect_options *ndo, const u_char *dat) argument
578 pptp_stopccrq_print(netdissect_options *ndo, const u_char *dat) argument
612 pptp_stopccrp_print(netdissect_options *ndo, const u_char *dat) argument
630 pptp_echorq_print(netdissect_options *ndo, const u_char *dat) argument
645 pptp_echorp_print(netdissect_options *ndo, const u_char *dat) argument
665 pptp_ocrq_print(netdissect_options *ndo, const u_char *dat) argument
701 pptp_ocrp_print(netdissect_options *ndo, const u_char *dat) argument
732 pptp_icrq_print(netdissect_options *ndo, const u_char *dat) argument
763 pptp_icrp_print(netdissect_options *ndo, const u_char *dat) argument
789 pptp_iccn_print(netdissect_options *ndo, const u_char *dat) argument
813 pptp_ccrq_print(netdissect_options *ndo, const u_char *dat) argument
829 pptp_cdn_print(netdissect_options *ndo, const u_char *dat) argument
853 pptp_wen_print(netdissect_options *ndo, const u_char *dat) argument
881 pptp_sli_print(netdissect_options *ndo, const u_char *dat) argument
901 pptp_print(netdissect_options *ndo, const u_char *dat) argument
[all...]
H A Dprint-chdlc.c47 chdlc_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument
49 return chdlc_print(ndo, p, h->len);
53 chdlc_print(netdissect_options *ndo, register const u_char *p, u_int length) argument
62 if (ndo->ndo_eflag) {
63 ND_PRINT((ndo, "%s, ethertype %s (0x%04x), length %u: ",
75 ip_print(ndo, p, length);
78 ip6_print(ndo, p, length);
81 chdlc_slarp_print(ndo, p, length);
90 mpls_print(ndo, p, length);
100 isoclns_print(ndo,
142 chdlc_slarp_print(netdissect_options *ndo, const u_char *cp, u_int length) argument
[all...]
H A Dprint-ip.c58 ip_printroute(netdissect_options *ndo, argument
65 ND_PRINT((ndo, " [bad length %u]", length));
69 ND_PRINT((ndo, " [bad length %u]", length));
73 ND_PRINT((ndo, " [bad ptr %u]", cp[2]));
77 ND_PRINT((ndo, " %s", ipaddr_string(ndo, &cp[len])));
79 ND_PRINT((ndo, ","));
95 ip_finddst(netdissect_options *ndo, argument
141 nextproto4_cksum(netdissect_options *ndo, argument
162 ph.dst = ip_finddst(ndo, i
172 ip_printts(netdissect_options *ndo, register const u_char *cp, u_int length) argument
245 ip_optprint(netdissect_options *ndo, register const u_char *cp, u_int length) argument
339 ip_print_demux(netdissect_options *ndo, struct ip_print_demux_state *ipds) argument
518 ip_print_inner(netdissect_options *ndo, const u_char *bp, u_int length, u_int nh, const u_char *bp2) argument
540 ip_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
708 ipN_print(netdissect_options *ndo, register const u_char *bp, register u_int length) argument
[all...]
H A Dprint-ip6.c47 ip6_finddst(netdissect_options *ndo, struct in6_addr *dst, argument
64 while (cp < ndo->ndo_snapend) {
112 if ((const u_char *)(addr + 1) > ndo->ndo_snapend)
163 nextproto6_cksum(netdissect_options *ndo, argument
192 ip6_finddst(ndo, &ph.ph_dst, ip6);
214 ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
230 ND_PRINT((ndo, "truncated-ip6 %u", length));
234 if (!ndo->ndo_eflag)
235 ND_PRINT((ndo, "IP6 "));
238 ND_PRINT((ndo,"versio
[all...]
H A Dprint-ntp.c170 static void p_sfix(netdissect_options *ndo, const struct s_fixedpt *);
204 ntp_print(netdissect_options *ndo, argument
215 ND_PRINT((ndo, "NTPv%d", version));
218 if (!ndo->ndo_vflag) {
219 ND_PRINT((ndo, ", %s, length %u",
225 ND_PRINT((ndo, ", length %u\n\t%s",
230 ND_PRINT((ndo, ", Leap indicator: %s (%u)",
235 ND_PRINT((ndo, ", Stratum %u (%s)",
240 ND_PRINT((ndo, ", poll %u (%us)", bp->ppoll, 1 << bp->ppoll));
244 ND_PRINT((ndo, ", precisio
325 p_sfix(netdissect_options *ndo, register const struct s_fixedpt *sfp) argument
342 p_ntp_time(netdissect_options *ndo, register const struct l_fixedpt *lfp) argument
377 p_ntp_delta(netdissect_options *ndo, register const struct l_fixedpt *olfp, register const struct l_fixedpt *lfp) argument
[all...]
H A Dprint-lldp.c614 print_ets_priority_assignment_table(netdissect_options *ndo, argument
617 ND_PRINT((ndo, "\n\t Priority Assignment Table"));
618 ND_PRINT((ndo, "\n\t Priority : 0 1 2 3 4 5 6 7"));
619 ND_PRINT((ndo, "\n\t Value : %-3d %-3d %-3d %-3d %-3d %-3d %-3d %-3d",
625 print_tc_bandwidth_table(netdissect_options *ndo, argument
628 ND_PRINT((ndo, "\n\t TC Bandwidth Table"));
629 ND_PRINT((ndo, "\n\t TC%% : 0 1 2 3 4 5 6 7"));
630 ND_PRINT((ndo, "\n\t Value : %-3d %-3d %-3d %-3d %-3d %-3d %-3d %-3d",
635 print_tsa_assignment_table(netdissect_options *ndo, argument
638 ND_PRINT((ndo, "\
648 lldp_private_8021_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
851 lldp_private_8023_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
935 lldp_private_iana_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
967 lldp_private_tia_print(netdissect_options *ndo, const u_char *tptr, u_int tlv_len) argument
1149 lldp_private_dcbx_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
1313 lldp_network_addr_print(netdissect_options *ndo, const u_char *tptr, u_int len) argument
1358 lldp_mgmt_addr_tlv_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
1420 lldp_print(netdissect_options *ndo, register const u_char *pptr, register u_int len) argument
[all...]
H A Dprint-ppp.c414 handle_ctrl_proto(netdissect_options *ndo, argument
426 ND_PRINT((ndo, "%s, ", typestr));
434 ND_PRINT((ndo, "%s (0x%02x), id %u, length %u",
440 if (!ndo->ndo_vflag)
450 ND_PRINT((ndo, "\n\tencoded length %u (=Option(s) length %u)", len, len - 4));
452 if (ndo->ndo_vflag > 1)
453 print_unknown_data(ndo, pptr - 2, "\n\t", 6);
461 ND_PRINT((ndo, "\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr)));
464 ND_PRINT((ndo, " Vendor: %s (%u)",
503 if ((j = (*pfunc)(ndo, tpt
581 print_lcp_config_options(netdissect_options *ndo, const u_char *p, int length) argument
808 handle_mlppp(netdissect_options *ndo, const u_char *p, int length) argument
831 handle_chap(netdissect_options *ndo, const u_char *p, int length) argument
911 handle_pap(netdissect_options *ndo, const u_char *p, int length) argument
1025 print_ipcp_config_options(netdissect_options *ndo, const u_char *p, int length) argument
1162 print_ip6cp_config_options(netdissect_options *ndo, const u_char *p, int length) argument
1222 print_ccp_config_options(netdissect_options *ndo, const u_char *p, int length) argument
1317 print_bacp_config_options(netdissect_options *ndo, const u_char *p, int length) argument
1371 ppp_hdlc(netdissect_options *ndo, const u_char *p, int length) argument
1452 handle_ppp(netdissect_options *ndo, u_int proto, const u_char *p, int length) argument
1514 ppp_print(netdissect_options *ndo, register const u_char *p, u_int length) argument
1585 ppp_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument
1652 ppp_hdlc_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument
[all...]
H A Dprint-egp.c131 egpnrprint(netdissect_options *ndo, argument
184 ND_PRINT((ndo, " %s %s ",
186 ipaddr_string(ndo, &addr)));
189 ND_PRINT((ndo, "("));
194 ND_PRINT((ndo, "%sd%d:", comma, (int)*cp++));
219 ND_PRINT((ndo, " %s", ipaddr_string(ndo, &addr)));
222 ND_PRINT((ndo, ")"));
226 ND_PRINT((ndo, "[|]"));
230 egp_print(netdissect_options *ndo, argument
[all...]
H A Dprint-rip.c97 rip_entry_print_v1(netdissect_options *ndo, argument
105 ND_PRINT((ndo, "\n\t AFI %s, ", tok2str(bsd_af_values, "Unknown (%u)", family)));
106 print_unknown_data(ndo, (const uint8_t *)&ni->rip_family, "\n\t ", RIP_ROUTELEN);
113 print_unknown_data(ndo, (const uint8_t *)&ni->rip_family, "\n\t ", RIP_ROUTELEN);
117 ND_PRINT((ndo, "\n\t AFI 0, %s, metric: %u",
118 ipaddr_string(ndo, &ni->rip_dest),
122 ND_PRINT((ndo, "\n\t %s, metric: %u",
123 ipaddr_string(ndo, &ni->rip_dest),
128 rip_entry_print_v2(netdissect_options *ndo, argument
139 ND_PRINT((ndo, "\
178 rip_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
[all...]
H A Dprint.c226 static void ndo_default_print(netdissect_options *ndo, const u_char *bp,
229 static void ndo_error(netdissect_options *ndo,
232 static void ndo_warning(netdissect_options *ndo,
236 static int ndo_printf(netdissect_options *ndo,
241 init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask, argument
246 init_addrtoname(ndo, localnet, mask);
294 get_if_printer(netdissect_options *ndo, int type) argument
303 (*ndo->ndo_error)(ndo,
307 (*ndo
314 pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *sp, u_int packets_captured) argument
404 ndo_default_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
411 ndo_error(netdissect_options *ndo, const char *fmt, ...) argument
432 ndo_warning(netdissect_options *ndo, const char *fmt, ...) argument
450 ndo_printf(netdissect_options *ndo, const char *fmt, ...) argument
465 ndo_set_function_pointers(netdissect_options *ndo) argument
[all...]
H A Dprint-geneve.c103 geneve_opts_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
112 ND_PRINT((ndo, "%s", sep));
119 ND_PRINT((ndo, "class %s (0x%x) type 0x%x%s len %u",
124 ND_PRINT((ndo, " [bad length]"));
128 if (ndo->ndo_vflag > 1 && opt_len > 4) {
132 ND_PRINT((ndo, " data"));
135 ND_PRINT((ndo, " %08x", EXTRACT_32BITS(data)));
146 geneve_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
156 ND_PRINT((ndo, "Geneve"));
166 ND_PRINT((ndo, " ERRO
[all...]
H A Dprint-icmp6.c483 static void print_lladdr(netdissect_options *ndo, const u_char *, size_t);
484 static void icmp6_opt_print(netdissect_options *ndo, const u_char *, int);
485 static void mld6_print(netdissect_options *ndo, const u_char *);
486 static void mldv2_report_print(netdissect_options *ndo, const u_char *, u_int);
487 static void mldv2_query_print(netdissect_options *ndo, const u_char *, u_int);
488 static const struct udphdr *get_upperlayer(netdissect_options *ndo, const u_char *, u_int *);
489 static void dnsname_print(netdissect_options *ndo, const u_char *, const u_char *);
490 static void icmp6_nodeinfo_print(netdissect_options *ndo, u_int, const u_char *, const u_char *);
491 static void icmp6_rrenum_print(netdissect_options *ndo, const u_char *, const u_char *);
615 print_lladdr(netdissect_options *ndo, cons argument
629 icmp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, u_int len) argument
658 rpl_dio_printopt(netdissect_options *ndo, const struct rpl_dio_genoption *opt, u_int length) argument
699 rpl_dio_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
728 rpl_dao_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
773 rpl_daoack_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
817 rpl_print(netdissect_options *ndo, const struct icmp6_hdr *hdr, const u_char *bp, u_int length) argument
875 icmp6_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2, int fragmented) argument
1169 get_upperlayer(netdissect_options *ndo, const u_char *bp, u_int *prot) argument
1243 icmp6_opt_print(netdissect_options *ndo, const u_char *bp, int resid) argument
1396 mld6_print(netdissect_options *ndo, const u_char *bp) argument
1412 mldv2_report_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
1470 mldv2_query_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
1536 dnsname_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
1572 icmp6_nodeinfo_print(netdissect_options *ndo, u_int icmp6len, const u_char *bp, const u_char *ep) argument
1822 icmp6_rrenum_print(netdissect_options *ndo, const u_char *bp, const u_char *ep) argument
[all...]
H A Dprint-fr.c41 static void frf15_print(netdissect_options *ndo, const u_char *, u_int);
101 static int parse_q922_addr(netdissect_options *ndo, argument
148 q922_string(netdissect_options *ndo, const u_char *p, u_int length) argument
156 if (parse_q922_addr(ndo, p, &dlci, &addr_len, flags, length) == 1){
191 fr_hdr_print(netdissect_options *ndo, argument
194 if (ndo->ndo_qflag) {
195 ND_PRINT((ndo, "Q.922, DLCI %u, length %u: ",
200 ND_PRINT((ndo, "Q.922, hdr-len %u, DLCI %u, Flags [%s], NLPID %s (0x%02x), length %u: ",
208 ND_PRINT((ndo, "Q.922, hdr-len %u, DLCI %u, Flags [%s], cisco-ethertype %s (0x%04x), length %u: ",
219 fr_if_print(netdissect_options *ndo, argument
237 fr_print(netdissect_options *ndo, register const u_char *p, u_int length) argument
375 mfr_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument
437 mfr_print(netdissect_options *ndo, register const u_char *p, u_int length) argument
606 frf15_print(netdissect_options *ndo, const u_char *p, u_int length) argument
796 q933_print(netdissect_options *ndo, const u_char *p, u_int length) argument
1076 fr_q933_print_ie_codeset_0_5(netdissect_options *ndo, u_int iecode, u_int ielength, const u_char *p) argument
[all...]
H A Dprint-babel.c49 babel_print(netdissect_options *ndo, argument
52 ND_PRINT((ndo, "babel"));
57 ND_PRINT((ndo, " invalid header"));
60 ND_PRINT((ndo, " %d", cp[1]));
65 babel_print_v2(ndo, cp, length);
68 ND_PRINT((ndo, " unknown version"));
75 ND_PRINT((ndo, " %s", tstr));
124 format_prefix(netdissect_options *ndo, const u_char *prefix, unsigned char plen) argument
128 snprintf(buf, 50, "%s/%u", ipaddr_string(ndo, prefix + 12), plen - 96);
130 snprintf(buf, 50, "%s/%u", ip6addr_string(ndo, prefi
136 format_address(netdissect_options *ndo, const u_char *prefix) argument
269 subtlvs_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const uint8_t tlv_type) argument
341 babel_print_v2(netdissect_options *ndo, const u_char *cp, u_int length) argument
[all...]
H A Dprint-bfd.c178 auth_print(netdissect_options *ndo, register const u_char *pptr) argument
186 ND_PRINT((ndo, "\n\tAuthentication: %s (%u), length: %u",
191 ND_PRINT((ndo, "\n\t Auth Key ID: %d", *pptr));
208 ND_PRINT((ndo, "[invalid length %d]",
213 ND_PRINT((ndo, ", Password: "));
215 if (fn_printn(ndo, pptr, bfd_auth_header->auth_len - 3,
216 ndo->ndo_snapend))
237 ND_PRINT((ndo, "[invalid length %d]",
243 ND_PRINT((ndo, ", Sequence Number: 0x%08x", EXTRACT_32BITS(pptr)));
246 ND_PRINT((ndo, "\
289 bfd_print(netdissect_options *ndo, register const u_char *pptr, register u_int len, register u_int port) argument
[all...]
H A Dprint-ahcp.c101 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
112 ND_PRINT((ndo, ": gmtime() error"));
114 ND_PRINT((ndo, ": strftime() error"));
116 ND_PRINT((ndo, ": %s UTC", buf));
120 ND_PRINT((ndo, "%s", istr));
124 ND_PRINT((ndo, "%s", tstr));
129 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
134 ND_PRINT((ndo, ": %us", EXTRACT_32BITS(cp)));
138 ND_PRINT((ndo, "%s", istr));
142 ND_PRINT((ndo, "
147 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
171 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
195 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
219 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
262 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
303 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
348 ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-medsa.c87 medsa_print_full(netdissect_options *ndo, argument
93 ND_PRINT((ndo, "%s",
98 ND_PRINT((ndo, ", %stagged", SRC_TAG(medsa) ? "" : "un"));
99 ND_PRINT((ndo, ", dev.port:vlan %d.%d:%d",
102 ND_PRINT((ndo, ", %s",
105 ND_PRINT((ndo, ", CFI"));
107 ND_PRINT((ndo, ", pri %d: ", PRI(medsa)));
110 ND_PRINT((ndo, ", %stagged", SRC_TAG(medsa) ? "" : "un"));
111 ND_PRINT((ndo, ", dev.port:vlan %d.%d:%d",
115 ND_PRINT((ndo, ", CF
140 medsa_print(netdissect_options *ndo, const u_char *bp, u_int length, u_int caplen, const struct lladdr_info *src, const struct lladdr_info *dst) argument
[all...]
H A Dprint-pfsync.c70 ND_PRINT((ndo, "[|pfsync]"));
81 safeputchar(ndo, '\n');
86 pfsync_ip_print(netdissect_options *ndo , const u_char *bp, u_int len)
91 ND_PRINT((ndo, "[|pfsync]"));
93 pfsync_print(ndo, hdr, bp + sizeof(struct pfsync_header),
133 pfsync_print(netdissect_options *ndo, struct pfsync_header *hdr, argument
142 ND_PRINT((ndo, "PFSYNCv%d len %d", hdr->version, plen));
159 ND_PRINT((ndo, "\n act UNKNOWN id %d",
165 ND_PRINT((ndo, "\n %s count %d", actions[subh->action].name,
173 ND_PRINT((ndo, "\
206 pfsync_print_clr(netdissect_options *ndo, const void *bp) argument
216 pfsync_print_state(netdissect_options *ndo, const void *bp) argument
225 pfsync_print_ins_ack(netdissect_options *ndo, const void *bp) argument
234 pfsync_print_upd_c(netdissect_options *ndo, const void *bp) argument
247 pfsync_print_upd_req(netdissect_options *ndo, const void *bp) argument
256 pfsync_print_del_c(netdissect_options *ndo, const void *bp) argument
265 pfsync_print_bus(netdissect_options *ndo, const void *bp) argument
295 pfsync_print_tdb(netdissect_options *ndo, const void *bp) argument
305 print_host(netdissect_options *ndo, struct pf_addr *addr, uint16_t port, sa_family_t af, const char *proto) argument
320 print_seq(netdissect_options *ndo, const struct pfsync_state_peer *p) argument
331 print_src_dst(netdissect_options *ndo, const struct pfsync_state_peer *src, const struct pfsync_state_peer *dst, uint8_t proto) argument
378 print_state(netdissect_options *ndo, struct pfsync_state *s) argument
[all...]
H A Dprint-lisp.c232 void lisp_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
255 lisp_hdr_flag(ndo, lisp_hdr);
270 if (ndo->ndo_vflag) {
272 ND_PRINT((ndo, "\n %u record(s), ", record_count));
273 ND_PRINT((ndo, "Authentication %s,",
275 hex_print(ndo, "\n Authentication-Data: ", packet_iterator +
278 ND_PRINT((ndo, " %u record(s),", record_count));
289 ND_PRINT((ndo, "\n"));
297 if (ndo->ndo_vflag) {
299 ND_PRINT((ndo, " Recor
407 lisp_hdr_flag(netdissect_options *ndo, const lisp_map_register_hdr *lisp_hdr) argument
429 action_flag(netdissect_options *ndo, uint8_t act_auth_inc_res) argument
445 loc_hdr_flag(netdissect_options *ndo, uint16_t flag) argument
[all...]
H A Dprint-dtp.c47 dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length) argument
59 ND_PRINT((ndo, "DTPv%u, length %u",
66 if (ndo->ndo_vflag < 1) {
80 ND_PRINT((ndo, "\n\t%s (0x%04x) TLV, length %u",
91 ND_PRINT((ndo, ", "));
92 fn_printzp(ndo, tptr+4, len-4, pptr+length);
99 ND_PRINT((ndo, ", 0x%x", *(tptr+4)));
105 ND_PRINT((ndo, ", %s", etheraddr_string(ndo, tptr+4)));
117 ND_PRINT((ndo, "
[all...]
H A Dprint-mobility.c115 mobility_opt_print(netdissect_options *ndo, argument
138 ND_PRINT((ndo, "(pad1)"));
142 ND_PRINT((ndo, "(padn: trunc)"));
145 ND_PRINT((ndo, "(padn)"));
149 ND_PRINT((ndo, "(refresh: trunc)"));
154 ND_PRINT((ndo, "(refresh: %u)",
159 ND_PRINT((ndo, "(altcoa: trunc)"));
163 ND_PRINT((ndo, "(alt-CoA: %s)", ip6addr_string(ndo, &bp[i+2])));
167 ND_PRINT((ndo, "(n
202 mobility_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_) argument
[all...]
H A Dprint-rt6.c39 rt6_print(netdissect_options *ndo, register const u_char *bp, const u_char *bp2 _U_) argument
50 ep = ndo->ndo_snapend;
55 ND_PRINT((ndo, "srcrt (len=%d", dp->ip6r_len)); /*)*/
56 ND_PRINT((ndo, ", type=%d", dp->ip6r_type));
57 ND_PRINT((ndo, ", segleft=%d", dp->ip6r_segleft));
65 if (EXTRACT_32BITS(dp0->ip6r0_reserved) || ndo->ndo_vflag) {
66 ND_PRINT((ndo, ", rsv=0x%0x",
78 ND_PRINT((ndo, ", [%d]%s", i, ip6addr_string(ndo, addr)));
82 ND_PRINT((ndo, ") "));
[all...]
H A Dprint-ospf.c184 ospf_print_grace_lsa(netdissect_options *ndo, argument
193 ND_PRINT((ndo, "\n\t Remaining LS length %u < 4", ls_length));
201 ND_PRINT((ndo, "\n\t %s TLV (%u), length %u, value: ",
207 ND_PRINT((ndo, "\n\t Bogus length %u > %u", tlv_length,
222 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length));
225 ND_PRINT((ndo, "%us", EXTRACT_32BITS(tptr)));
230 ND_PRINT((ndo, "\n\t Bogus length %u != 1", tlv_length));
233 ND_PRINT((ndo, "%s (%u)",
240 ND_PRINT((ndo, "\n\t Bogus length %u != 4", tlv_length));
243 ND_PRINT((ndo, "
267 ospf_print_te_lsa(netdissect_options *ndo, const uint8_t *tptr, u_int ls_length) argument
513 ospf_print_lshdr(netdissect_options *ndo, register const struct lsa_hdr *lshp) argument
581 ospf_print_tos_metrics(netdissect_options *ndo, const union un_tos *tos) argument
615 ospf_print_lsa(netdissect_options *ndo, register const struct lsa *lsap) argument
888 ospf_decode_lls(netdissect_options *ndo, register const struct ospfhdr *op, register u_int length) argument
980 ospf_decode_v2(netdissect_options *ndo, register const struct ospfhdr *op, register const u_char *dataend) argument
1110 ospf_print(netdissect_options *ndo, register const u_char *bp, register u_int length, const u_char *bp2 _U_) argument
[all...]

Completed in 269 milliseconds

1234567