Home
last modified time | relevance | path

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

12345678

/external/tcpdump/
Dnetdissect.h164 typedef struct netdissect_options netdissect_options; typedef
166 #define IF_PRINTER_ARGS (netdissect_options *, const struct pcap_pkthdr *, const u_char *)
199 struct netdissect_options { struct
247 void (*ndo_default_print)(netdissect_options *, argument
251 int (*ndo_printf)(netdissect_options *, argument
255 void NORETURN_FUNCPTR (*ndo_error)(netdissect_options *, argument
260 void (*ndo_warning)(netdissect_options *, argument
265 extern WARN_UNUSED_RESULT int nd_push_buffer(netdissect_options *, u_char *, const u_char *, const …
266 extern WARN_UNUSED_RESULT int nd_push_snaplen(netdissect_options *, const u_char *, const u_int);
267 extern void nd_change_snaplen(netdissect_options *, const u_char *, const u_int);
[all …]
Daddrtoname.h49 extern const char *linkaddr_string(netdissect_options *, const uint8_t *, const unsigned int, const…
50 extern const char *etheraddr_string(netdissect_options *, const uint8_t *);
51 extern const char *le64addr_string(netdissect_options *, const uint8_t *);
52 extern const char *tcpport_string(netdissect_options *, u_short);
53 extern const char *udpport_string(netdissect_options *, u_short);
54 extern const char *isonsap_string(netdissect_options *, const uint8_t *, u_int);
55 extern const char *dnaddr_string(netdissect_options *, u_short);
56 extern const char *ipxsap_string(netdissect_options *, u_short);
57 extern const char *ipaddr_string(netdissect_options *, const u_char *);
58 extern const char *ip6addr_string(netdissect_options *, const u_char *);
[all …]
Dprint-pptp.c280 pptp_bearer_cap_print(netdissect_options *ndo, in pptp_bearer_cap_print()
296 pptp_bearer_type_print(netdissect_options *ndo, in pptp_bearer_type_print()
304 pptp_call_id_print(netdissect_options *ndo, in pptp_call_id_print()
311 pptp_call_ser_print(netdissect_options *ndo, in pptp_call_ser_print()
318 pptp_cause_code_print(netdissect_options *ndo, in pptp_cause_code_print()
325 pptp_conn_speed_print(netdissect_options *ndo, in pptp_conn_speed_print()
343 pptp_err_code_print(netdissect_options *ndo, in pptp_err_code_print()
355 pptp_firm_rev_print(netdissect_options *ndo, in pptp_firm_rev_print()
362 pptp_framing_cap_print(netdissect_options *ndo, in pptp_framing_cap_print()
383 pptp_framing_type_print(netdissect_options *ndo, in pptp_framing_type_print()
[all …]
Dprint-resp.c59 static int resp_parse(netdissect_options *, const u_char *, int);
60 static int resp_print_string_error_integer(netdissect_options *, const u_char *, int);
61 static int resp_print_simple_string(netdissect_options *, const u_char *, int);
62 static int resp_print_integer(netdissect_options *, const u_char *, int);
63 static int resp_print_error(netdissect_options *, const u_char *, int);
64 static int resp_print_bulk_string(netdissect_options *, const u_char *, int);
65 static int resp_print_bulk_array(netdissect_options *, const u_char *, int);
66 static int resp_print_inline(netdissect_options *, const u_char *, int);
67 static int resp_get_length(netdissect_options *, const u_char *, int, const u_char **);
210 resp_print(netdissect_options *ndo, const u_char *bp, u_int length) in resp_print()
[all …]
Dcpack.h43 int nd_cpack_uint8(netdissect_options *, struct cpack_state *, uint8_t *);
44 int nd_cpack_int8(netdissect_options *, struct cpack_state *, int8_t *);
45 int nd_cpack_uint16(netdissect_options *, struct cpack_state *, uint16_t *);
46 int nd_cpack_int16(netdissect_options *, struct cpack_state *, int16_t *);
47 int nd_cpack_uint32(netdissect_options *, struct cpack_state *, uint32_t *);
48 int nd_cpack_int32(netdissect_options *, struct cpack_state *, int32_t *);
49 int nd_cpack_uint64(netdissect_options *, struct cpack_state *, uint64_t *);
50 int nd_cpack_int64(netdissect_options *, struct cpack_state *, int64_t *);
Dprint-cdp.c64 static void cdp_print_addr(netdissect_options *, const u_char *, u_int);
65 static void cdp_print_prefixes(netdissect_options *, const u_char *, u_int);
68 cdp_print_string(netdissect_options *ndo, in cdp_print_string()
77 cdp_print_power(netdissect_options *ndo, in cdp_print_power()
97 cdp_print_capability(netdissect_options *ndo, in cdp_print_capability()
108 cdp_print_version(netdissect_options *ndo, in cdp_print_version()
125 cdp_print_uint16(netdissect_options *ndo, in cdp_print_uint16()
132 cdp_print_duplex(netdissect_options *ndo, in cdp_print_duplex()
151 cdp_print_ata186(netdissect_options *ndo, in cdp_print_ata186()
161 cdp_print_mtu(netdissect_options *ndo, in cdp_print_mtu()
[all …]
Dextract.h582 get_u_1(netdissect_options *ndo, const u_char *p) in get_u_1()
590 get_s_1(netdissect_options *ndo, const u_char *p) in get_s_1()
600 get_be_u_2(netdissect_options *ndo, const u_char *p) in get_be_u_2()
608 get_be_u_3(netdissect_options *ndo, const u_char *p) in get_be_u_3()
616 get_be_u_4(netdissect_options *ndo, const u_char *p) in get_be_u_4()
624 get_be_u_5(netdissect_options *ndo, const u_char *p) in get_be_u_5()
632 get_be_u_6(netdissect_options *ndo, const u_char *p) in get_be_u_6()
640 get_be_u_7(netdissect_options *ndo, const u_char *p) in get_be_u_7()
648 get_be_u_8(netdissect_options *ndo, const u_char *p) in get_be_u_8()
658 get_be_s_2(netdissect_options *ndo, const u_char *p) in get_be_s_2()
[all …]
Dprint-radius.c205 static void print_attr_string(netdissect_options *, const u_char *, u_int, u_short );
206 static void print_attr_num(netdissect_options *, const u_char *, u_int, u_short );
207 static void print_vendor_attr(netdissect_options *, const u_char *, u_int, u_short );
208 static void print_attr_address(netdissect_options *, const u_char *, u_int, u_short);
209 static void print_attr_address6(netdissect_options *, const u_char *, u_int, u_short);
210 static void print_attr_netmask6(netdissect_options *, const u_char *, u_int, u_short);
211 static void print_attr_mip6_home_link_prefix(netdissect_options *, const u_char *, u_int, u_short);
212 static void print_attr_operator_name(netdissect_options *, const u_char *, u_int, u_short);
213 static void print_attr_location_information(netdissect_options *, const u_char *, u_int, u_short);
214 static void print_attr_location_data(netdissect_options *, const u_char *, u_int, u_short);
[all …]
Dutil-print.c70 fn_print_char(netdissect_options *ndo, u_char c) in fn_print_char()
89 fn_print_str(netdissect_options *ndo, const u_char *s) in fn_print_str()
116 nd_printztn(netdissect_options *ndo, in nd_printztn()
160 nd_printn(netdissect_options *ndo, in nd_printn()
182 nd_printjnp(netdissect_options *ndo, const u_char *s, u_int n) in nd_printjnp()
200 ts_frac_print(netdissect_options *ndo, long usec) in ts_frac_print()
228 ts_date_hmsfrac_print(netdissect_options *ndo, long sec, long usec, in ts_date_hmsfrac_print()
262 ts_unix_print(netdissect_options *ndo, long sec, long usec) in ts_unix_print()
277 ts_print(netdissect_options *ndo, in ts_print()
350 unsigned_relts_print(netdissect_options *ndo, in unsigned_relts_print()
[all …]
Dprint-l2tp.c268 print_string(netdissect_options *ndo, const u_char *dat, u_int length) in print_string()
278 print_octets(netdissect_options *ndo, const u_char *dat, u_int length) in print_octets()
288 print_16bits_val(netdissect_options *ndo, const uint8_t *dat) in print_16bits_val()
294 print_32bits_val(netdissect_options *ndo, const uint8_t *dat) in print_32bits_val()
303 l2tp_msgtype_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_msgtype_print()
314 l2tp_result_code_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_result_code_print()
344 l2tp_proto_ver_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_proto_ver_print()
355 l2tp_framing_cap_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_framing_cap_print()
370 l2tp_bearer_cap_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_bearer_cap_print()
385 l2tp_q931_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_q931_cc_print()
[all …]
Dprint-ptp.c290 static void ptp_print_1(netdissect_options *ndo);
291 static void ptp_print_2(netdissect_options *ndo, const u_char *bp, u_int len);
293 static void ptp_print_timestamp(netdissect_options *ndo, const u_char *bp, u_int *len, const char *…
294 static void ptp_print_timestamp_identity(netdissect_options *ndo, const u_char *bp, u_int *len, con…
295 static void ptp_print_announce_msg(netdissect_options *ndo, const u_char *bp, u_int *len);
296 static void ptp_print_port_id(netdissect_options *ndo, const u_char *bp, u_int *len);
297 static void ptp_print_mgmt_msg(netdissect_options *ndo, const u_char *bp, u_int *len);
300 print_field(netdissect_options *ndo, const char *st, uint32_t flen, in print_field()
351 ptp_print_1(netdissect_options *ndo) in ptp_print_1()
357 ptp_print_2(netdissect_options *ndo, const u_char *bp, u_int length) in ptp_print_2()
[all …]
Dprint-ipx.c64 static const char *ipxaddr_string(netdissect_options *, uint32_t, const u_char *);
65 static void ipx_decode(netdissect_options *, const struct ipxHdr *, const u_char *, u_int);
66 static void ipx_sap_print(netdissect_options *, const u_char *, u_int);
67 static void ipx_rip_print(netdissect_options *, const u_char *, u_int);
73 ipx_print(netdissect_options *ndo, const u_char *p, u_int length) in ipx_print()
101 ipxaddr_string(netdissect_options *ndo, uint32_t net, const u_char *node) in ipxaddr_string()
114 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length) in ipx_decode()
154 ipx_sap_print(netdissect_options *ndo, const u_char *ipx, u_int length) in ipx_sap_print()
228 ipx_rip_print(netdissect_options *ndo, const u_char *ipx, u_int length) in ipx_rip_print()
Dcpack.c98 nd_cpack_uint64(netdissect_options *ndo, struct cpack_state *cs, uint64_t *u) in nd_cpack_uint64()
114 nd_cpack_int64(netdissect_options *ndo, struct cpack_state *cs, int64_t *u) in nd_cpack_int64()
130 nd_cpack_uint32(netdissect_options *ndo, struct cpack_state *cs, uint32_t *u) in nd_cpack_uint32()
146 nd_cpack_int32(netdissect_options *ndo, struct cpack_state *cs, int32_t *u) in nd_cpack_int32()
162 nd_cpack_uint16(netdissect_options *ndo, struct cpack_state *cs, uint16_t *u) in nd_cpack_uint16()
178 nd_cpack_int16(netdissect_options *ndo, struct cpack_state *cs, int16_t *u) in nd_cpack_int16()
194 nd_cpack_uint8(netdissect_options *ndo, struct cpack_state *cs, uint8_t *u) in nd_cpack_uint8()
209 nd_cpack_int8(netdissect_options *ndo, struct cpack_state *cs, int8_t *u) in nd_cpack_int8()
Dprint-atalk.c60 static void atp_print(netdissect_options *, const struct atATP *, u_int);
61 static void atp_bitmap_print(netdissect_options *, u_char);
62 static void nbp_print(netdissect_options *, const struct atNBP *, u_int, u_short, u_char, u_char);
63 static const struct atNBPtuple *nbp_tuple_print(netdissect_options *ndo, const struct atNBPtuple *,
66 static const struct atNBPtuple *nbp_name_print(netdissect_options *, const struct atNBPtuple *,
68 static const char *ataddr_string(netdissect_options *, u_short, u_char);
69 static void ddp_print(netdissect_options *, const u_char *, u_int, u_int, u_short, u_char, u_char);
70 static const char *ddpskt_string(netdissect_options *, u_int);
76 ltalk_if_print(netdissect_options *ndo, in ltalk_if_print()
95 llap_print(netdissect_options *ndo, in llap_print()
[all …]
Dprint-rx.c496 static void rx_cache_insert(netdissect_options *, const u_char *, const struct ip *, uint16_t);
497 static int rx_cache_find(netdissect_options *, const struct rx_header *,
500 static void fs_print(netdissect_options *, const u_char *, u_int);
501 static void fs_reply_print(netdissect_options *, const u_char *, u_int, uint32_t);
502 static void acl_print(netdissect_options *, u_char *, const u_char *);
503 static void cb_print(netdissect_options *, const u_char *, u_int);
504 static void cb_reply_print(netdissect_options *, const u_char *, u_int, uint32_t);
505 static void prot_print(netdissect_options *, const u_char *, u_int);
506 static void prot_reply_print(netdissect_options *, const u_char *, u_int, uint32_t);
507 static void vldb_print(netdissect_options *, const u_char *, u_int);
[all …]
Dprint-gre.c72 static void gre_print_0(netdissect_options *, const u_char *, u_int);
73 static void gre_print_1(netdissect_options *, const u_char *, u_int);
74 static int gre_sre_print(netdissect_options *, uint16_t, uint8_t, uint8_t, const u_char *, u_int);
75 static int gre_sre_ip_print(netdissect_options *, uint8_t, uint8_t, const u_char *, u_int);
76 static int gre_sre_asn_print(netdissect_options *, uint8_t, uint8_t, const u_char *, u_int);
79 gre_print(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print()
108 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print_0()
235 gre_print_1(netdissect_options *ndo, const u_char *bp, u_int length) in gre_print_1()
319 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, in gre_sre_print()
343 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, in gre_sre_ip_print()
[all …]
Dprint-ahcp.c101 ahcp_time_print(netdissect_options *ndo, in ahcp_time_print()
125 ahcp_seconds_print(netdissect_options *ndo, in ahcp_seconds_print()
139 ahcp_ipv6_addresses_print(netdissect_options *ndo, in ahcp_ipv6_addresses_print()
160 ahcp_ipv4_addresses_print(netdissect_options *ndo, in ahcp_ipv4_addresses_print()
181 ahcp_ipv6_prefixes_print(netdissect_options *ndo, in ahcp_ipv6_prefixes_print()
202 ahcp_ipv4_prefixes_print(netdissect_options *ndo, in ahcp_ipv4_prefixes_print()
223 (* const data_decoders[AHCP1_OPT_MAX + 1])(netdissect_options *, const u_char *, uint8_t) = {
241 ahcp1_options_print(netdissect_options *ndo, in ahcp1_options_print()
280 ahcp1_body_print(netdissect_options *ndo, in ahcp1_body_print()
325 ahcp_print(netdissect_options *ndo, in ahcp_print()
Dprint-forces.c68 int (*print) (netdissect_options *ndo, const u_char * pptr, u_int len,
234 int (*print) (netdissect_options *ndo, const u_char * pptr, u_int len,
238 static int genoptlv_print(netdissect_options *, const u_char * pptr, u_int len,
240 static int recpdoptlv_print(netdissect_options *, const u_char * pptr, u_int len,
242 static int invoptlv_print(netdissect_options *, const u_char * pptr, u_int len,
432 ilv_valid(netdissect_options *ndo, const struct forces_ilv *ilv, u_int rlen) in ilv_valid()
446 static int lfbselect_print(netdissect_options *, const u_char * pptr, u_int len,
448 static int redirect_print(netdissect_options *, const u_char * pptr, u_int len,
450 static int asrtlv_print(netdissect_options *, const u_char * pptr, u_int len,
452 static int asttlv_print(netdissect_options *, const u_char * pptr, u_int len,
[all …]
Dprint-dvmrp.c72 static void print_probe(netdissect_options *, const u_char *, u_int);
73 static void print_report(netdissect_options *, const u_char *, u_int);
74 static void print_neighbors(netdissect_options *, const u_char *, u_int);
75 static void print_neighbors2(netdissect_options *, const u_char *, u_int, uint8_t, uint8_t);
78 dvmrp_print(netdissect_options *ndo, in dvmrp_print()
147 print_report(netdissect_options *ndo, in print_report()
202 print_probe(netdissect_options *ndo, in print_probe()
232 print_neighbors(netdissect_options *ndo, in print_neighbors()
274 print_neighbors2(netdissect_options *ndo, in print_neighbors2()
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()
88 sl_bsdos_if_print(netdissect_options *ndo, in sl_bsdos_if_print()
111 sliplink_print(netdissect_options *ndo, in sliplink_print()
173 print_sl_change(netdissect_options *ndo, in print_sl_change()
188 print_sl_winchange(netdissect_options *ndo, in print_sl_winchange()
206 compressed_sl_print(netdissect_options *ndo, in compressed_sl_print()
Dprint.c249 static void ndo_default_print(netdissect_options *ndo, const u_char *bp,
252 static void NORETURN ndo_error(netdissect_options *ndo,
256 static void ndo_warning(netdissect_options *ndo,
260 static int ndo_printf(netdissect_options *ndo,
265 init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask) in init_print()
327 pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, in pretty_print_packet()
504 ndo_default_print(netdissect_options *ndo, const u_char *bp, u_int length) in ndo_default_print()
511 ndo_error(netdissect_options *ndo, status_exit_codes_t status, in ndo_error()
533 ndo_warning(netdissect_options *ndo, const char *fmt, ...) in ndo_warning()
551 ndo_printf(netdissect_options *ndo, const char *fmt, ...) in ndo_printf()
[all …]
Dprint-krb.c53 static const u_char *c_print(netdissect_options *, const u_char *, const u_char *);
54 static const u_char *krb4_print_hdr(netdissect_options *, const u_char *);
55 static void krb4_print(netdissect_options *, const u_char *);
113 c_print(netdissect_options *ndo, in c_print()
135 krb4_print_hdr(netdissect_options *ndo, in krb4_print_hdr()
157 krb4_print(netdissect_options *ndo, in krb4_print()
227 krb_print(netdissect_options *ndo, in krb_print()
Dprint-ether.c111 ether_addresses_print(netdissect_options *ndo, const u_char *src, in ether_addresses_print()
119 ether_type_print(netdissect_options *ndo, uint16_t type) in ether_type_print()
138 ether_common_print(netdissect_options *ndo, const u_char *p, u_int length, in ether_common_print()
140 void (*print_switch_tag)(netdissect_options *ndo, const u_char *), in ether_common_print()
142 void (*print_encap_header)(netdissect_options *ndo, const u_char *), in ether_common_print()
424 ether_switch_tag_print(netdissect_options *ndo, const u_char *p, u_int length, in ether_switch_tag_print()
426 void (*print_switch_tag)(netdissect_options *, const u_char *), in ether_switch_tag_print() argument
442 ether_print(netdissect_options *ndo, in ether_print()
444 void (*print_encap_header)(netdissect_options *ndo, const u_char *), in ether_print()
459 ether_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, in ether_if_print()
[all …]
Dprint-mptcp.c185 dummy_print(netdissect_options *ndo _U_, in dummy_print()
192 mp_capable_print(netdissect_options *ndo, in mp_capable_print()
226 mp_join_print(netdissect_options *ndo, in mp_join_print()
266 mp_dss_print(netdissect_options *ndo, in mp_dss_print()
357 add_addr_print(netdissect_options *ndo, in add_addr_print()
394 remove_addr_print(netdissect_options *ndo, in remove_addr_print()
411 mp_prio_print(netdissect_options *ndo, in mp_prio_print()
430 mp_fail_print(netdissect_options *ndo, in mp_fail_print()
441 mp_fast_close_print(netdissect_options *ndo, in mp_fast_close_print()
453 int (*print)(netdissect_options *, const u_char *, u_int, u_char);
[all …]
Dprint-openflow-1.0.c698 of10_bsn_message_print(netdissect_options *ndo, in of10_bsn_message_print()
878 of10_bsn_actions_print(netdissect_options *ndo, in of10_bsn_actions_print()
942 of10_vendor_action_print(netdissect_options *ndo, in of10_vendor_action_print()
946 void (*decoder)(netdissect_options *, const u_char *, u_int); in of10_vendor_action_print()
968 of10_vendor_message_print(netdissect_options *ndo, in of10_vendor_message_print()
972 void (*decoder)(netdissect_options *, const u_char *, u_int); in of10_vendor_message_print()
987 of10_vendor_data_print(netdissect_options *ndo, in of10_vendor_data_print()
1008 of10_packet_data_print(netdissect_options *ndo, in of10_packet_data_print()
1038 of10_phy_port_print(netdissect_options *ndo, in of10_phy_port_print()
1095 of10_queue_props_print(netdissect_options *ndo, in of10_queue_props_print()
[all …]

12345678