Searched defs:ndo (Results 1 - 19 of 19) sorted by relevance

/external/tcpdump/
H A Dprint-calm-fast.c43 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
54 if (ndo->ndo_vflag)
H A Dprint-msnlb.c52 msnlb_print(netdissect_options *ndo, const u_char *bp) argument
59 ND_PRINT((ndo, "MS NLB heartbeat, host priority: %u,",
61 ND_PRINT((ndo, " cluster IP: %s,", ipaddr_string(&(hb->virtual_ip))));
62 ND_PRINT((ndo, " host IP: %s", ipaddr_string(&(hb->host_ip))));
65 ND_PRINT((ndo, "[|MS NLB]"));
H A Dprint-802_15_4.c93 ieee802_15_4_if_print(struct netdissect_options *ndo, argument
102 ND_PRINT((ndo, "[|802.15.4] %x", caplen));
114 ND_PRINT((ndo,"IEEE 802.15.4 %s packet ", ftypes[fc & 0x7]));
116 ND_PRINT((ndo,"seq %02x ", seq));
118 ND_PRINT((ndo,"malformed! "));
131 ND_PRINT((ndo,"none "));
134 ND_PRINT((ndo,"reserved destination addressing mode"));
139 ND_PRINT((ndo,"%04x:%04x ", panid, EXTRACT_LE_16BITS(p)));
145 ND_PRINT((ndo,"%04x:%s ", panid, le64addr_string(p)));
149 ND_PRINT((ndo,"< ");
[all...]
H A Dprint-ipnet.c24 ipnet_hdr_print(struct netdissect_options *ndo, const u_char *bp, u_int length) argument
29 ND_PRINT((ndo, "%d > %d", hdr->iph_zsrc, hdr->iph_zdst));
31 if (!ndo->ndo_qflag) {
32 ND_PRINT((ndo,", family %s (%d)",
37 ND_PRINT((ndo,", %s",
43 ND_PRINT((ndo, ", length %u: ", length));
47 ipnet_print(struct netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) argument
52 ND_PRINT((ndo, "[|ipnet]"));
56 if (ndo->ndo_eflag)
57 ipnet_hdr_print(ndo,
94 ipnet_if_print(struct netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
[all...]
H A Dprint-lane.c64 lane_hdr_print(netdissect_options *ndo, const u_char *bp) argument
66 (void)ND_PRINT((ndo, "lecid:%x ", EXTRACT_16BITS(bp)));
H A Dprint-nflog.c50 nflog_hdr_print(struct netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length) argument
52 ND_PRINT((ndo, "version %d, resource ID %d", hdr->nflog_version, ntohs(hdr->nflog_rid)));
54 if (!ndo->ndo_qflag) {
55 ND_PRINT((ndo,", family %s (%d)",
60 ND_PRINT((ndo,", %s",
66 ND_PRINT((ndo, ", length %u: ", length));
70 nflog_if_print(struct netdissect_options *ndo, argument
81 ND_PRINT((ndo, "[|nflog]"));
86 ND_PRINT((ndo, "version %u (unknown)", hdr->nflog_version));
90 if (ndo
[all...]
H A Dprint-ppi.c21 ppi_header_print(struct netdissect_options *ndo, const u_char *bp, u_int length) argument
32 if (!ndo->ndo_qflag) {
33 ND_PRINT((ndo,", V.%d DLT %s (%d) len %d", hdr->ppi_ver,
37 ND_PRINT((ndo,", %s", pcap_datalink_val_to_name(dlt)));
40 ND_PRINT((ndo, ", length %u: ", length));
44 ppi_print(struct netdissect_options *ndo, argument
55 ND_PRINT((ndo, "[|ppi]"));
61 if (ndo->ndo_eflag)
62 ppi_header_print(ndo, p, length);
71 ndo_printer(ndo,
89 ppi_if_print(struct netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
[all...]
H A Dprint-ether.c95 ether_hdr_print(netdissect_options *ndo, argument
103 (void)ND_PRINT((ndo, "%s > %s",
108 if (!ndo->ndo_qflag) {
110 (void)ND_PRINT((ndo, ", 802.3"));
112 (void)ND_PRINT((ndo, ", ethertype %s (0x%04x)",
117 (void)ND_PRINT((ndo, ", 802.3"));
119 (void)ND_PRINT((ndo, ", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ether_type)));
122 (void)ND_PRINT((ndo, ", length %u: ", length));
132 ether_print(netdissect_options *ndo, argument
134 void (*print_encap_header)(netdissect_options *ndo, cons
251 ether_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
269 netanalyzer_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
297 netanalyzer_transparent_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument
324 ethertype_print(netdissect_options *ndo, u_short ether_type, const u_char *p, u_int length, u_int caplen) argument
[all...]
H A Dprint-geonet.c110 geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
241 if (ndo->ndo_vflag)
H A Dprint-ip6.c82 ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
98 (void)ND_PRINT((ndo, "truncated-ip6 %u", length));
102 if (!ndo->ndo_eflag)
103 ND_PRINT((ndo, "IP6 "));
108 (void)ND_PRINT((ndo, "truncated-ip6 - %u bytes missing!",
111 if (ndo->ndo_vflag) {
113 ND_PRINT((ndo, "("));
117 (void)ND_PRINT((ndo, "pri 0x%02x, ", (flow & 0x0f000000) >> 24));
119 (void)ND_PRINT((ndo, "flowlabel 0x%06x, ", flow & 0x00ffffff));
123 (void)ND_PRINT((ndo, "clas
[all...]
H A Dprint-rrcp.c84 rrcp_print(netdissect_options *ndo, argument
102 ND_PRINT((ndo, "%s > %s, %s %s",
108 ND_PRINT((ndo, ": %s",
113 ND_PRINT((ndo, " addr=0x%04x, data=0x%08x",
119 ND_PRINT((ndo, ", auth=0x%04x",
125 ND_PRINT((ndo, " downlink_port=%d, uplink_port=%d, uplink_mac=%s, vendor_id=%08x ,chip_id=%04x ",
133 ND_PRINT((ndo, ", cookie=0x%08x%08x ",
137 if (!ndo->ndo_vflag)
142 ND_PRINT((ndo, "[|rrcp]"));
H A Dprint-ip.c322 ip_print_demux(netdissect_options *ndo, argument
343 ipds->advance = esp_print(ndo, ipds->cp, ipds->len,
414 ND_PRINT((ndo, " nd %d", ipds->len));
431 ip_print(ndo, ipds->cp, ipds->len);
433 ND_PRINT((ndo, " (ipip-proto-4)"));
441 ip6_print(ndo, ipds->cp, ipds->len);
485 if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL)
486 ND_PRINT((ndo, " %s", proto->p_name));
488 ND_PRINT((ndo, " ip-proto-%d", ipds->nh));
489 ND_PRINT((ndo, "
495 ip_print_inner(netdissect_options *ndo, const u_char *bp, u_int length, u_int nh, const u_char *bp2) argument
517 ip_print(netdissect_options *ndo, const u_char *bp, u_int length) argument
[all...]
H A Dprint-esp.c97 int esp_print_decrypt_buffer_by_ikev2(netdissect_options *ndo, argument
111 for (sa = ndo->ndo_sa_list_head; sa != NULL; sa = sa->next) {
135 (*ndo->ndo_warning)(ndo, "espkey init failed");
140 ndo->ndo_packetp = buf;
141 ndo->ndo_snapend = end;
148 static void esp_print_addsa(netdissect_options *ndo, argument
157 (*ndo->ndo_error)(ndo, "ran out of memory to allocate sa structure");
162 ndo
169 hexdigit(netdissect_options *ndo, char hex) argument
183 hex2byte(netdissect_options *ndo, char *hexstring) argument
195 espprint_decode_hex(netdissect_options *ndo, u_char *binbuf, unsigned int binbuf_len, char *hex) argument
225 espprint_decode_encalgo(netdissect_options *ndo, char *decode, struct sa_list *sa) argument
294 espprint_decode_authalgo(netdissect_options *ndo, char *decode, struct sa_list *sa) argument
313 esp_print_decode_ikeline(netdissect_options *ndo, char *line, const char *file, int lineno) argument
377 esp_print_decode_onesecret(netdissect_options *ndo, char *line, const char *file, int lineno) argument
497 esp_print_decodesecret(netdissect_options *ndo) argument
529 esp_print(netdissect_options *ndo, const u_char *bp, const int length, const u_char *bp2 _U_ , int *nhdr _U_ , int *padlen _U_ ) argument
[all...]
H A Dprint-arp.c185 atmarp_addr_print(netdissect_options *ndo, argument
190 ND_PRINT((ndo, "<No address>"));
192 ND_PRINT((ndo, "%s", linkaddr_string(ha, LINKADDR_ATM, ha_len)));
194 ND_PRINT((ndo, ",%s",
200 atmarp_print(netdissect_options *ndo, argument
214 ND_PRINT((ndo, "[|ARP]"));
219 if (!ndo->ndo_eflag) {
220 ND_PRINT((ndo, "ARP, "));
226 ndo->ndo_vflag) {
227 ND_PRINT((ndo, "
296 arp_print(netdissect_options *ndo, const u_char *bp, u_int length, u_int caplen) argument
[all...]
H A Dprint-tipc.c165 print_payload(netdissect_options *ndo, const struct payload_tipc_pkthdr *ap) argument
192 ND_PRINT((ndo, "TIPC v%u.0 %u.%u.%u:%u > %u, headerlength %u bytes, MessageSize %u bytes, %s, messageType %s",
203 ND_PRINT((ndo, "TIPC v%u.0 %u.%u.%u:%u > %u.%u.%u:%u, headerlength %u bytes, MessageSize %u bytes, %s, messageType %s",
213 if (ndo->ndo_vflag) {
218 ND_PRINT((ndo, "\n\tPrevious Node %u.%u.%u, Broadcast Ack %u, Link Ack %u, Link Sequence %u",
226 ND_PRINT((ndo, "[|TIPC]"));
230 print_internal(netdissect_options *ndo, const struct internal_tipc_pkthdr *ap) argument
260 ND_PRINT((ndo, "TIPC v%u.0 %u.%u.%u > %u.%u.%u, headerlength %u bytes, MessageSize %u bytes, %s, messageType %s (0x%08x)",
268 if (ndo->ndo_vflag) {
285 ND_PRINT((ndo, "\
298 print_link_conf(netdissect_options *ndo, const struct link_conf_tipc_pkthdr *ap) argument
345 tipc_print(netdissect_options *ndo, const u_char *bp, u_int length _U_, u_int caplen _U_) argument
[all...]
H A Dprint-icmp6.c235 rpl_print(netdissect_options *ndo, argument
246 ND_PRINT((ndo, ", (SEC)"));
248 ND_PRINT((ndo, ", (CLR)"));
253 ND_PRINT((ndo, "DODAG Information Solicitation"));
254 if(ndo->ndo_vflag) {
258 ND_PRINT((ndo, "DODAG Information Object"));
259 if(ndo->ndo_vflag) {
273 ND_PRINT((ndo, " [seq:%u,instance:%u,rank:%u,dagid:%s]",
281 ND_PRINT((ndo, "Destination Advertisement Object"));
282 if(ndo
303 icmp6_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2, int fragmented) argument
[all...]
H A Dtcpdump.c131 static void ndo_error(netdissect_options *ndo, const char *fmt, ...)
133 static void ndo_warning(netdissect_options *ndo, const char *fmt, ...);
378 netdissect_options *ndo; member in struct:print_info
635 static int tcpdump_printf(netdissect_options *ndo _U_,
655 printinfo.ndo = gndo;
1956 hdrlen = (*print_info->p.ndo_printer)(print_info->ndo, h, sp);
2057 ndo_default_print(netdissect_options *ndo _U_, const u_char *bp, u_int length)
2152 ndo_error(netdissect_options *ndo _U_, const char *fmt, ...)
2171 ndo_warning(netdissect_options *ndo _U_, const char *fmt, ...)
H A Dprint-isakmp.c71 netdissect_options *ndo, u_char tpay, \
107 static const u_char *ikev2_e_print(netdissect_options *ndo,
118 static const u_char *ike_sub0_print(netdissect_options *ndo,u_char, const struct isakmp_gen *,
120 static const u_char *ikev1_sub_print(netdissect_options *ndo,u_char, const struct isakmp_gen *,
123 static const u_char *ikev2_sub_print(netdissect_options *ndo,
134 ikev1_print(netdissect_options *ndo,
167 static const u_char *(*npfunc[])(netdissect_options *ndo, u_char tpay,
230 ND_PRINT((ndo," [|%s]", NPSTR(np))); \
412 hexprint(netdissect_options *ndo, caddr_t loc, size_t len) argument
419 ND_PRINT((ndo,"
423 rawprint(netdissect_options *ndo, caddr_t loc, size_t len) argument
437 ike_show_somedata(struct netdissect_options *ndo, const u_char *cp, const u_char *ep) argument
474 ikev1_attrmap_print(netdissect_options *ndo, const u_char *p, const u_char *ep, const struct attrmap *map, size_t nmap) argument
512 ikev1_attr_print(netdissect_options *ndo, const u_char *p, const u_char *ep) argument
542 ikev1_sa_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, u_int32_t proto0, int depth) argument
602 ikev1_p_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0, u_int32_t proto0 _U_, int depth) argument
765 ikev1_t_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto, int depth _U_) argument
834 ikev1_ke_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
858 ikev1_id_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1040 ikev1_cert_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi0 _U_, u_int32_t proto0 _U_, int depth _U_) argument
1073 ikev1_cr_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi0 _U_, u_int32_t proto0 _U_, int depth _U_) argument
1105 ikev1_hash_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1129 ikev1_sig_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1153 ikev1_nonce_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1183 ikev1_n_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, u_int32_t proto0 _U_, int depth) argument
1324 ikev1_d_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi0 _U_, u_int32_t proto0 _U_, int depth _U_) argument
1368 ikev1_vid_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1399 ikev2_pay_print(netdissect_options *ndo, const char *payname, int critical) argument
1405 ikev2_gen_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext) argument
1427 ikev2_t_print(netdissect_options *ndo, u_char tpay _U_, int pcount, const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1505 ikev2_p_print(netdissect_options *ndo, u_char tpay _U_, int pcount _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0, u_int32_t proto0 _U_, int depth) argument
1541 ikev2_sa_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext1, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1569 ikev2_ke_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1598 ikev2_ID_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1680 ikev2_cert_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1690 ikev2_cr_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1700 ikev2_auth_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1736 ikev2_nonce_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1766 ikev2_n_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1973 ikev2_d_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
1983 ikev2_vid_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
2017 ikev2_TS_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
2027 ikev2_e_print(netdissect_options *ndo, _U_ struct isakmp *base, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, _U_ u_int32_t phase, _U_ u_int32_t doi, _U_ u_int32_t proto, _U_ int depth) argument
2098 ikev2_cp_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
2108 ikev2_eap_print(netdissect_options *ndo, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto _U_, int depth _U_) argument
2118 ike_sub0_print(netdissect_options *ndo, u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
2159 ikev1_sub_print(netdissect_options *ndo, u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
2208 ikev1_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2, struct isakmp *base) argument
2282 ikev2_sub0_print(netdissect_options *ndo, struct isakmp *base, u_char np, int pcount, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
2333 ikev2_sub_print(netdissect_options *ndo, struct isakmp *base, u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
2378 ikev2_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2 _U_, struct isakmp *base) argument
2436 isakmp_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2) argument
2498 isakmp_rfc3948_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2) argument
[all...]
/external/dhcpcd/
H A Dipv6rs.c288 struct nd_opt_hdr *ndo; local
405 ndo = (struct nd_opt_hdr *)p;
406 olen = ndo->nd_opt_len * 8 ;
418 switch (ndo->nd_opt_type) {
420 pi = (struct nd_opt_prefix_info *)ndo;
461 op = (uint8_t *)ndo;
466 for (n = ndo->nd_opt_len - 1; n > 1; n -= 2) {
514 if (rao->type == ndo->nd_opt_type &&
534 rao->type = ndo->nd_opt_type;

Completed in 267 milliseconds