Home
last modified time | relevance | path

Searched refs:netdissect_options (Results 1 – 25 of 157) sorted by relevance

1234567

/external/tcpdump/
Dnetdissect.h136 typedef struct netdissect_options netdissect_options; typedef
138 #define IF_PRINTER_ARGS (netdissect_options *, const struct pcap_pkthdr *, const u_char *)
142 struct netdissect_options { struct
183 void (*ndo_default_print)(netdissect_options *, argument
187 int (*ndo_printf)(netdissect_options *, argument
194 void (*ndo_error)(netdissect_options *, argument
204 void (*ndo_warning)(netdissect_options *, argument
324 extern void ts_print(netdissect_options *, const struct timeval *);
325 extern void signed_relts_print(netdissect_options *, int32_t);
326 extern void unsigned_relts_print(netdissect_options *, uint32_t);
[all …]
Daddrtoname.h42 extern const char *linkaddr_string(netdissect_options *, const u_char *, const unsigned int, const …
43 extern const char *etheraddr_string(netdissect_options *, const u_char *);
44 extern const char *le64addr_string(netdissect_options *, const u_char *);
45 extern const char *etherproto_string(netdissect_options *, u_short);
46 extern const char *tcpport_string(netdissect_options *, u_short);
47 extern const char *udpport_string(netdissect_options *, u_short);
48 extern const char *isonsap_string(netdissect_options *, const u_char *, register u_int);
49 extern const char *dnaddr_string(netdissect_options *, u_short);
50 extern const char *protoid_string(netdissect_options *, const u_char *);
51 extern const char *ipxsap_string(netdissect_options *, u_short);
[all …]
Dprint-resp.c63 void resp_print(netdissect_options *, const u_char *, u_int);
64 static int resp_parse(netdissect_options *, register const u_char *, int);
65 static int resp_print_string_error_integer(netdissect_options *, register const u_char *, int);
66 static int resp_print_simple_string(netdissect_options *, register const u_char *, int);
67 static int resp_print_integer(netdissect_options *, register const u_char *, int);
68 static int resp_print_error(netdissect_options *, register const u_char *, int);
69 static int resp_print_bulk_string(netdissect_options *, register const u_char *, int);
70 static int resp_print_bulk_array(netdissect_options *, register const u_char *, int);
71 static int resp_print_inline(netdissect_options *, register const u_char *, int);
72 static int resp_get_length(netdissect_options *, register const u_char *, int, const u_char **);
[all …]
Dprint-pptp.c273 pptp_bearer_cap_print(netdissect_options *ndo, in pptp_bearer_cap_print()
289 pptp_bearer_type_print(netdissect_options *ndo, in pptp_bearer_type_print()
297 pptp_call_id_print(netdissect_options *ndo, in pptp_call_id_print()
304 pptp_call_ser_print(netdissect_options *ndo, in pptp_call_ser_print()
311 pptp_cause_code_print(netdissect_options *ndo, in pptp_cause_code_print()
318 pptp_conn_speed_print(netdissect_options *ndo, in pptp_conn_speed_print()
336 pptp_err_code_print(netdissect_options *ndo, in pptp_err_code_print()
347 pptp_firm_rev_print(netdissect_options *ndo, in pptp_firm_rev_print()
354 pptp_framing_cap_print(netdissect_options *ndo, in pptp_framing_cap_print()
375 pptp_framing_type_print(netdissect_options *ndo, in pptp_framing_type_print()
[all …]
Dprint-dvmrp.c58 static int print_probe(netdissect_options *, const u_char *, const u_char *, u_int);
59 static int print_report(netdissect_options *, const u_char *, const u_char *, u_int);
60 static int print_neighbors(netdissect_options *, const u_char *, const u_char *, u_int);
61 static int print_neighbors2(netdissect_options *, const u_char *, const u_char *, u_int);
62 static int print_prune(netdissect_options *, const u_char *);
63 static int print_graft(netdissect_options *, const u_char *);
64 static int print_graft_ack(netdissect_options *, const u_char *);
69 dvmrp_print(netdissect_options *ndo, in dvmrp_print()
163 print_report(netdissect_options *ndo, in print_report()
221 print_probe(netdissect_options *ndo, in print_probe()
[all …]
Dprint.c226 static void ndo_default_print(netdissect_options *ndo, const u_char *bp,
229 static void ndo_error(netdissect_options *ndo,
232 static void ndo_warning(netdissect_options *ndo,
236 static int ndo_printf(netdissect_options *ndo,
241 init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask, in init_print()
294 get_if_printer(netdissect_options *ndo, int type) in get_if_printer()
314 pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, in pretty_print_packet()
404 ndo_default_print(netdissect_options *ndo, const u_char *bp, u_int length) in ndo_default_print()
411 ndo_error(netdissect_options *ndo, const char *fmt, ...) in ndo_error()
432 ndo_warning(netdissect_options *ndo, const char *fmt, ...) in ndo_warning()
[all …]
Dprint-atalk.c61 static void atp_print(netdissect_options *, const struct atATP *, u_int);
62 static void atp_bitmap_print(netdissect_options *, u_char);
63 static void nbp_print(netdissect_options *, const struct atNBP *, u_int, u_short, u_char, u_char);
64 static const struct atNBPtuple *nbp_tuple_print(netdissect_options *ndo, const struct atNBPtuple *,
67 static const struct atNBPtuple *nbp_name_print(netdissect_options *, const struct atNBPtuple *,
69 static const char *ataddr_string(netdissect_options *, u_short, u_char);
70 static void ddp_print(netdissect_options *, const u_char *, u_int, int, u_short, u_char, u_char);
71 static const char *ddpskt_string(netdissect_options *, int);
77 ltalk_if_print(netdissect_options *ndo, in ltalk_if_print()
94 llap_print(netdissect_options *ndo, in llap_print()
[all …]
Dprint-l2tp.c267 print_string(netdissect_options *ndo, const u_char *dat, u_int length) in print_string()
276 print_octets(netdissect_options *ndo, const u_char *dat, u_int length) in print_octets()
285 print_16bits_val(netdissect_options *ndo, const uint16_t *dat) in print_16bits_val()
291 print_32bits_val(netdissect_options *ndo, const uint32_t *dat) in print_32bits_val()
300 l2tp_msgtype_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_msgtype_print()
313 l2tp_result_code_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_result_code_print()
345 l2tp_proto_ver_print(netdissect_options *ndo, const uint16_t *dat, u_int length) in l2tp_proto_ver_print()
356 l2tp_framing_cap_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_framing_cap_print()
373 l2tp_bearer_cap_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_bearer_cap_print()
390 l2tp_q931_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_q931_cc_print()
[all …]
Dutil-print.c75 fn_print_char(netdissect_options *ndo, u_char c) in fn_print_char()
95 fn_print(netdissect_options *ndo, in fn_print()
129 fn_printztn(netdissect_options *ndo, in fn_printztn()
178 fn_printn(netdissect_options *ndo, in fn_printn()
207 fn_printzp(netdissect_options *ndo, in fn_printzp()
239 ts_format(netdissect_options *ndo in ts_format()
276 ts_unix_format(netdissect_options *ndo in ts_unix_format()
313 ts_print(netdissect_options *ndo, in ts_print()
395 unsigned_relts_print(netdissect_options *ndo, in unsigned_relts_print()
423 signed_relts_print(netdissect_options *ndo, in signed_relts_print()
[all …]
Dprint-gre.c81 static void gre_print_0(netdissect_options *, const u_char *, u_int);
82 static void gre_print_1(netdissect_options *, const u_char *, u_int);
83 static int gre_sre_print(netdissect_options *, uint16_t, uint8_t, uint8_t, const u_char *, u_int);
84 static int gre_sre_ip_print(netdissect_options *, uint8_t, uint8_t, const u_char *, u_int);
85 static int gre_sre_asn_print(netdissect_options *, uint8_t, uint8_t, const u_char *, u_int);
88 gre_print(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print()
117 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print_0()
244 gre_print_1(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print_1()
328 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, in gre_sre_print()
352 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, in gre_sre_ip_print()
[all …]
Dprint-mptcp.c169 dummy_print(netdissect_options *ndo _U_, in dummy_print()
176 mp_capable_print(netdissect_options *ndo, in mp_capable_print()
200 mp_join_print(netdissect_options *ndo, in mp_join_print()
240 mp_dss_print(netdissect_options *ndo, in mp_dss_print()
329 add_addr_print(netdissect_options *ndo, in add_addr_print()
359 remove_addr_print(netdissect_options *ndo, in remove_addr_print()
376 mp_prio_print(netdissect_options *ndo, in mp_prio_print()
395 mp_fail_print(netdissect_options *ndo, in mp_fail_print()
406 mp_fast_close_print(netdissect_options *ndo, in mp_fast_close_print()
418 int (*print)(netdissect_options *, const u_char *, u_int, u_char);
[all …]
Daddrtoname.c231 getname(netdissect_options *ndo, const u_char *ap) in getname()
283 getname6(netdissect_options *ndo, const u_char *ap) in getname6()
340 lookup_emem(netdissect_options *ndo, const u_char *ep) in lookup_emem()
373 lookup_bytestring(netdissect_options *ndo, register const u_char *bs, in lookup_bytestring()
421 lookup_nsap(netdissect_options *ndo, register const u_char *nsap, in lookup_nsap()
466 lookup_protoid(netdissect_options *ndo, const u_char *pi) in lookup_protoid()
492 etheraddr_string(netdissect_options *ndo, register const u_char *ep) in etheraddr_string()
538 le64addr_string(netdissect_options *ndo, const u_char *ep) in le64addr_string()
568 linkaddr_string(netdissect_options *ndo, const u_char *ep, in linkaddr_string()
603 etherproto_string(netdissect_options *ndo, u_short port) in etherproto_string()
[all …]
Dprint-sl.c55 static void sliplink_print(netdissect_options *, const u_char *, const struct ip *, u_int);
56 static void compressed_sl_print(netdissect_options *, const u_char *, const struct ip *, u_int, int…
59 sl_if_print(netdissect_options *ndo, in sl_if_print()
99 sl_bsdos_if_print(netdissect_options *ndo, in sl_bsdos_if_print()
126 sliplink_print(netdissect_options *ndo, in sliplink_print()
196 print_sl_change(netdissect_options *ndo, in print_sl_change()
210 print_sl_winchange(netdissect_options *ndo, in print_sl_winchange()
227 compressed_sl_print(netdissect_options *ndo, in compressed_sl_print()
Dprint-ahcp.c101 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_time_print()
129 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_seconds_print()
147 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_addresses_print()
171 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_addresses_print()
195 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_prefixes_print()
219 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_prefixes_print()
244 (* const data_decoders[AHCP1_OPT_MAX + 1])(netdissect_options *, const u_char *, const u_char *) = {
262 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_options_print()
303 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_body_print()
348 ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) in ahcp_print()
Dprint.h31 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);
Dprint-forces.c69 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len,
233 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len,
237 static int genoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
239 static int recpdoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
241 static int invoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
445 static int lfbselect_print(netdissect_options *, register const u_char * pptr, register u_int len,
447 static int redirect_print(netdissect_options *, register const u_char * pptr, register u_int len,
449 static int asrtlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
451 static int asttlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
503 int (*print) (netdissect_options *, register const u_char * pptr, register u_int len,
[all …]
Dprint-rx.c493 static void rx_cache_insert(netdissect_options *, const u_char *, const struct ip *, int);
497 static void fs_print(netdissect_options *, const u_char *, int);
498 static void fs_reply_print(netdissect_options *, const u_char *, int, int32_t);
499 static void acl_print(netdissect_options *, u_char *, int, u_char *);
500 static void cb_print(netdissect_options *, const u_char *, int);
501 static void cb_reply_print(netdissect_options *, const u_char *, int, int32_t);
502 static void prot_print(netdissect_options *, const u_char *, int);
503 static void prot_reply_print(netdissect_options *, const u_char *, int, int32_t);
504 static void vldb_print(netdissect_options *, const u_char *, int);
505 static void vldb_reply_print(netdissect_options *, const u_char *, int, int32_t);
[all …]
Dprint-krb.c37 static const u_char *c_print(netdissect_options *, register const u_char *, register const u_char *…
38 static const u_char *krb4_print_hdr(netdissect_options *, const u_char *);
39 static void krb4_print(netdissect_options *, const u_char *);
97 c_print(netdissect_options *ndo, in c_print()
126 krb4_print_hdr(netdissect_options *ndo, in krb4_print_hdr()
148 krb4_print(netdissect_options *ndo, in krb4_print()
226 krb_print(netdissect_options *ndo, in krb_print()
Dprint-nfs.c47 static void nfs_printfh(netdissect_options *, const uint32_t *, const u_int);
48 static int xid_map_enter(netdissect_options *, const struct sunrpc_msg *, const u_char *);
51 static void interp_reply(netdissect_options *, const struct sunrpc_msg *, uint32_t, uint32_t, int);
52 static const uint32_t *parse_post_op_attr(netdissect_options *, const uint32_t *, int);
202 print_nfsaddr(netdissect_options *ndo, in print_nfsaddr()
233 parse_sattr3(netdissect_options *ndo, in parse_sattr3()
302 print_sattr3(netdissect_options *ndo, in print_sattr3()
322 nfsreply_print(netdissect_options *ndo, in nfsreply_print()
353 nfsreply_print_noaddr(netdissect_options *ndo, in nfsreply_print_noaddr()
418 parsereq(netdissect_options *ndo, in parsereq()
[all …]
Dprint-radius.c171 static void print_attr_string(netdissect_options *, register const u_char *, u_int, u_short );
172 static void print_attr_num(netdissect_options *, register const u_char *, u_int, u_short );
173 static void print_vendor_attr(netdissect_options *, register const u_char *, u_int, u_short );
174 static void print_attr_address(netdissect_options *, register const u_char *, u_int, u_short);
175 static void print_attr_time(netdissect_options *, register const u_char *, u_int, u_short);
176 static void print_attr_strange(netdissect_options *, register const u_char *, u_int, u_short);
380 void (*print_func)(netdissect_options *, register const u_char *, u_int, u_short);
488 print_attr_string(netdissect_options *ndo, in print_attr_string()
552 print_vendor_attr(netdissect_options *ndo, in print_vendor_attr()
617 print_attr_num(netdissect_options *ndo, in print_attr_num()
[all …]
Dprint-ipx.c64 static void ipx_decode(netdissect_options *, const struct ipxHdr *, const u_char *, u_int);
65 static void ipx_sap_print(netdissect_options *, const u_short *, u_int);
66 static void ipx_rip_print(netdissect_options *, const u_short *, u_int);
72 ipx_print(netdissect_options *ndo, const u_char *p, u_int length) in ipx_print()
110 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length) in ipx_decode()
150 ipx_sap_print(netdissect_options *ndo, const u_short *ipx, u_int length) in ipx_sap_print()
202 ipx_rip_print(netdissect_options *ndo, const u_short *ipx, u_int length) in ipx_rip_print()
Dprint-isakmp.c580 netdissect_options *ndo, u_char tpay, \
616 static const u_char *ikev2_e_print(netdissect_options *ndo,
627 static const u_char *ike_sub0_print(netdissect_options *ndo,u_char, const struct isakmp_gen *,
629 static const u_char *ikev1_sub_print(netdissect_options *ndo,u_char, const struct isakmp_gen *,
632 static const u_char *ikev2_sub_print(netdissect_options *ndo,
643 ikev1_print(netdissect_options *ndo,
681 static const u_char *(*npfunc[])(netdissect_options *ndo, u_char tpay,
852 hexprint(netdissect_options *ndo, const uint8_t *loc, size_t len) in hexprint()
863 rawprint(netdissect_options *ndo, const uint8_t *loc, size_t len) in rawprint()
877 static int ike_show_somedata(netdissect_options *ndo, in ike_show_somedata()
[all …]
Dprint-ppp.c405 static int print_lcp_config_options(netdissect_options *, const u_char *p, int);
406 static int print_ipcp_config_options(netdissect_options *, const u_char *p, int);
407 static int print_ip6cp_config_options(netdissect_options *, const u_char *p, int);
408 static int print_ccp_config_options(netdissect_options *, const u_char *p, int);
409 static int print_bacp_config_options(netdissect_options *, const u_char *p, int);
410 static void handle_ppp(netdissect_options *, u_int proto, const u_char *p, int length);
414 handle_ctrl_proto(netdissect_options *ndo, in handle_ctrl_proto()
419 int (*pfunc)(netdissect_options *, const u_char *, int); in handle_ctrl_proto()
581 print_lcp_config_options(netdissect_options *ndo, in print_lcp_config_options()
808 handle_mlppp(netdissect_options *ndo, in handle_mlppp()
[all …]
Dprint-sflow.c300 print_sflow_counter_generic(netdissect_options *ndo, in print_sflow_counter_generic()
349 print_sflow_counter_ethernet(netdissect_options *ndo, in print_sflow_counter_ethernet()
383 print_sflow_counter_token_ring(netdissect_options *ndo _U_, in print_sflow_counter_token_ring()
390 print_sflow_counter_basevg(netdissect_options *ndo, in print_sflow_counter_basevg()
430 print_sflow_counter_vlan(netdissect_options *ndo, in print_sflow_counter_vlan()
464 print_sflow_counter_processor(netdissect_options *ndo, in print_sflow_counter_processor()
489 sflow_print_counter_records(netdissect_options *ndo, in sflow_print_counter_records()
571 sflow_print_counter_sample(netdissect_options *ndo, in sflow_print_counter_sample()
606 sflow_print_expanded_counter_sample(netdissect_options *ndo, in sflow_print_expanded_counter_sample()
636 print_sflow_raw_packet(netdissect_options *ndo, in print_sflow_raw_packet()
[all …]
Dprint-juniper.c448 static int ip_heuristic_guess(netdissect_options *, register const u_char *, u_int);
449 static int juniper_ppp_heuristic_guess(netdissect_options *, register const u_char *, u_int);
450 static int juniper_parse_header(netdissect_options *, const u_char *, const struct pcap_pkthdr *, s…
454 juniper_ggsn_print(netdissect_options *ndo, in juniper_ggsn_print()
505 juniper_es_print(netdissect_options *ndo, in juniper_es_print()
582 juniper_monitor_print(netdissect_options *ndo, in juniper_monitor_print()
621 juniper_services_print(netdissect_options *ndo, in juniper_services_print()
661 juniper_pppoe_print(netdissect_options *ndo, in juniper_pppoe_print()
679 juniper_ether_print(netdissect_options *ndo, in juniper_ether_print()
697 juniper_ppp_print(netdissect_options *ndo, in juniper_ppp_print()
[all …]

1234567