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

1 2 3 4 5 6 7

  /external/tcpdump/
print-beep.c 31 l_strnstart(netdissect_options *ndo, const char *tstr1, u_int tl1,
49 beep_print(netdissect_options *ndo, const u_char *bp, u_int length)
52 if (l_strnstart(ndo, "MSG", 4, (const char *)bp, length)) /* A REQuest */
53 ND_PRINT((ndo, " BEEP MSG"));
54 else if (l_strnstart(ndo, "RPY ", 4, (const char *)bp, length))
55 ND_PRINT((ndo, " BEEP RPY"));
56 else if (l_strnstart(ndo, "ERR ", 4, (const char *)bp, length))
57 ND_PRINT((ndo, " BEEP ERR"));
58 else if (l_strnstart(ndo, "ANS ", 4, (const char *)bp, length))
59 ND_PRINT((ndo, " BEEP ANS"))
    [all...]
print-vjc.c 86 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_)
92 if (ndo->ndo_eflag)
93 ND_PRINT((ndo, "(vjc type=IP) "));
96 if (ndo->ndo_eflag)
97 ND_PRINT((ndo, "(vjc type=raw TCP) "));
100 if (ndo->ndo_eflag)
101 ND_PRINT((ndo, "(vjc type=compressed TCP) "));
104 ND_PRINT((ndo, "%c", "?CI?SAWU"[i]));
107 ND_PRINT((ndo, " "));
108 ND_PRINT((ndo, "C=0x%02x ", bp[2]))
    [all...]
