Home
last modified time | relevance | path

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

123456

/external/tcpdump/
Dnetdissect.h89 typedef struct netdissect_options netdissect_options; typedef
91 struct netdissect_options { struct
158 void (*ndo_default_print)(netdissect_options *, argument
162 void (*ndo_info)(netdissect_options *, int verbose); argument
165 int (*ndo_printf)(netdissect_options *, argument
172 void (*ndo_error)(netdissect_options *, argument
182 void (*ndo_warning)(netdissect_options *, argument
290 extern void ts_print(netdissect_options *, const struct timeval *);
291 extern void relts_print(netdissect_options *, int);
293 extern int fn_print(netdissect_options *, const u_char *, const u_char *);
[all …]
Dprint-pptp.c272 pptp_bearer_cap_print(netdissect_options *ndo, in pptp_bearer_cap_print()
288 pptp_bearer_type_print(netdissect_options *ndo, in pptp_bearer_type_print()
296 pptp_call_id_print(netdissect_options *ndo, in pptp_call_id_print()
303 pptp_call_ser_print(netdissect_options *ndo, in pptp_call_ser_print()
310 pptp_cause_code_print(netdissect_options *ndo, in pptp_cause_code_print()
317 pptp_conn_speed_print(netdissect_options *ndo, in pptp_conn_speed_print()
335 pptp_err_code_print(netdissect_options *ndo, in pptp_err_code_print()
346 pptp_firm_rev_print(netdissect_options *ndo, in pptp_firm_rev_print()
353 pptp_framing_cap_print(netdissect_options *ndo, in pptp_framing_cap_print()
374 pptp_framing_type_print(netdissect_options *ndo, in pptp_framing_type_print()
[all …]
Dprint-dvmrp.c57 static int print_probe(netdissect_options *, const u_char *, const u_char *, u_int);
58 static int print_report(netdissect_options *, const u_char *, const u_char *, u_int);
59 static int print_neighbors(netdissect_options *, const u_char *, const u_char *, u_int);
60 static int print_neighbors2(netdissect_options *, const u_char *, const u_char *, u_int);
61 static int print_prune(netdissect_options *, const u_char *);
62 static int print_graft(netdissect_options *, const u_char *);
63 static int print_graft_ack(netdissect_options *, const u_char *);
68 dvmrp_print(netdissect_options *ndo, in dvmrp_print()
162 print_report(netdissect_options *ndo, in print_report()
220 print_probe(netdissect_options *ndo, in print_probe()
[all …]
Daddrtoname.h33 extern const char *linkaddr_string(netdissect_options *, const u_char *, const unsigned int, const …
34 extern const char *etheraddr_string(netdissect_options *, const u_char *);
40 extern const char *dnaddr_string(netdissect_options *, u_short);
43 extern const char *getname(netdissect_options *, const u_char *);
45 extern const char *getname6(netdissect_options *, const u_char *);
49 extern void init_addrtoname(netdissect_options *, uint32_t, uint32_t);
Dprint-l2tp.c266 print_string(netdissect_options *ndo, const u_char *dat, u_int length) in print_string()
275 print_octets(netdissect_options *ndo, const u_char *dat, u_int length) in print_octets()
284 print_16bits_val(netdissect_options *ndo, const uint16_t *dat) in print_16bits_val()
290 print_32bits_val(netdissect_options *ndo, const uint32_t *dat) in print_32bits_val()
299 l2tp_msgtype_print(netdissect_options *ndo, const u_char *dat) in l2tp_msgtype_print()
308 l2tp_result_code_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_result_code_print()
323 l2tp_proto_ver_print(netdissect_options *ndo, const uint16_t *dat) in l2tp_proto_ver_print()
330 l2tp_framing_cap_print(netdissect_options *ndo, const u_char *dat) in l2tp_framing_cap_print()
343 l2tp_bearer_cap_print(netdissect_options *ndo, const u_char *dat) in l2tp_bearer_cap_print()
356 l2tp_q931_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_q931_cc_print()
[all …]
Dprint-atalk.c62 static void atp_print(netdissect_options *, const struct atATP *, u_int);
63 static void atp_bitmap_print(netdissect_options *, u_char);
64 static void nbp_print(netdissect_options *, const struct atNBP *, u_int, u_short, u_char, u_char);
65 static const struct atNBPtuple *nbp_tuple_print(netdissect_options *ndo, const struct atNBPtuple *,
68 static const struct atNBPtuple *nbp_name_print(netdissect_options *, const struct atNBPtuple *,
70 static const char *ataddr_string(netdissect_options *, u_short, u_char);
71 static void ddp_print(netdissect_options *, const u_char *, u_int, int, u_short, u_char, u_char);
72 static const char *ddpskt_string(netdissect_options *, int);
78 ltalk_if_print(netdissect_options *ndo, in ltalk_if_print()
88 llap_print(netdissect_options *ndo, in llap_print()
[all …]
Dprint-gre.c79 static void gre_print_0(netdissect_options *, const u_char *, u_int);
80 static void gre_print_1(netdissect_options *, const u_char *, u_int);
81 static void gre_sre_print(netdissect_options *, uint16_t, uint8_t, uint8_t, const u_char *, u_int);
82 static void gre_sre_ip_print(netdissect_options *, uint8_t, uint8_t, const u_char *, u_int);
83 static void gre_sre_asn_print(netdissect_options *, uint8_t, uint8_t, const u_char *, u_int);
86 gre_print(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print()
111 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print_0()
231 gre_print_1(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print_1()
311 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, in gre_sre_print()
331 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, in gre_sre_ip_print()
[all …]
Dprint-aodv.c181 aodv_extension(netdissect_options *ndo, in aodv_extension()
207 aodv_rreq(netdissect_options *ndo, const u_char *dat, u_int length) in aodv_rreq()
238 aodv_rrep(netdissect_options *ndo, const u_char *dat, u_int length) in aodv_rrep()
266 aodv_rerr(netdissect_options *ndo, const u_char *dat, u_int length) in aodv_rerr()
297 aodv_v6_rreq(netdissect_options *ndo, const u_char *dat, u_int length) in aodv_v6_rreq()
299 aodv_v6_rreq(netdissect_options *ndo, const u_char *dat _U_, u_int length) in aodv_v6_rreq()
336 aodv_v6_rrep(netdissect_options *ndo, const u_char *dat, u_int length) in aodv_v6_rrep()
338 aodv_v6_rrep(netdissect_options *ndo, const u_char *dat _U_, u_int length) in aodv_v6_rrep()
372 aodv_v6_rerr(netdissect_options *ndo, const u_char *dat, u_int length) in aodv_v6_rerr()
374 aodv_v6_rerr(netdissect_options *ndo, const u_char *dat _U_, u_int length) in aodv_v6_rerr()
[all …]
Dprint-sl.c54 static void sliplink_print(netdissect_options *, const u_char *, const struct ip *, u_int);
55 static void compressed_sl_print(netdissect_options *, const u_char *, const struct ip *, u_int, int…
58 sl_if_print(netdissect_options *ndo, in sl_if_print()
92 sl_bsdos_if_print(netdissect_options *ndo, in sl_bsdos_if_print()
119 sliplink_print(netdissect_options *ndo, in sliplink_print()
168 print_sl_change(netdissect_options *ndo, in print_sl_change()
182 print_sl_winchange(netdissect_options *ndo, in print_sl_winchange()
199 compressed_sl_print(netdissect_options *ndo, in compressed_sl_print()
Dprint-mptcp.c166 dummy_print(netdissect_options *ndo _U_, in dummy_print()
173 mp_capable_print(netdissect_options *ndo, in mp_capable_print()
197 mp_join_print(netdissect_options *ndo, in mp_join_print()
265 mp_dss_print(netdissect_options *ndo, in mp_dss_print()
310 add_addr_print(netdissect_options *ndo, in add_addr_print()
342 remove_addr_print(netdissect_options *ndo, in remove_addr_print()
359 mp_prio_print(netdissect_options *ndo, in mp_prio_print()
378 mp_fail_print(netdissect_options *ndo, in mp_fail_print()
389 mp_fast_close_print(netdissect_options *ndo, in mp_fast_close_print()
401 int (*print)(netdissect_options *, const u_char *, u_int, u_char);
[all …]
Dprint-rx.c491 static void rx_cache_insert(netdissect_options *, const u_char *, const struct ip *, int);
495 static void fs_print(netdissect_options *, const u_char *, int);
496 static void fs_reply_print(netdissect_options *, const u_char *, int, int32_t);
497 static void acl_print(netdissect_options *, u_char *, int, u_char *);
498 static void cb_print(netdissect_options *, const u_char *, int);
499 static void cb_reply_print(netdissect_options *, const u_char *, int, int32_t);
500 static void prot_print(netdissect_options *, const u_char *, int);
501 static void prot_reply_print(netdissect_options *, const u_char *, int, int32_t);
502 static void vldb_print(netdissect_options *, const u_char *, int);
503 static void vldb_reply_print(netdissect_options *, const u_char *, int, int32_t);
[all …]
Dprint-krb.c36 static const u_char *c_print(netdissect_options *, register const u_char *, register const u_char *…
37 static const u_char *krb4_print_hdr(netdissect_options *, const u_char *);
38 static void krb4_print(netdissect_options *, const u_char *);
96 c_print(netdissect_options *ndo, in c_print()
125 krb4_print_hdr(netdissect_options *ndo, in krb4_print_hdr()
147 krb4_print(netdissect_options *ndo, in krb4_print()
225 krb_print(netdissect_options *ndo, in krb_print()
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-ahcp.c103 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_time_print()
131 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_seconds_print()
149 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_addresses_print()
177 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_addresses_print()
201 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_prefixes_print()
229 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_prefixes_print()
254 (* const data_decoders[AHCP1_OPT_MAX + 1])(netdissect_options *, const u_char *, const u_char *) = {
272 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_options_print()
313 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_body_print()
358 ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) in ahcp_print()
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-radius.c165 static void print_attr_string(netdissect_options *, register u_char *, u_int, u_short );
166 static void print_attr_num(netdissect_options *, register u_char *, u_int, u_short );
167 static void print_vendor_attr(netdissect_options *, register u_char *, u_int, u_short );
168 static void print_attr_address(netdissect_options *, register u_char *, u_int, u_short);
169 static void print_attr_time(netdissect_options *, register u_char *, u_int, u_short);
170 static void print_attr_strange(netdissect_options *, register u_char *, u_int, u_short);
372 void (*print_func)(netdissect_options *, register u_char *, u_int, u_short);
480 print_attr_string(netdissect_options *ndo, in print_attr_string()
548 print_vendor_attr(netdissect_options *ndo, in print_vendor_attr()
613 print_attr_num(netdissect_options *ndo, in print_attr_num()
[all …]
Dprint-nfs.c48 static void nfs_printfh(netdissect_options *, const uint32_t *, const u_int);
49 static int xid_map_enter(netdissect_options *, const struct sunrpc_msg *, const u_char *);
52 static void interp_reply(netdissect_options *, const struct sunrpc_msg *, uint32_t, uint32_t, int);
53 static const uint32_t *parse_post_op_attr(netdissect_options *, const uint32_t *, int);
203 print_nfsaddr(netdissect_options *ndo, in print_nfsaddr()
243 parse_sattr3(netdissect_options *ndo, in parse_sattr3()
312 print_sattr3(netdissect_options *ndo, in print_sattr3()
332 nfsreply_print(netdissect_options *ndo, in nfsreply_print()
363 nfsreply_print_noaddr(netdissect_options *ndo, in nfsreply_print_noaddr()
428 parsereq(netdissect_options *ndo, in parsereq()
[all …]
Dprint-sflow.c299 print_sflow_counter_generic(netdissect_options *ndo, in print_sflow_counter_generic()
345 print_sflow_counter_ethernet(netdissect_options *ndo, in print_sflow_counter_ethernet()
375 print_sflow_counter_token_ring(netdissect_options *ndo _U_, in print_sflow_counter_token_ring()
382 print_sflow_counter_basevg(netdissect_options *ndo, in print_sflow_counter_basevg()
418 print_sflow_counter_vlan(netdissect_options *ndo, in print_sflow_counter_vlan()
448 print_sflow_counter_processor(netdissect_options *ndo, in print_sflow_counter_processor()
469 sflow_print_counter_records(netdissect_options *ndo, in sflow_print_counter_records()
547 sflow_print_counter_sample(netdissect_options *ndo, in sflow_print_counter_sample()
580 sflow_print_expanded_counter_sample(netdissect_options *ndo, in sflow_print_expanded_counter_sample()
607 print_sflow_raw_packet(netdissect_options *ndo, in print_sflow_raw_packet()
[all …]
Dprint-fr.c40 static void frf15_print(netdissect_options *ndo, const u_char *, u_int);
100 static int parse_q922_addr(netdissect_options *ndo, in parse_q922_addr()
147 q922_string(netdissect_options *ndo, const u_char *p, u_int length) in q922_string()
190 fr_hdr_print(netdissect_options *ndo, in fr_hdr_print()
218 fr_if_print(netdissect_options *ndo, in fr_if_print()
236 fr_print(netdissect_options *ndo, in fr_print()
373 mfr_if_print(netdissect_options *ndo, in mfr_if_print()
435 mfr_print(netdissect_options *ndo, in mfr_print()
595 frf15_print(netdissect_options *ndo, in frf15_print()
738 static int fr_q933_print_ie_codeset5(netdissect_options *ndo,
[all …]
Dutil.c63 fn_print(netdissect_options *ndo, in fn_print()
95 fn_printn(netdissect_options *ndo, in fn_printn()
122 fn_printzp(netdissect_options *ndo, in fn_printzp()
154 ts_format(netdissect_options *ndo in ts_format()
192 ts_print(netdissect_options *ndo, in ts_print()
263 relts_print(netdissect_options *ndo, in relts_print()
296 print_unknown_data(netdissect_options *ndo, const u_char *cp,const char *ident,int len) in print_unknown_data()
510 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len, in fetch_token()
577 print_txt_line(netdissect_options *ndo, const char *protoname, in print_txt_line()
647 txtproto_print(netdissect_options *ndo, const u_char *pptr, u_int len, in txtproto_print()
[all …]
Dprint-esp.c126 int esp_print_decrypt_buffer_by_ikev2(netdissect_options *ndo, in esp_print_decrypt_buffer_by_ikev2()
177 static void esp_print_addsa(netdissect_options *ndo, in esp_print_addsa()
198 static u_int hexdigit(netdissect_options *ndo, char hex) in hexdigit()
212 static u_int hex2byte(netdissect_options *ndo, char *hexstring) in hex2byte()
224 int espprint_decode_hex(netdissect_options *ndo, in espprint_decode_hex()
254 espprint_decode_encalgo(netdissect_options *ndo, in espprint_decode_encalgo()
323 espprint_decode_authalgo(netdissect_options *ndo, in espprint_decode_authalgo()
342 static void esp_print_decode_ikeline(netdissect_options *ndo, char *line, in esp_print_decode_ikeline()
406 static void esp_print_decode_onesecret(netdissect_options *ndo, char *line, in esp_print_decode_onesecret()
507 static void esp_init(netdissect_options *ndo _U_) in esp_init()
[all …]
Dprint-ppp.c404 static int print_lcp_config_options(netdissect_options *, const u_char *p, int);
405 static int print_ipcp_config_options(netdissect_options *, const u_char *p, int);
406 static int print_ip6cp_config_options(netdissect_options *, const u_char *p, int);
407 static int print_ccp_config_options(netdissect_options *, const u_char *p, int);
408 static int print_bacp_config_options(netdissect_options *, const u_char *p, int);
409 static void handle_ppp(netdissect_options *, u_int proto, const u_char *p, int length);
413 handle_ctrl_proto(netdissect_options *ndo, in handle_ctrl_proto()
418 int (*pfunc)(netdissect_options *, const u_char *, int); in handle_ctrl_proto()
580 print_lcp_config_options(netdissect_options *ndo, in print_lcp_config_options()
807 handle_mlppp(netdissect_options *ndo, in handle_mlppp()
[all …]
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,
683 static const u_char *(*npfunc[])(netdissect_options *ndo, u_char tpay,
862 hexprint(netdissect_options *ndo, caddr_t loc, size_t len) in hexprint()
873 rawprint(netdissect_options *ndo, caddr_t loc, size_t len) in rawprint()
887 static int ike_show_somedata(netdissect_options *ndo, in ike_show_somedata()
[all …]
Dprint-juniper.c445 static int ip_heuristic_guess(netdissect_options *, register const u_char *, u_int);
446 static int juniper_ppp_heuristic_guess(netdissect_options *, register const u_char *, u_int);
447 static int juniper_parse_header(netdissect_options *, const u_char *, const struct pcap_pkthdr *, s…
451 juniper_ggsn_print(netdissect_options *ndo, in juniper_ggsn_print()
497 juniper_es_print(netdissect_options *ndo, in juniper_es_print()
569 juniper_monitor_print(netdissect_options *ndo, in juniper_monitor_print()
603 juniper_services_print(netdissect_options *ndo, in juniper_services_print()
638 juniper_pppoe_print(netdissect_options *ndo, in juniper_pppoe_print()
656 juniper_ether_print(netdissect_options *ndo, in juniper_ether_print()
674 juniper_ppp_print(netdissect_options *ndo, in juniper_ppp_print()
[all …]
Dprint-wb.c179 wb_id(netdissect_options *ndo, in wb_id()
225 wb_rreq(netdissect_options *ndo, in wb_rreq()
242 wb_preq(netdissect_options *ndo, in wb_preq()
257 wb_prep(netdissect_options *ndo, in wb_prep()
311 wb_dops(netdissect_options *ndo, const struct pkt_dop *dop, in wb_dops()
348 wb_rrep(netdissect_options *ndo, in wb_rrep()
373 wb_drawop(netdissect_options *ndo, in wb_drawop()
398 wb_print(netdissect_options *ndo, in wb_print()

123456