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

  /external/tcpdump/
print-ipnet.c 24 ipnet_hdr_print(struct netdissect_options *ndo, const u_char *bp, u_int length)
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)
52 ND_PRINT((ndo, "[|ipnet]"));
56 if (ndo->ndo_eflag)
57 ipnet_hdr_print(ndo, p, length)
    [all...]
print-ether.c 95 ether_hdr_print(netdissect_options *ndo,
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,
134 void (*print_encap_header)(netdissect_options *ndo, const u_char *), const u_char *encap_header_arg
    [all...]
print-ppi.c 21 ppi_header_print(struct netdissect_options *ndo, const u_char *bp, u_int length)
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,
55 ND_PRINT((ndo, "[|ppi]"));
61 if (ndo->ndo_eflag)
62 ppi_header_print(ndo, p, length);
71 ndo_printer(ndo, h, p)
    [all...]
print-802_15_4.c 93 ieee802_15_4_if_print(struct netdissect_options *ndo,
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...]
print-nflog.c 50 nflog_hdr_print(struct netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length)
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,
81 ND_PRINT((ndo, "[|nflog]"));
86 ND_PRINT((ndo, "version %u (unknown)", hdr->nflog_version));
90 if (ndo->ndo_eflag
    [all...]
print-msnlb.c 52 msnlb_print(netdissect_options *ndo, const u_char *bp)
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]"));
print-isakmp.c 71 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)
419 ND_PRINT((ndo,"%02x", p[i] & 0xff))
    [all...]
print-arp.c 185 atmarp_addr_print(netdissect_options *ndo,
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,
214 ND_PRINT((ndo, "[|ARP]"));
219 if (!ndo->ndo_eflag) {
220 ND_PRINT((ndo, "ARP, "));
226 ndo->ndo_vflag) {
227 ND_PRINT((ndo, "%s, %s (len %u/%u)"
    [all...]
print-esp.c 97 int esp_print_decrypt_buffer_by_ikev2(netdissect_options *ndo,
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,
157 (*ndo->ndo_error)(ndo, "ran out of memory to allocate sa structure");
162 ndo->ndo_sa_default = nsa
    [all...]
print-rrcp.c 84 rrcp_print(netdissect_options *ndo,
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]"));
print-calm-fast.c 43 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length)
54 if (ndo->ndo_vflag)
print-ip6.c 82 ip6_print(netdissect_options *ndo, const u_char *bp, u_int length)
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, "class 0x%02x, ", (flow & 0x0ff00000) >> 20))
    [all...]
print-tipc.c 165 print_payload(netdissect_options *ndo, const struct payload_tipc_pkthdr *ap)
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)
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, "\n\tPrevious Node %u.%u.%u, Session No. %u, Broadcast Ack %u, Sequence Gap %u, Broadcast Gap Af (…)
    [all...]
netdissect.h 235 * The "ndo->ndo_snapend - (l) <= ndo->ndo_snapend" checks to make sure
236 * "l" isn't so large that "ndo->ndo_snapend - (l)" underflows.
240 #define ND_TTEST2(var, l) (ndo->ndo_snapend - (l) <= ndo->ndo_snapend && \
241 (const u_char *)&(var) <= ndo->ndo_snapend - (l))
252 #define ND_PRINT(STUFF) (*ndo->ndo_printf)STUFF
253 #define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length)
325 typedef u_int (*if_ndo_printer)(struct netdissect_options *ndo,
    [all...]
print-lane.c 64 lane_hdr_print(netdissect_options *ndo, const u_char *bp)
66 (void)ND_PRINT((ndo, "lecid:%x ", EXTRACT_16BITS(bp)));
print-ip.c 322 ip_print_demux(netdissect_options *ndo,
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, " %d", ipds->len))
    [all...]
print-geonet.c 110 geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length)
241 if (ndo->ndo_vflag)
print-icmp6.c 235 rpl_print(netdissect_options *ndo,
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->ndo_vflag)
    [all...]
tcpdump.c 131 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;
    [all...]
print-eap.c 162 eap_print(netdissect_options *ndo _U_,
  /external/dhcpcd/
ipv6rs.c 288 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;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py     [all...]
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
code-load.js     [all...]

Completed in 291 milliseconds