print-igmp.c 106 print_mtrace(netdissect_options *ndo,
113 ND_PRINT((ndo, " [invalid len %d]", len));
116 ND_PRINT((ndo, "mtrace %u: %s to %s reply-to %s",
118 ipaddr_string(ndo, &tr->tr_src), ipaddr_string(ndo, &tr->tr_dst),
119 ipaddr_string(ndo, &tr->tr_raddr)));
121 ND_PRINT((ndo, " with-ttl %d", TR_GETTTL(EXTRACT_32BITS(&tr->tr_rttlqid))));
124 ND_PRINT((ndo, "%s", tstr));
128 print_mresp(netdissect_options *ndo,
135 ND_PRINT((ndo, " [invalid len %d]", len))
    [all...]
print-calm-fast.c 40 calm_fast_print(netdissect_options *ndo, const u_char *bp, u_int length, const struct lladdr_info *src)
53 ND_PRINT((ndo, "CALM FAST"));
55 ND_PRINT((ndo, " src:%s", (src->addr_string)(ndo, src->addr)));
56 ND_PRINT((ndo, "; "));
57 ND_PRINT((ndo, "SrcNwref:%d; ", srcNwref));
58 ND_PRINT((ndo, "DstNwref:%d; ", dstNwref));
60 if (ndo->ndo_vflag)
65 ND_PRINT((ndo, "[|calm fast]"));
print-802_15_4.c 65 ieee802_15_4_if_print(netdissect_options *ndo,
75 ND_PRINT((ndo, "[|802.15.4]"));
86 ND_PRINT((ndo,"IEEE 802.15.4 %s packet ", ftypes[FC_FRAME_TYPE(fc)]));
87 if (ndo->ndo_vflag)
88 ND_PRINT((ndo,"seq %02x ", seq));
101 ND_PRINT((ndo, "[|802.15.4]"));
104 if (ndo->ndo_vflag)
105 ND_PRINT((ndo,"none "));
108 if (ndo->ndo_vflag)
109 ND_PRINT((ndo,"reserved destination addressing mode"))
    [all...]
print-msdp.c 34 msdp_print(netdissect_options *ndo, const u_char *sp, u_int length)
44 ND_PRINT((ndo, " msdp:"));
49 if (len > 1400 || ndo->ndo_vflag)
50 ND_PRINT((ndo, " [len %u]", len));
59 ND_PRINT((ndo, " SA"));
61 ND_PRINT((ndo, " SA-Response"));
63 ND_PRINT((ndo, " %u entries", *sp));
65 ND_PRINT((ndo, " [w/data]"));
66 if (ndo->ndo_vflag > 1) {
67 ND_PRINT((ndo, " "));
    [all...]
print-ah.c 38 ah_print(netdissect_options *ndo, register const u_char *bp)
49 ND_PRINT((ndo, "AH(spi=0x%08x", EXTRACT_32BITS(&ah->ah_spi)));
50 if (ndo->ndo_vflag)
51 ND_PRINT((ndo, ",sumlen=%d", sumlen));
53 ND_PRINT((ndo, ",seq=0x%x", EXTRACT_32BITS(ah + 1)));
55 ND_PRINT((ndo, "[truncated]):"));
58 ND_PRINT((ndo, "): "));
62 ND_PRINT((ndo, "[|AH]"));
print-otv.c 42 otv_print(netdissect_options *ndo, const u_char *bp, u_int len)
46 ND_PRINT((ndo, "OTV, "));
52 ND_PRINT((ndo, "flags [%s] (0x%02x), ", flags & 0x08 ? "I" : ".", flags));
56 ND_PRINT((ndo, "overlay %u, ", EXTRACT_24BITS(bp)));
60 ND_PRINT((ndo, "instance %u\n", EXTRACT_24BITS(bp)));
67 ether_print(ndo, bp, len - 8, ndo->ndo_snapend - bp, NULL, NULL);
71 ND_PRINT((ndo, " [|OTV]"));
print-dvmrp.c 69 dvmrp_print(netdissect_options *ndo,
75 ep = (const u_char *)ndo->ndo_snapend;
89 ND_PRINT((ndo, " Probe"));
90 if (ndo->ndo_vflag) {
91 if (print_probe(ndo, bp, ep, len) < 0)
97 ND_PRINT((ndo, " Report"));
98 if (ndo->ndo_vflag > 1) {
99 if (print_report(ndo, bp, ep, len) < 0)
105 ND_PRINT((ndo, " Ask-neighbors(old)"));
109 ND_PRINT((ndo, " Neighbors(old)"))
    [all...]
print-null.c 56 null_hdr_print(netdissect_options *ndo, u_int family, u_int length)
58 if (!ndo->ndo_qflag) {
59 ND_PRINT((ndo, "AF %s (%u)",
62 ND_PRINT((ndo, "%s",
66 ND_PRINT((ndo, ", length %u: ", length));
76 null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
83 ND_PRINT((ndo, "[|null]"));
100 if (ndo->ndo_eflag)
101 null_hdr_print(ndo, family, length);
110 ip_print(ndo, p, length)
    [all...]
print-hsrp.c 96 hsrp_print(netdissect_options *ndo, register const uint8_t *bp, register u_int len)
101 ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version));
105 ND_PRINT((ndo, "-"));
106 ND_PRINT((ndo, "%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)));
107 ND_PRINT((ndo, "%d: ", len));
109 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)));
111 ND_PRINT((ndo, "group=%d ", hp->hsrp_group));
114 ND_PRINT((ndo, "[reserved=%d!] ", hp->hsrp_reserved));
117 ND_PRINT((ndo, "addr=%s", ipaddr_string(ndo, &hp->hsrp_virtaddr)))
    [all...]
print-raw.c 37 raw_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
39 if (ndo->ndo_eflag)
40 ND_PRINT((ndo, "ip: "));
42 ipN_print(ndo, p, h->len);
print.h 31 void init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask,
36 if_printer get_if_printer(netdissect_options *ndo, int type);
38 void pretty_print_packet(netdissect_options *ndo,
42 void ndo_set_function_pointers(netdissect_options *ndo);
print-msnlb.c 51 msnlb_print(netdissect_options *ndo, const u_char *bp)
58 ND_PRINT((ndo, "MS NLB heartbeat, host priority: %u,",
60 ND_PRINT((ndo, " cluster IP: %s,", ipaddr_string(ndo, &(hb->virtual_ip))));
61 ND_PRINT((ndo, " host IP: %s", ipaddr_string(ndo, &(hb->host_ip))));
64 ND_PRINT((ndo, "[|MS NLB]"));
print-vxlan.c 48 vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len)
64 ND_PRINT((ndo, "VXLAN, "));
65 ND_PRINT((ndo, "flags [%s] (0x%02x), ", flags & 0x08 ? "I" : ".", flags));
66 ND_PRINT((ndo, "vni %u\n", vni));
68 ether_print(ndo, bp, len - VXLAN_HDR_LEN, ndo->ndo_snapend - bp, NULL, NULL);
73 ND_PRINT((ndo, "%s", tstr));
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, p + 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, (const u_short *)datap, length)
    [all...]
print-cdp.c 94 cdp_print(netdissect_options *ndo,
101 ND_PRINT((ndo, "%s", tstr));
108 ND_PRINT((ndo, "CDPv%u, ttl: %us", *(tptr + CDP_HEADER_VERSION_OFFSET),
110 if (ndo->ndo_vflag)
111 ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKSUM_OFFSET), length));
119 if (ndo->ndo_vflag)
120 ND_PRINT((ndo, "\n\t%s (0x%02x), TLV length: %u byte%s (too short)",
126 ND_PRINT((ndo, ", %s TLV length %u too short",
136 if (ndo->ndo_vflag || type == 1) { /* in non-verbose mode just print Device-ID */
138 if (ndo->ndo_vflag
    [all...]
print-nfs.c 202 print_nfsaddr(netdissect_options *ndo,
213 strlcpy(srcaddr, ipaddr_string(ndo, &ip->ip_src), sizeof(srcaddr));
214 strlcpy(dstaddr, ipaddr_string(ndo, &ip->ip_dst), sizeof(dstaddr));
218 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src),
220 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst),
229 ND_PRINT((ndo, "%s.%s > %s.%s: ", srcaddr, s, dstaddr, d));
233 parse_sattr3(netdissect_options *ndo,
302 print_sattr3(netdissect_options *ndo,
306 ND_PRINT((ndo, " mode %o", sa3->sa_mode));
308 ND_PRINT((ndo, " uid %u", sa3->sa_uid))
    [all...]
print-sll.c 135 sll_print(netdissect_options *ndo, register const struct sll_header *sllp, u_int length)
139 ND_PRINT((ndo, "%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype))));
147 ND_PRINT((ndo, "%s ", etheraddr_string(ndo, sllp->sll_addr)));
149 if (!ndo->ndo_qflag) {
162 ND_PRINT((ndo, "802.3"));
169 ND_PRINT((ndo, "802.2"));
176 ND_PRINT((ndo, "ethertype Unknown (0x%04x)",
181 ND_PRINT((ndo, "ethertype %s (0x%04x)",
185 ND_PRINT((ndo, ", length %u: ", length))
    [all...]
print-nsh.c 49 nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
85 ND_PRINT((ndo, "NSH, "));
86 if (ndo->ndo_vflag > 1) {
87 ND_PRINT((ndo, "ver %d, ", ver));
89 ND_PRINT((ndo, "flags [%s], ", bittok2str_nosep(nsh_flags, "none", flags)));
90 if (ndo->ndo_vflag > 2) {
91 ND_PRINT((ndo, "length %d, ", length));
92 ND_PRINT((ndo, "md type 0x%x, ", md_type));
94 if (ndo->ndo_vflag > 1) {
95 ND_PRINT((ndo, "next-protocol 0x%x, ", next_protocol))
    [all...]
print-usb.c 84 usb_header_print(netdissect_options *ndo, const pcap_usb_header *uh)
91 ND_PRINT((ndo, "ISOCHRONOUS"));
94 ND_PRINT((ndo, "INTERRUPT"));
97 ND_PRINT((ndo, "CONTROL"));
100 ND_PRINT((ndo, "BULK"));
103 ND_PRINT((ndo, " ?"));
109 ND_PRINT((ndo, " SUBMIT"));
112 ND_PRINT((ndo, " COMPLETE"));
115 ND_PRINT((ndo, " ERROR"));
118 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-dhcp6.c 280 dhcp6opt_print(netdissect_options *ndo,
306 ND_PRINT((ndo, " (%s", tok2str(dh6opt_str, "opt_%u", opttype)));
313 ND_PRINT((ndo, " ?)"));
320 ND_PRINT((ndo, " hwaddr/time type %u time %u ",
324 ND_PRINT((ndo, "%02x", tp[i]));
326 ND_PRINT((ndo, ")"));
329 ND_PRINT((ndo, " ?)"));
334 ND_PRINT((ndo, " vid "));
336 ND_PRINT((ndo, "%02x", tp[i]));
338 ND_PRINT((ndo, ")"));
    [all...]
print-geonet.c 59 print_btp_body(netdissect_options *ndo,
71 ND_PRINT((ndo, "; ItsPduHeader v:%d t:%d-%s", version, msg_type, msg_type_str));
75 print_btp(netdissect_options *ndo,
80 ND_PRINT((ndo, "; BTP Dst:%u Src:%u", dest, src));
84 print_long_pos_vector(netdissect_options *ndo,
91 ND_PRINT((ndo, "GN_ADDR:%s ", linkaddr_string (ndo, bp, 0, GEONET_ADDR_LEN)));
96 ND_PRINT((ndo, "lat:%d ", lat));
98 ND_PRINT((ndo, "lon:%d", lon));
108 geonet_print(netdissect_options *ndo, const u_char *bp, u_int length
    [all...]
print-tftp.c 91 tftp_print(netdissect_options *ndo,
99 ND_PRINT((ndo, " %d", length));
107 ND_PRINT((ndo, " %s", cp));
120 ND_PRINT((ndo, " "));
122 ND_PRINT((ndo, "\""));
123 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend);
124 ND_PRINT((ndo, "\""));
133 ND_PRINT((ndo, " "));
134 ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend)
    [all...]

Completed in 313 milliseconds

1 2 3 4 5 6 7