tcpdump  4.99.1
About: tcpdump is a tool for network monitoring and data acquisition.
  Fossies Dox: tcpdump-4.99.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

netdissect_options Struct Reference

#include <netdissect.h>

Collaboration diagram for netdissect_options:
[legend]

Data Fields

int ndo_bflag
 
int ndo_eflag
 
int ndo_fflag
 
int ndo_Kflag
 
int ndo_nflag
 
int ndo_Nflag
 
int ndo_qflag
 
int ndo_Sflag
 
int ndo_tflag
 
int ndo_uflag
 
int ndo_vflag
 
int ndo_xflag
 
int ndo_Xflag
 
int ndo_Aflag
 
int ndo_Hflag
 
const char * ndo_protocol
 
jmp_buf ndo_early_end
 
void * ndo_last_mem_p
 
int ndo_packet_number
 
int ndo_suppress_default_print
 
int ndo_tstamp_precision
 
const char * program_name
 
char * ndo_espsecret
 
struct sa_list * ndo_sa_list_head
 
struct sa_list * ndo_sa_default
 
char * ndo_sigsecret
 
int ndo_packettype
 
int ndo_snaplen
 
int ndo_ll_hdr_len
 
const u_char * ndo_packetp
 
const u_char * ndo_snapend
 
struct netdissect_saved_packet_infondo_packet_info_stack
 
if_printer ndo_if_printer
 
void(* ndo_default_print )(netdissect_options *, const u_char *bp, u_int length)
 
