HomeSort by relevance Sort by last modified time
    Searched refs:ndo (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /external/tcpdump/
print-vjc.c 76 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_)
82 if (ndo->ndo_eflag)
83 ND_PRINT((ndo, "(vjc type=IP) "));
86 if (ndo->ndo_eflag)
87 ND_PRINT((ndo, "(vjc type=raw TCP) "));
90 if (ndo->ndo_eflag)
91 ND_PRINT((ndo, "(vjc type=compressed TCP) "));
94 ND_PRINT((ndo, "%c", "?CI?SAWU"[i]));
97 ND_PRINT((ndo, " "));
98 ND_PRINT((ndo, "C=0x%02x ", bp[2]))
    [all...]
print-igmp.c 105 print_mtrace(netdissect_options *ndo,
112 ND_PRINT((ndo, " [invalid len %d]", len));
115 ND_PRINT((ndo, "mtrace %u: %s to %s reply-to %s",
117 ipaddr_string(ndo, &tr->tr_src), ipaddr_string(ndo, &tr->tr_dst),
118 ipaddr_string(ndo, &tr->tr_raddr)));
120 ND_PRINT((ndo, " with-ttl %d", TR_GETTTL(EXTRACT_32BITS(&tr->tr_rttlqid))));
123 ND_PRINT((ndo, "%s", tstr));
127 print_mresp(netdissect_options *ndo,
134 ND_PRINT((ndo, " [invalid len %d]", len))
    [all...]
print-msdp.c 33 msdp_print(netdissect_options *ndo, const u_char *sp, u_int length)
43 ND_PRINT((ndo, " msdp:"));
48 if (len > 1400 || ndo->ndo_vflag)
49 ND_PRINT((ndo, " [len %u]", len));
58 ND_PRINT((ndo, " SA"));
60 ND_PRINT((ndo, " SA-Response"));
62 ND_PRINT((ndo, " %u entries", *sp));
64 ND_PRINT((ndo, " [w/data]"));
65 if (ndo->ndo_vflag > 1) {
66 ND_PRINT((ndo, " "));
    [all...]
print-calm-fast.c 39 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length)
46 ND_PRINT((ndo, "CALM FAST src:%s; ", etheraddr_string(ndo, eth+6)));
47 ND_PRINT((ndo, "SrcNwref:%d; ", srcNwref));
48 ND_PRINT((ndo, "DstNwref:%d; ", dstNwref));
50 if (ndo->ndo_vflag)
print-ether.c 90 ether_hdr_print(netdissect_options *ndo,
98 ND_PRINT((ndo, "%s > %s",
99 etheraddr_string(ndo, ESRC(ep)),
100 etheraddr_string(ndo, EDST(ep))));
103 if (!ndo->ndo_qflag) {
105 ND_PRINT((ndo, ", 802.3"));
107 ND_PRINT((ndo, ", ethertype %s (0x%04x)",
112 ND_PRINT((ndo, ", 802.3"));
114 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ether_type)));
117 ND_PRINT((ndo, ", length %u: ", length))
    [all...]
print-dvmrp.c 68 dvmrp_print(netdissect_options *ndo,
74 ep = (const u_char *)ndo->ndo_snapend;
88 ND_PRINT((ndo, " Probe"));
89 if (ndo->ndo_vflag) {
90 if (print_probe(ndo, bp, ep, len) < 0)
96 ND_PRINT((ndo, " Report"));
97 if (ndo->ndo_vflag > 1) {
98 if (print_report(ndo, bp, ep, len) < 0)
104 ND_PRINT((ndo, " Ask-neighbors(old)"));
108 ND_PRINT((ndo, " Neighbors(old)"))
    [all...]
print-null.c 55 null_hdr_print(netdissect_options *ndo, u_int family, u_int length)
57 if (!ndo->ndo_qflag) {
58 ND_PRINT((ndo, "AF %s (%u)",
61 ND_PRINT((ndo, "%s",
65 ND_PRINT((ndo, ", length %u: ", length));
75 null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
82 ND_PRINT((ndo, "[|null]"));
99 if (ndo->ndo_eflag)
100 null_hdr_print(ndo, family, length);
109 ip_print(ndo, p, length)
    [all...]
print-hsrp.c 95 hsrp_print(netdissect_options *ndo, register const uint8_t *bp, register u_int len)
100 ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version));
104 ND_PRINT((ndo, "-"));
105 ND_PRINT((ndo, "%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)));
106 ND_PRINT((ndo, "%d: ", len));
108 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)));
110 ND_PRINT((ndo, "group=%d ", hp->hsrp_group));
113 ND_PRINT((ndo, "[reserved=%d!] ", hp->hsrp_reserved));
116 ND_PRINT((ndo, "addr=%s", ipaddr_string(ndo, &hp->hsrp_virtaddr)))
    [all...]
print-sll.c 134 sll_print(netdissect_options *ndo, register const struct sll_header *sllp, u_int length)
138 ND_PRINT((ndo, "%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype))));
146 ND_PRINT((ndo, "%s ", etheraddr_string(ndo, sllp->sll_addr)));
148 if (!ndo->ndo_qflag) {
161 ND_PRINT((ndo, "802.3"));
168 ND_PRINT((ndo, "802.2"));
175 ND_PRINT((ndo, "ethertype Unknown (0x%04x)",
180 ND_PRINT((ndo, "ethertype %s (0x%04x)",
184 ND_PRINT((ndo, ", length %u: ", length))
    [all...]
print-ap1394.c 52 ap1394_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int length)
59 ND_PRINT((ndo, "%s > %s",
60 linkaddr_string(ndo, fp->firewire_dhost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN),
61 linkaddr_string(ndo, fp->firewire_shost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN)));
64 if (!ndo->ndo_qflag) {
65 ND_PRINT((ndo, ", ethertype %s (0x%04x)",
69 ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", firewire_type)));
72 ND_PRINT((ndo, ", length %u: ", length));
82 ap1394_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
90 ND_PRINT((ndo, "[|ap1394]"))
    [all...]
print-gre.c 86 gre_print(netdissect_options *ndo, const u_char *bp, u_int length)
91 ND_PRINT((ndo, "%s", tstr));
95 ND_PRINT((ndo, "GREv%u",vers));
99 gre_print_0(ndo, bp, len);
102 gre_print_1(ndo, bp, len);
105 ND_PRINT((ndo, " ERROR: unknown-version"));
111 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length)
117 if (ndo->ndo_vflag)
118 ND_PRINT((ndo, ", Flags [%s]",
133 if (ndo->ndo_vflag
    [all...]
print-raw.c 36 raw_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
38 if (ndo->ndo_eflag)
39 ND_PRINT((ndo, "ip: "));
41 ipN_print(ndo, p, h->len);
print-msnlb.c 50 msnlb_print(netdissect_options *ndo, const u_char *bp)
57 ND_PRINT((ndo, "MS NLB heartbeat, host priority: %u,",
59 ND_PRINT((ndo, " cluster IP: %s,", ipaddr_string(ndo, &(hb->virtual_ip))));
60 ND_PRINT((ndo, " host IP: %s", ipaddr_string(ndo, &(hb->host_ip))));
63 ND_PRINT((ndo, "[|MS NLB]"));
print-otv.c 39 otv_print(netdissect_options *ndo, const u_char *bp, u_int len)
46 ND_PRINT((ndo, "[|OTV]"));
59 ND_PRINT((ndo, "OTV, "));
60 ND_PRINT((ndo, "flags [%s] (0x%02x), ", flags & 0x08 ? "I" : ".", flags));
61 ND_PRINT((ndo, "overlay %u, ", overlay_id));
62 ND_PRINT((ndo, "instance %u\n", instance_id));
64 ether_print(ndo, bp, len - 8, len - 8, NULL, NULL);
print-cdp.c 93 cdp_print(netdissect_options *ndo,
100 ND_PRINT((ndo, "%s", tstr));
107 ND_PRINT((ndo, "CDPv%u, ttl: %us", *(tptr + CDP_HEADER_VERSION_OFFSET),
109 if (ndo->ndo_vflag)
110 ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKSUM_OFFSET), length));
118 if (ndo->ndo_vflag)
119 ND_PRINT((ndo, "\n\t%s (0x%02x), TLV length: %u byte%s (too short)",
125 ND_PRINT((ndo, ", %s TLV length %u too short",
135 if (ndo->ndo_vflag || type == 1) { /* in non-verbose mode just print Device-ID */
137 if (ndo->ndo_vflag
    [all...]
print-nfs.c 203 print_nfsaddr(netdissect_options *ndo,
221 strlcpy(srcaddr, ipaddr_string(ndo, &ip->ip_src), sizeof(srcaddr));
222 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr));
227 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src),
229 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst),
239 ND_PRINT((ndo, "%s.%s > %s.%s: ", srcaddr, s, dstaddr, d));
243 parse_sattr3(netdissect_options *ndo,
312 print_sattr3(netdissect_options *ndo,
316 ND_PRINT((ndo, " mode %o", sa3->sa_mode));
318 ND_PRINT((ndo, " uid %u", sa3->sa_uid))
    [all...]
print-ipx.c 72 ipx_print(netdissect_options *ndo, const u_char *p, u_int length)
76 if (!ndo->ndo_eflag)
77 ND_PRINT((ndo, "IPX "));
80 ND_PRINT((ndo, "%s.%04x > ",
84 ND_PRINT((ndo, "%s.%04x: ",
92 ipx_decode(ndo, ipx, (u_char *)ipx + ipxSize, length - ipxSize);
95 ND_PRINT((ndo, "[|ipx %d]", length));
110 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length)
117 ND_PRINT((ndo, "ipx-ncp %d", length));
120 ipx_sap_print(ndo, (u_short *)datap, length)
    [all...]
print-usb.c 83 usb_header_print(netdissect_options *ndo, const pcap_usb_header *uh)
90 ND_PRINT((ndo, "ISOCHRONOUS"));
93 ND_PRINT((ndo, "INTERRUPT"));
96 ND_PRINT((ndo, "CONTROL"));
99 ND_PRINT((ndo, "BULK"));
102 ND_PRINT((ndo, " ?"));
108 ND_PRINT((ndo, " SUBMIT"));
111 ND_PRINT((ndo, " COMPLETE"));
114 ND_PRINT((ndo, " ERROR"));
117 ND_PRINT((ndo, " ?"))
    [all...]
print-ip6opts.c 45 ip6_sopt_print(netdissect_options *ndo, const u_char *bp, int len)
64 ND_PRINT((ndo, ", pad1"));
68 ND_PRINT((ndo, ", padn: trunc"));
71 ND_PRINT((ndo, ", padn"));
75 ND_PRINT((ndo, ", sopt_type %d: trunc)", bp[i]));
78 ND_PRINT((ndo, ", sopt_type 0x%02x: len=%d", bp[i], bp[i + 1]));
85 ND_PRINT((ndo, "[trunc] "));
89 ip6_opt_print(netdissect_options *ndo, const u_char *bp, int len)
110 ND_PRINT((ndo, "(pad1)"));
114 ND_PRINT((ndo, "(padn: trunc)"))
    [all...]
print-ah.c 37 ah_print(netdissect_options *ndo, register const u_char *bp)
45 ep = ndo->ndo_snapend; /* 'ep' points to the end of available data. */
52 ND_PRINT((ndo, "AH(spi=0x%08x", spi));
53 if (ndo->ndo_vflag)
54 ND_PRINT((ndo, ",sumlen=%d", sumlen));
55 ND_PRINT((ndo, ",seq=0x%x", EXTRACT_32BITS(ah + 1)));
57 ND_PRINT((ndo, "[truncated]"));
58 ND_PRINT((ndo, "): "));
62 ND_PRINT((ndo, "[|AH]"));
print-beep.c 40 beep_print(netdissect_options *ndo, const u_char *bp, u_int length)
44 ND_PRINT((ndo, " BEEP MSG"));
46 ND_PRINT((ndo, " BEEP RPY"));
48 ND_PRINT((ndo, " BEEP ERR"));
50 ND_PRINT((ndo, " BEEP ANS"));
52 ND_PRINT((ndo, " BEEP NUL"));
54 ND_PRINT((ndo, " BEEP SEQ"));
56 ND_PRINT((ndo, " BEEP END"));
58 ND_PRINT((ndo, " BEEP (payload or undecoded)"));
print-domain.c 52 ns_nskip(netdissect_options *ndo,
85 blabel_print(netdissect_options *ndo,
100 ND_PRINT((ndo, "\\[x"));
103 ND_PRINT((ndo, "%02x", *bitp));
108 ND_PRINT((ndo, "%02x", tc & (0xff << (8 - b))));
112 ND_PRINT((ndo, "%1x", ((tc >> 4) & 0x0f) & (0x0f << (4 - b))));
114 ND_PRINT((ndo, "/%d]", bitlen));
117 ND_PRINT((ndo, ".../%d]", bitlen));
122 labellen(netdissect_options *ndo,
133 ND_PRINT((ndo, "<ELT %d>", elt))
    [all...]
print-symantec.c 42 symantec_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int length)
50 if (!ndo->ndo_qflag) {
52 ND_PRINT((ndo, "invalid ethertype %u", etype));
54 ND_PRINT((ndo, "ethertype %s (0x%04x)",
59 ND_PRINT((ndo, "invalid ethertype %u", etype));
61 ND_PRINT((ndo, "%s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", etype)));
64 ND_PRINT((ndo, ", length %u: ", length));
74 symantec_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
82 ND_PRINT((ndo, "[|symantec]"));
86 if (ndo->ndo_eflag
    [all...]
print-dhcp6.c 276 dhcp6opt_print(netdissect_options *ndo,
302 ND_PRINT((ndo, " (%s", tok2str(dh6opt_str, "opt_%u", opttype)));
308 ND_PRINT((ndo, " ?)"));
315 ND_PRINT((ndo, " hwaddr/time type %u time %u ",
319 ND_PRINT((ndo, "%02x", tp[i]));
321 ND_PRINT((ndo, ")"));
324 ND_PRINT((ndo, " ?)"));
329 ND_PRINT((ndo, " vid "));
331 ND_PRINT((ndo, "%02x", tp[i]));
333 ND_PRINT((ndo, ")"));
    [all...]
print-krb.c 96 c_print(netdissect_options *ndo,
111 ND_PRINT((ndo, "M-"));
115 ND_PRINT((ndo, "^"));
117 ND_PRINT((ndo, "%c", c));
125 krb4_print_hdr(netdissect_options *ndo,
130 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc
133 ND_PRINT((ndo, "."));
135 ND_PRINT((ndo, "@"));
140 ND_PRINT((ndo, "%s", tstr))
    [all...]

Completed in 363 milliseconds

1 2 3 4 5 6 7