Searched refs:ndo (Results 26 - 50 of 157) sorted by relevance

1234567

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-vxlan-gpe.c61 vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len) argument
81 ND_PRINT((ndo, "VXLAN-GPE, "));
82 ND_PRINT((ndo, "flags [%s], ",
84 ND_PRINT((ndo, "vni %u", vni));
85 ND_PRINT((ndo, ndo->ndo_vflag ? "\n " : ": "));
89 ip_print(ndo, bp, len - 8);
92 ip6_print(ndo, bp, len - 8);
95 ether_print(ndo, bp, len - 8, ndo
[all...]
H A Dprint-ap1394.c53 fwaddr_string(netdissect_options *ndo, const u_char *addr) argument
55 return (linkaddr_string(ndo, addr, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN));
59 ap1394_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int length) argument
66 ND_PRINT((ndo, "%s > %s",
67 fwaddr_string(ndo, fp->firewire_shost),
68 fwaddr_string(ndo, fp->firewire_dhost)));
71 if (!ndo->ndo_qflag) {
72 ND_PRINT((ndo, ", ethertype %s (0x%04x)",
76 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", firewire_type)));
79 ND_PRINT((ndo, ", lengt
89 ap1394_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
[all...]
H A Dprint-symantec.c43 symantec_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int length) argument
51 if (!ndo->ndo_qflag) {
53 ND_PRINT((ndo, "invalid ethertype %u", etype));
55 ND_PRINT((ndo, "ethertype %s (0x%04x)",
60 ND_PRINT((ndo, "invalid ethertype %u", etype));
62 ND_PRINT((ndo, "%s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", etype)));
65 ND_PRINT((ndo, ", length %u: ", length));
75 symantec_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
83 ND_PRINT((ndo, "[|symantec]"));
87 if (ndo
[all...]
H A Dprint-ipnet.c37 ipnet_hdr_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
43 ND_PRINT((ndo, "%d > %d", EXTRACT_32BITS(hdr->iph_zsrc),
46 if (!ndo->ndo_qflag) {
47 ND_PRINT((ndo,", family %s (%d)",
52 ND_PRINT((ndo,", %s",
58 ND_PRINT((ndo, ", length %u: ", length));
61 ND_PRINT((ndo, " %s", tstr));
65 ipnet_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) argument
72 if (ndo->ndo_eflag)
73 ipnet_hdr_print(ndo,
112 ipnet_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
[all...]
H A Dprint-krb.c97 c_print(netdissect_options *ndo, argument
112 ND_PRINT((ndo, "M-"));
116 ND_PRINT((ndo, "^"));
118 ND_PRINT((ndo, "%c", c));
126 krb4_print_hdr(netdissect_options *ndo, argument
131 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc
134 ND_PRINT((ndo, "."));
136 ND_PRINT((ndo, "@"));
141 ND_PRINT((ndo, "
148 krb4_print(netdissect_options *ndo, const u_char *cp) argument
226 krb_print(netdissect_options *ndo, const u_char *dat) argument
[all...]
H A Dprint-l2tp.c269 print_string(netdissect_options *ndo, const u_char *dat, u_int length) argument
273 ND_PRINT((ndo, "%c", *dat++));
278 print_octets(netdissect_options *ndo, const u_char *dat, u_int length) argument
282 ND_PRINT((ndo, "%02x", *dat++));
287 print_16bits_val(netdissect_options *ndo, const uint8_t *dat) argument
289 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat)));
293 print_32bits_val(netdissect_options *ndo, const uint8_t *dat) argument
295 ND_PRINT((ndo, "%u", EXTRACT_32BITS(dat)));
302 l2tp_msgtype_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
305 ND_PRINT((ndo, "AV
313 l2tp_result_code_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
343 l2tp_proto_ver_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
354 l2tp_framing_cap_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
369 l2tp_bearer_cap_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
384 l2tp_q931_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
401 l2tp_bearer_type_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
416 l2tp_framing_type_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
431 l2tp_packet_proc_delay_print(netdissect_options *ndo) argument
437 l2tp_proxy_auth_type_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
448 l2tp_proxy_auth_id_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
458 l2tp_call_errors_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
513 l2tp_accm_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
540 l2tp_ppp_discon_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
567 l2tp_avp_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
737 l2tp_print(netdissect_options *ndo, const u_char *dat, u_int length) argument
[all...]
H A Dprint-ether.c92 ether_hdr_print(netdissect_options *ndo, argument
100 ND_PRINT((ndo, "%s > %s",
101 etheraddr_string(ndo, ESRC(ep)),
102 etheraddr_string(ndo, EDST(ep))));
105 if (!ndo->ndo_qflag) {
107 ND_PRINT((ndo, ", 802.3"));
110 ND_PRINT((ndo, ", ethertype %s (0x%04x)",
115 ND_PRINT((ndo, ", 802.3"));
118 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", length_type)));
121 ND_PRINT((ndo, ", lengt
133 ether_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, void (*print_encap_header)(netdissect_options *ndo, const u_char *), const u_char *encap_header_arg) argument
258 ether_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
274 netanalyzer_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
300 netanalyzer_transparent_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
325 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen, const struct lladdr_info *src, const struct lladdr_info *dst) argument
[all...]
H A Dprint-dccp.c200 static int dccp_cksum(netdissect_options *ndo, const struct ip *ip, argument
203 return nextproto4_cksum(ndo, ip, (const uint8_t *)(const void *)dh, len,
207 static int dccp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, argument
210 return nextproto6_cksum(ndo, ip6, (const uint8_t *)(const void *)dh, len,
241 static void dccp_print_ack_no(netdissect_options *ndo, const u_char *bp) argument
255 ND_PRINT((ndo, "(ack=%" PRIu64 ") ", ackno));
268 void dccp_print(netdissect_options *ndo, const u_char *bp, const u_char *data2, argument
290 if (cp > ndo->ndo_snapend) {
291 ND_PRINT((ndo, "[Invalid packet|dccp]"));
295 ND_PRINT((ndo, "truncate
534 dccp_print_option(netdissect_options *ndo, const u_char *option, u_int hlen) argument
[all...]
H A Dprint-zeromq.c77 zmtp1_print_frame(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
82 ND_PRINT((ndo, "\n\t"));
88 ND_PRINT((ndo, " frame flags+body (8-bit) length %" PRIu64, body_len_declared));
91 ND_PRINT((ndo, " frame flags+body (64-bit) length"));
94 ND_PRINT((ndo, " %" PRIu64, body_len_declared));
103 ND_PRINT((ndo, " (%" PRIu64 " captured)", body_len_captured));
104 ND_PRINT((ndo, ", flags 0x%02x", flags));
106 if (ndo->ndo_vflag) {
109 ND_PRINT((ndo, " (%s|%s|%s|%s|%s|%s|%s|%s)",
119 if (ndo
144 zmtp1_print(netdissect_options *ndo, const u_char *cp, u_int len) argument
170 zmtp1_print_intermediate_part(netdissect_options *ndo, const u_char *cp, const u_int len) argument
213 zmtp1_print_datagram(netdissect_options *ndo, const u_char *cp, const u_int len) argument
[all...]
H A Dprint-rx.c525 rx_print(netdissect_options *ndo, argument
533 if (ndo->ndo_snapend - bp < (int)sizeof (struct rx_header)) {
534 ND_PRINT((ndo, " [|rx] (%d)", length));
540 ND_PRINT((ndo, " rx %s", tok2str(rx_types, "type %d", rxh->type)));
542 if (ndo->ndo_vflag) {
545 if (ndo->ndo_vflag > 1)
546 ND_PRINT((ndo, " cid %08x call# %d",
550 ND_PRINT((ndo, " seq %d ser %d",
554 if (ndo->ndo_vflag > 2)
555 ND_PRINT((ndo, " secinde
679 rx_cache_insert(netdissect_options *ndo, const u_char *bp, const struct ip *ip, int dport) argument
885 fs_print(netdissect_options *ndo, register const u_char *bp, int length) argument
1059 fs_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
1147 acl_print(netdissect_options *ndo, u_char *s, int maxsize, u_char *end) argument
1220 cb_print(netdissect_options *ndo, register const u_char *bp, int length) argument
1305 cb_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
1355 prot_print(netdissect_options *ndo, register const u_char *bp, int length) argument
1499 prot_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
1612 vldb_print(netdissect_options *ndo, register const u_char *bp, int length) argument
1706 vldb_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
1896 kauth_print(netdissect_options *ndo, register const u_char *bp, int length) argument
1990 kauth_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
2042 vol_print(netdissect_options *ndo, register const u_char *bp, int length) argument
2244 vol_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
2379 bos_print(netdissect_options *ndo, register const u_char *bp, int length) argument
2471 bos_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
2530 ubik_print(netdissect_options *ndo, register const u_char *bp) argument
2645 ubik_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument
2709 rx_ack_print(netdissect_options *ndo, register const u_char *bp, int length) argument
[all...]
H A Dprint-hncp.c45 hncp_print_rec(netdissect_options *ndo,
49 hncp_print(netdissect_options *ndo, argument
52 ND_PRINT((ndo, "hncp (%d)", length));
53 hncp_print_rec(ndo, cp, length, 1);
195 format_ip6addr(netdissect_options *ndo, const u_char *cp) argument
198 return ipaddr_string(ndo, cp + IPV4_MAPPED_HEADING_LEN);
200 return ip6addr_string(ndo, cp);
204 print_prefix(netdissect_options *ndo, const u_char *prefix, u_int max_length) argument
228 snprintf(buf, sizeof(buf), "%s/%d", ipaddr_string(ndo, &addr), plen);
231 plenbytes = decode_prefix6(ndo, prefi
241 print_dns_label(netdissect_options *ndo, const u_char *cp, u_int max_length, int print) argument
266 dhcpv4_print(netdissect_options *ndo, const u_char *cp, u_int length, int indent) argument
318 dhcpv6_print(netdissect_options *ndo, const u_char *cp, u_int length, int indent) argument
372 is_in_line(netdissect_options *ndo, int indent) argument
378 print_type_in_line(netdissect_options *ndo, uint32_t type, int count, int indent, int *first_one) argument
402 hncp_print_rec(netdissect_options *ndo, const u_char *cp, u_int length, int indent) argument
[all...]
H A Dprint-mpls.c60 mpls_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
68 ND_PRINT((ndo, "MPLS"));
72 ND_PRINT((ndo, "[|MPLS], length %u", length));
76 ND_PRINT((ndo, "%s(label %u",
77 (label_stack_depth && ndo->ndo_vflag) ? "\n\t" : " ",
80 if (ndo->ndo_vflag &&
82 ND_PRINT((ndo, " (%s)", mpls_labelname[MPLS_LABEL(label_entry)]));
83 ND_PRINT((ndo, ", exp %u", MPLS_EXP(label_entry)));
85 ND_PRINT((ndo, ", [S]"));
86 ND_PRINT((ndo, ", tt
[all...]
H A Dprint-mobile.c66 mobile_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
76 ND_PRINT((ndo, "[|mobile]"));
79 ND_PRINT((ndo, "mobile: "));
88 ND_PRINT((ndo, "[S] "));
89 if (ndo->ndo_vflag)
90 ND_PRINT((ndo, "%s ", ipaddr_string(ndo, &mob->osrc)));
92 ND_PRINT((ndo, "[] "));
94 if (ndo->ndo_vflag) {
95 ND_PRINT((ndo, ">
[all...]
H A Dprint-snmp.c334 ND_PRINT((ndo, suppressdot?"%s":".%s", objp->desc)); \
337 ND_PRINT((ndo, suppressdot?"%u":".%u", (o))); \
419 asn1_parse(netdissect_options *ndo, argument
428 ND_PRINT((ndo, "[nothing to parse]"));
469 ND_PRINT((ndo, "[Xtagfield?]"));
479 ND_PRINT((ndo, "[Xtagfield?]"));
489 ND_PRINT((ndo, "[no asnlen]"));
499 ND_PRINT((ndo, "[asnlen? %d<%d]", len, noct));
507 ND_PRINT((ndo, "[len%d<asnlen%u]", len, elem->asnlen));
511 ND_PRINT((ndo, "[for
674 asn1_print_octets(netdissect_options *ndo, struct be *elem) argument
691 asn1_print_string(netdissect_options *ndo, struct be *elem) argument
729 asn1_print(netdissect_options *ndo, struct be *elem) argument
912 smi_decode_oid(netdissect_options *ndo, struct be *elem, unsigned int *oid, unsigned int oidsize, unsigned int *oidlen) argument
1043 smi_print_variable(netdissect_options *ndo, struct be *elem, int *status) argument
1077 smi_print_value(netdissect_options *ndo, SmiNode *smiNode, u_short pduid, struct be *elem) argument
1222 varbind_print(netdissect_options *ndo, u_short pduid, const u_char *np, u_int length) argument
1319 snmppdu_print(netdissect_options *ndo, u_short pduid, const u_char *np, u_int length) argument
1396 trappdu_print(netdissect_options *ndo, const u_char *np, u_int length) argument
1487 pdu_print(netdissect_options *ndo, const u_char *np, u_int length, int version) argument
1549 scopedpdu_print(netdissect_options *ndo, const u_char *np, u_int length, int version) argument
1605 community_print(netdissect_options *ndo, const u_char *np, u_int length, int version) argument
1639 usm_print(netdissect_options *ndo, const u_char *np, u_int length) argument
1739 v3msg_print(netdissect_options *ndo, const u_char *np, u_int length) argument
1876 snmp_print(netdissect_options *ndo, const u_char *np, u_int length) argument
[all...]
H A Dprint-lmp.c360 lmp_print_data_link_subobjs(netdissect_options *ndo, const u_char *obj_tptr, argument
375 ND_PRINT((ndo, "\n\t Subobject, Type: %s (%u), Length: %u",
382 ND_PRINT((ndo, " (too short)"));
386 ND_PRINT((ndo, " (not a multiple of 4)"));
390 ND_PRINT((ndo, " (goes past the end of the object)"));
396 ND_PRINT((ndo, "\n\t Switching Type: %s (%u)",
402 ND_PRINT((ndo, "\n\t Encoding Type: %s (%u)",
409 ND_PRINT((ndo, "\n\t Min Reservable Bandwidth: %.3f Mbps",
413 ND_PRINT((ndo, "\n\t Max Reservable Bandwidth: %.3f Mbps",
418 ND_PRINT((ndo, "\
435 lmp_print(netdissect_options *ndo, register const u_char *pptr, register u_int len) argument
[all...]
H A Dprint-wb.c180 wb_id(netdissect_options *ndo, argument
189 ND_PRINT((ndo, " wb-id:"));
194 ND_PRINT((ndo, " %u/%s:%u (max %u/%s:%u) ",
196 ipaddr_string(ndo, &id->pi_ps.page.p_sid),
199 ipaddr_string(ndo, &id->pi_mpage.p_sid),
207 ND_PRINT((ndo, "\""));
208 fn_print(ndo, (const u_char *)cp, (const u_char *)cp + len);
209 ND_PRINT((ndo, "\""));
214 ND_PRINT((ndo, "%c%s:%u",
215 c, ipaddr_string(ndo,
226 wb_rreq(netdissect_options *ndo, const struct pkt_rreq *rreq, u_int len) argument
243 wb_preq(netdissect_options *ndo, const struct pkt_preq *preq, u_int len) argument
258 wb_prep(netdissect_options *ndo, const struct pkt_prep *prep, u_int len) argument
311 wb_dops(netdissect_options *ndo, const struct pkt_dop *dop, uint32_t ss, uint32_t es) argument
348 wb_rrep(netdissect_options *ndo, const struct pkt_rrep *rrep, u_int len) argument
373 wb_drawop(netdissect_options *ndo, const struct pkt_dop *dop, u_int len) argument
398 wb_print(netdissect_options *ndo, register const void *hdr, register u_int len) argument
[all...]
H A Dprint-pim.c143 pimv1_join_prune_print(netdissect_options *ndo, argument
154 ND_PRINT((ndo, " RPF %s ", ipaddr_string(ndo, bp)));
157 ND_PRINT((ndo, "Hold "));
158 unsigned_relts_print(ndo, hold);
160 ND_PRINT((ndo, "%s (%s/%d, %s", njoin ? "Join" : "Prune",
161 ipaddr_string(ndo, &bp[26]), bp[25] & 0x3f,
162 ipaddr_string(ndo, &bp[12])));
164 ND_PRINT((ndo, "/%s", ipaddr_string(ndo,
251 pimv1_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
345 cisco_autorp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument
455 pim_print(netdissect_options *ndo, register const u_char *bp, register u_int len, const u_char *bp2) argument
559 pimv2_addr_print(netdissect_options *ndo, const u_char *bp, u_int len, enum pimv2_addrtype at, u_int addr_len, int silent) argument
664 pimv2_check_checksum(netdissect_options *ndo, const u_char *bp, const u_char *bp2, u_int len) argument
694 pimv2_print(netdissect_options *ndo, register const u_char *bp, register u_int len, const u_char *bp2) argument
[all...]
H A Dprint-atalk.c64 static const struct atNBPtuple *nbp_tuple_print(netdissect_options *ndo, const struct atNBPtuple *,
77 ltalk_if_print(netdissect_options *ndo, argument
82 hdrlen = llap_print(ndo, p, h->len);
94 llap_print(netdissect_options *ndo, argument
104 ND_PRINT((ndo, " [|llap %u]", length));
108 ND_PRINT((ndo, " [|llap]"));
119 ND_PRINT((ndo, " [|sddp %u]", length));
123 ND_PRINT((ndo, " [|sddp]"));
127 ND_PRINT((ndo, "%s.%s",
128 ataddr_string(ndo,
179 atalk_print(netdissect_options *ndo, register const u_char *bp, u_int length) argument
210 aarp_print(netdissect_options *ndo, register const u_char *bp, u_int length) argument
254 ddp_print(netdissect_options *ndo, register const u_char *bp, register u_int length, register int t, register u_short snet, register u_char snode, u_char skt) argument
280 atp_print(netdissect_options *ndo, register const struct atATP *ap, u_int length) argument
377 atp_bitmap_print(netdissect_options *ndo, register u_char bm) argument
409 nbp_print(netdissect_options *ndo, register const struct atNBP *np, u_int length, register u_short snet, register u_char snode, register u_char skt) argument
477 print_cstring(netdissect_options *ndo, register const char *cp, register const u_char *ep) argument
504 nbp_tuple_print(netdissect_options *ndo, register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument
533 nbp_name_print(netdissect_options *ndo, const struct atNBPtuple *tp, register const u_char *ep) argument
567 ataddr_string(netdissect_options *ndo, u_short atnet, u_char athost) argument
651 ddpskt_string(netdissect_options *ndo, register int skt) argument
[all...]
H A Dprint-arp.c193 tpaddr_print_ip(netdissect_options *ndo, argument
197 ND_PRINT((ndo, "<wrong proto type>"));
199 ND_PRINT((ndo, "<wrong len>"));
201 ND_PRINT((ndo, "%s", ipaddr_string(ndo, TPA(ap))));
205 spaddr_print_ip(netdissect_options *ndo, argument
209 ND_PRINT((ndo, "<wrong proto type>"));
211 ND_PRINT((ndo, "<wrong len>"));
213 ND_PRINT((ndo, "%s", ipaddr_string(ndo, SP
217 atmarp_addr_print(netdissect_options *ndo, const u_char *ha, u_int ha_len, const u_char *srca, u_int srca_len) argument
232 atmarp_tpaddr_print(netdissect_options *ndo, const struct atmarp_pkthdr *ap, u_short pro) argument
244 atmarp_spaddr_print(netdissect_options *ndo, const struct atmarp_pkthdr *ap, u_short pro) argument
256 atmarp_print(netdissect_options *ndo, const u_char *bp, u_int length, u_int caplen) argument
357 arp_print(netdissect_options *ndo, const u_char *bp, u_int length, u_int caplen) argument
[all...]
H A Dprint-carp.c49 carp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, int ttl) argument
61 ND_PRINT((ndo, "CARPv%d-%s %d: ", version, type_s, len));
63 ND_PRINT((ndo, "[ttl=%d!] ", ttl));
68 ND_PRINT((ndo, "vhid=%d advbase=%d advskew=%d authlen=%d ",
70 if (ndo->ndo_vflag) {
75 ND_PRINT((ndo, " (bad carp cksum %x!)",
78 ND_PRINT((ndo, "counter=%" PRIu64, EXTRACT_64BITS(&bp[8])));
82 ND_PRINT((ndo, "[|carp]"));
H A Dprint-sip.c51 sip_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
53 txtproto_print(ndo, pptr, len, "sip", sipcmds, RESP_CODE_SECOND_TOKEN);
H A Dprint-smtp.c29 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
31 txtproto_print(ndo, pptr, len, "smtp", NULL, 0);
H A Dprint-ftp.c29 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
31 txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
H A Dprint-gre.c88 gre_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
96 ND_PRINT((ndo, "GREv%u",vers));
100 gre_print_0(ndo, bp, len);
103 gre_print_1(ndo, bp, len);
106 ND_PRINT((ndo, " ERROR: unknown-version"));
112 ND_PRINT((ndo, "%s", tstr));
117 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) argument
123 if (ndo->ndo_vflag)
124 ND_PRINT((ndo, ", Flags [%s]",
141 if (ndo
244 gre_print_1(netdissect_options *ndo, const u_char *bp, u_int length) argument
328 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument
352 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument
389 gre_sre_asn_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument
[all...]
H A Dprint-ripng.c97 rip6_entry_print(netdissect_options *ndo, register const struct netinfo6 *ni, int metric) argument
100 l = ND_PRINT((ndo, "%s/%d", ip6addr_string(ndo, &ni->rip6_dest), ni->rip6_plen));
102 l += ND_PRINT((ndo, " [%d]", EXTRACT_16BITS(&ni->rip6_tag)));
104 l += ND_PRINT((ndo, " (%d)", ni->rip6_metric));
109 ripng_print(netdissect_options *ndo, const u_char *dat, unsigned int length) argument
129 ND_PRINT((ndo, " ripng-req dump"));
134 ND_PRINT((ndo, " ripng-req %u[%u]:", j, length));
136 ND_PRINT((ndo, " ripng-req %u:", j));
140 if (ndo
[all...]

Completed in 284 milliseconds

1234567