int(* ndo_printf )(netdissect_options *, const char *fmt,...) PRINTFLIKE_FUNCPTR(2
 
int(*) void NORETURN_FUNCPTR(* ndo_error )(netdissect_options *, status_exit_codes_t status, const char *fmt,...) PRINTFLIKE_FUNCPTR(3
 
int(*) void NORETURN_FUNCPTR(*) void(* ndo_warning )(netdissect_options *, const char *fmt,...) PRINTFLIKE_FUNCPTR(2
 

Detailed Description

Definition at line 200 of file netdissect.h.

Field Documentation

◆ ndo_Aflag

int netdissect_options::ndo_Aflag

Definition at line 214 of file netdissect.h.

Referenced by main(), and pretty_print_packet().

◆ ndo_bflag

int netdissect_options::ndo_bflag

Definition at line 201 of file netdissect.h.

Referenced by as_printf(), and main().

◆ ndo_default_print

void(* netdissect_options::ndo_default_print) (netdissect_options *, const u_char *bp, u_int length)

Definition at line 248 of file netdissect.h.

Referenced by ndo_set_function_pointers().

◆ ndo_early_end

jmp_buf netdissect_options::ndo_early_end

Definition at line 219 of file netdissect.h.

Referenced by nd_trunc_longjmp(), and pretty_print_packet().

◆ ndo_eflag

◆ ndo_error

◆ ndo_espsecret

char* netdissect_options::ndo_espsecret

Definition at line 226 of file netdissect.h.

Referenced by esp_print(), isakmp_print(), and main().

◆ ndo_fflag

int netdissect_options::ndo_fflag

Definition at line 203 of file netdissect.h.

Referenced by init_addrtoname(), and main().

◆ ndo_Hflag

int netdissect_options::ndo_Hflag

Definition at line 217 of file netdissect.h.

Referenced by ieee802_11_print(), and main().

◆ ndo_if_printer

if_printer netdissect_options::ndo_if_printer

Definition at line 245 of file netdissect.h.

Referenced by main(), and pretty_print_packet().

◆ ndo_Kflag

int netdissect_options::ndo_Kflag

Definition at line 204 of file netdissect.h.

Referenced by ip_print(), main(), tcp_print(), and udp_print().

◆ ndo_last_mem_p

void* netdissect_options::ndo_last_mem_p

Definition at line 220 of file netdissect.h.

Referenced by nd_add_alloc_list(), and nd_free_all().

◆ ndo_ll_hdr_len

◆ ndo_nflag

◆ ndo_Nflag

int netdissect_options::ndo_Nflag

Definition at line 206 of file netdissect.h.

Referenced by ip6addr_string(), ipaddr_string(), and main().

◆ ndo_packet_info_stack

struct netdissect_saved_packet_info* netdissect_options::ndo_packet_info_stack

◆ ndo_packet_number

int netdissect_options::ndo_packet_number

Definition at line 221 of file netdissect.h.

Referenced by main(), and pretty_print_packet().

◆ ndo_packetp

const u_char* netdissect_options::ndo_packetp

Definition at line 238 of file netdissect.h.

Referenced by ikev2_e_print(), nd_pop_packet_info(), nd_push_buffer(), and nd_push_snapend().

◆ ndo_packettype

int netdissect_options::ndo_packettype

Definition at line 232 of file netdissect.h.

Referenced by ip_demux_print(), main(), pgm_print(), tcp_print(), and udp_print().

◆ ndo_printf

int(* netdissect_options::ndo_printf) (netdissect_options *, const char *fmt,...) PRINTFLIKE_FUNCPTR(2

Definition at line 252 of file netdissect.h.

Referenced by ndo_set_function_pointers().

◆ ndo_protocol

const char* netdissect_options::ndo_protocol

Definition at line 218 of file netdissect.h.

Referenced by aarp_print(), ah_print(), ahcp_print(), aodv_print(), aoe_print(), ap1394_if_print(), arcnet_if_print(), arcnet_linux_if_print(), arcnet_print(), arista_ethertype_print(), arp_print(), ascii_print(), atalk_print(), atm_if_print(), atm_print(), babel_print(), bcm_li_print(), beep_print(), bfd_print(), bgp_print(), brcm_tag_if_print(), brcm_tag_prepend_if_print(), calm_fast_print(), carp_print(), cdp_print(), cfm_print(), chdlc_if_print(), chdlc_print(), chdlc_slarp_print(), cip_if_print(), cisco_autorp_print(), clnp_print(), cnfp_print(), decnet_print(), dhcp6_print(), domain_print(), dsa_if_print(), dstopt_process(), dtp_print(), dvmrp_print(), eapol_print(), edsa_if_print(), egp_print(), eigrp_print(), enc_if_print(), esis_print(), esp_print(), ether_common_print(), ether_if_print(), ether_print(), ethertype_print(), fddi_if_print(), fddi_print(), forces_print(), fr_if_print(), fr_print(), frag6_print(), ftp_print(), geneve_print(), geonet_print(), gre_print(), hbhopt_process(), hsrp_print(), http_print(), icmp6_print(), icmp_print(), ieee802_11_if_print(), ieee802_11_print(), ieee802_11_radio_avs_if_print(), ieee802_11_radio_avs_print(), ieee802_11_radio_if_print(), ieee802_11_radio_print(), ieee802_15_4_if_print(), ieee802_15_4_print(), ieee802_15_4_tap_if_print(), igmp_print(), igrp_print(), ip6_print(), ip_demux_print(), ip_print(), ipcomp_print(), ipfc_if_print(), ipfc_print(), ipN_print(), ipoib_if_print(), ipx_netbios_print(), ipx_print(), isakmp_print(), isakmp_rfc3948_print(), isis_print(), krb_print(), l2tp_print(), lane_print(), ldp_print(), lisp_print(), llap_print(), llc_print(), lldp_print(), lmp_print(), loopback_print(), lspping_print(), ltalk_if_print(), lwapp_control_print(), lwapp_data_print(), lwres_print(), m3ua_print(), macsec_print(), mfr_print(), mobile_print(), mobility_print(), mpcp_print(), mpls_print(), mptcp_print(), msdp_print(), msnlb_print(), nbt_tcp_print(), nbt_udp137_print(), nbt_udp138_print(), nd_print_protocol(), nd_print_protocol_caps(), nd_print_trunc(), netanalyzer_if_print(), netanalyzer_transparent_if_print(), netbeui_print(), nfsreply_noaddr_print(), nfsreply_print(), nfsreq_noaddr_print(), nsh_print(), ntp_print(), null_if_print(), oam_print(), olsr_print(), openflow_print(), ospf6_print(), ospf_print(), otv_print(), pflog_if_print(), pflog_print(), pgm_print(), pim_print(), pimv1_print(), pimv2_print(), ppp_bsdos_if_print(), ppp_hdlc_if_print(), ppp_if_print(), ppp_print(), pppoe_if_print(), pppoe_print(), pptp_print(), pretty_print_packet(), print_smb(), prism_if_print(), ptp_print(), q933_print(), radius_print(), raw_if_print(), rip_print(), ripng_print(), rpki_rtr_print(), rrcp_print(), rsvp_print(), rt6_print(), rtcp_print(), rtp_print(), rtsp_print(), rx_print(), sctp_print(), sflow_print(), sip_print(), sl_bsdos_if_print(), sl_if_print(), sll2_if_print(), sll2_print(), sll_if_print(), sll_print(), slow_print(), smb_tcp_print(), smtp_print(), snap_print(), snmp_print(), someip_print(), ssh_print(), stp_print(), sunatm_if_print(), sunrpc_print(), symantec_if_print(), syslog_print(), tcp_print(), telnet_print(), tftp_print(), timed_print(), tipc_print(), token_if_print(), token_print(), udld_print(), udp_print(), unsupported_if_print(), vat_print(), vjc_print(), vqp_print(), vrrp_print(), vsock_if_print(), vtp_print(), vxlan_gpe_print(), vxlan_print(), wb_print(), zep_print(), zephyr_print(), zmtp1_datagram_print(), and zmtp1_print().

◆ ndo_qflag

◆ ndo_sa_default

struct sa_list* netdissect_options::ndo_sa_default

Definition at line 228 of file netdissect.h.

Referenced by esp_print().

◆ ndo_sa_list_head

struct sa_list* netdissect_options::ndo_sa_list_head

Definition at line 227 of file netdissect.h.

Referenced by esp_print(), and isakmp_print().

◆ ndo_Sflag

int netdissect_options::ndo_Sflag

Definition at line 208 of file netdissect.h.

Referenced by main(), and tcp_print().

◆ ndo_sigsecret

char* netdissect_options::ndo_sigsecret

Definition at line 230 of file netdissect.h.

Referenced by main().

◆ ndo_snapend

◆ ndo_snaplen

int netdissect_options::ndo_snaplen

Definition at line 234 of file netdissect.h.

Referenced by main(), and open_interface().

◆ ndo_suppress_default_print

◆ ndo_tflag

int netdissect_options::ndo_tflag

Definition at line 209 of file netdissect.h.

Referenced by main(), and ts_print().

◆ ndo_tstamp_precision

int netdissect_options::ndo_tstamp_precision

Definition at line 223 of file netdissect.h.

Referenced by main(), open_interface(), ts_frac_print(), and ts_print().

◆ ndo_uflag

int netdissect_options::ndo_uflag

Definition at line 210 of file netdissect.h.

Referenced by main(), and nfs_printfh().

◆ ndo_vflag

int netdissect_options::ndo_vflag

Definition at line 211 of file netdissect.h.

Referenced by ah_print(), ahcp1_body_print(), ahcp_print(), aoev1_print(), arcnet_encap_print(), arp_print(), asrtlv_print(), asttlv_print(), atmarp_print(), babel_print_v2(), babel_print_v2_tlvs(), bcm_li_print(), bfd_print(), bgp_attr_print(), bgp_capabilities_print(), bgp_mp_af_print(), bgp_print(), bgp_route_refresh_print(), calm_fast_print(), carp_print(), cdp_print(), cfm_print(), chdlc_slarp_print(), clnp_print(), decnet_print(), dhcp6_print(), domain_print(), dstopt_process(), dtp_print(), dvmrp_print(), eapol_print(), egp_print(), eigrp_print(), esis_print(), ethertype_print(), fdatatlv_print(), forces_print(), forces_type_print(), fr_q933_print_ie_codeset_0_5(), frag6_print(), geneve_opts_print(), geneve_print(), genoptlv_print(), geonet_print(), gre_print_0(), gre_print_1(), handle_ctrl_proto(), hsrp_print(), icmp6_nodeinfo_print(), icmp6_opt_print(), icmp6_print(), icmp6_rrenum_print(), icmp_print(), ieee802_15_4_mp_frame(), ieee802_15_4_print_aux_sec_header(), ieee802_15_4_print_gts_info(), ieee802_15_4_print_header_ie_list(), ieee802_15_4_print_mlme_ie_list(), ieee802_15_4_print_payload_ie_list(), ieee802_15_4_print_pending_addresses(), ieee802_15_4_print_superframe_specification(), ieee802_15_4_std_frames(), ieee_802_11_hdr_print(), igmp_print(), igrp_print(), ikev1_cert_print(), ikev1_cr_print(), ikev1_hash_print(), ikev1_id_print(), ikev1_ke_print(), ikev1_n_print(), ikev1_nonce_print(), ikev1_print(), ikev1_sig_print(), ikev1_vid_print(), ikev2_auth_print(), ikev2_e_print(), ikev2_gen_print(), ikev2_ID_print(), ikev2_ke_print(), ikev2_n_print(), ikev2_nonce_print(), ikev2_print(), ikev2_vid_print(), interp_reply(), invoptlv_print(), ip6_opt_process(), ip6_print(), ip_print(), is_in_line(), isakmp_print(), isis_print(), ldp_pdu_print(), ldp_tlv_print(), lfbselect_print(), lisp_hdr_flag(), lisp_print(), lldp_print(), lldp_private_dcbx_print(), lmp_print(), lspping_print(), lwapp_control_print(), lwapp_data_print(), lwres_print(), main(), mfr_print(), mldv2_query_print(), mldv2_report_print(), mobile_print(), mobility_print(), mpcp_print(), mpls_print(), msdp_print(), nbt_tcp_print(), nbt_udp137_print(), nbt_udp138_print(), netbeui_print(), nfsreq_noaddr_print(), ns_rprint(), nsh_print(), ntp_print(), oam_print(), of10_packet_data_print(), of10_phy_port_print(), of10_port_stats_reply_print(), of10_queues_print(), of10_stats_reply_print(), of13_port_print(), of_data_print(), of_message_print(), olsr_print(), ospf6_decode_at(), ospf6_decode_v3(), ospf6_print(), ospf_grace_lsa_print(), ospf_print(), ospf_print_lsa(), ospf_te_lsa_print(), otlv_print(), parsecreateopres(), parsediropres(), parsefsinfo(), parselinkres(), parsepathconf(), parsestatfs(), parsev3rddirres(), pdata_print(), pdatacnt_print(), pdu_print(), pgm_print(), pim_print(), pimv1_join_prune_print(), pimv1_print(), pimv2_print(), pptp_err_code_print(), pptp_print(), pptp_result_code_print(), pptp_stopccrq_print(), prestlv_print(), print_bacp_config_options(), print_ccp_config_options(), print_igmpv3_query(), print_igmpv3_report(), print_internal(), print_ip6cp_config_options(), print_ipcp_config_options(), print_link_conf(), print_metailv(), print_payload(), print_probe(), print_reddata(), print_smb(), q933_print(), radius_attrs_print(), radius_print(), recpdoptlv_print(), rfc1048_print(), rip_print(), ripng_print(), rpki_rtr_pdu_print(), rpki_rtr_print(), rpl_dao_print(), rpl_daoack_print(), rpl_dio_print(), rpl_print(), rpl_printopts(), rsvp_intserv_print(), rsvp_obj_print(), rsvp_print(), rt6_print(), rtcp_print(), rtp_print(), rx_ack_print(), rx_print(), sctp_print(), sdatailv_print(), sflow_print(), sflow_print_counter_records(), sflow_print_flow_records(), slow_marker_lacp_print(), slow_oam_print(), slow_print(), snmp_print(), snmppdu_print(), stp_print_config_bpdu(), stp_print_mstp_bpdu(), stp_print_spb_bpdu(), syslog_print(), tcp_print(), telnet_print(), token_print(), txtproto_print(), udld_print(), udp_print(), usm_print(), v3msg_print(), vqp_print(), vrrp_print(), vsock_hdr_print(), vtp_print(), vxlan_gpe_print(), wb_drawop(), wb_rrep(), zmtp1_print_frame(), and zmtp1_print_intermediate_part().

◆ ndo_warning

int(*) void NORETURN_FUNCPTR(*) void(* netdissect_options::ndo_warning) (netdissect_options *, const char *fmt,...) PRINTFLIKE_FUNCPTR(2

Definition at line 261 of file netdissect.h.

Referenced by ndo_set_function_pointers().

◆ ndo_xflag

int netdissect_options::ndo_xflag

Definition at line 212 of file netdissect.h.

Referenced by fr_print(), main(), and pretty_print_packet().

◆ ndo_Xflag

int netdissect_options::ndo_Xflag

Definition at line 213 of file netdissect.h.

Referenced by main(), pretty_print_packet(), and telnet_print().

◆ program_name

const char* netdissect_options::program_name

Definition at line 224 of file netdissect.h.

Referenced by main(), ndo_error(), and ndo_warning().


The documentation for this struct was generated from the following file: