libpcap  1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
  Fossies Dox: libpcap-1.10.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fmtutils.h File Reference
#include "pcap/funcattrs.h"
Include dependency graph for fmtutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pcap_fmt_set_encoding (unsigned int)
 
void pcap_fmt_errmsg_for_errno (char *, size_t, int, const char *,...)
 

Function Documentation

◆ pcap_fmt_errmsg_for_errno()

void pcap_fmt_errmsg_for_errno ( char *  errbuf,
size_t  errbuflen,
int  errnum,
const char *  fmt,
  ... 
)

Definition at line 269 of file fmtutils.c.

References PCAP_ERRBUF_SIZE, pcap_strerror(), snprintf(), and vsnprintf().

Referenced by acn_parse_hosts_file(), activate_pf_packet(), add_addr_to_dev(), add_dev(), airpcap_activate(), bpf_bind(), bpf_open(), bt_activate(), bt_findalldevs(), bt_monitor_activate(), bt_monitor_read(), bt_read_linux(), bt_stats_linux(), check_bpf_bindable(), create_ring(), daemon_AuthUserPwd(), daemon_msg_auth_req(), daemon_msg_startcap_req(), daemon_unpackapplyfilter(), dag_activate(), dag_create(), dag_get_datalink(), dag_setnonblock(), device_still_exists(), fix_program(), get_gai_errstring(), get_if_flags(), iface_bind(), iface_dsa_get_proto_info(), iface_get_arptype(), iface_get_id(), iface_get_mtu(), init_tpacket(), install_bpf_program(), netfilter_activate(), netfilter_findalldevs(), netfilter_read_linux(), nit_setflags(), open_dlpi_device(), pcap_activate_bpf(), pcap_activate_dlpi(), pcap_activate_haiku(), pcap_activate_libdlpi(), pcap_activate_linux(), pcap_activate_nit(), pcap_activate_npf(), pcap_activate_pf(), pcap_activate_sita(), pcap_activate_snit(), pcap_activate_snoop(), pcap_alloc_databuf(), pcap_alloc_pcap_t(), pcap_check_header(), pcap_compile(), pcap_create(), pcap_create_interface(), pcap_dump_open(), pcap_dump_open_append(), pcap_findalldevs_ex(), pcap_findalldevs_ex_remote(), pcap_findalldevs_interfaces(), pcap_fopen_offline_with_tstamp_precision(), pcap_getnonblock_fd(), pcap_inject(), pcap_inject_bpf(), pcap_inject_dlpi(), pcap_inject_linux(), pcap_inject_nit(), pcap_inject_pf(), pcap_inject_snit(), pcap_inject_snoop(), pcap_list_datalinks(), pcap_list_tstamp_types(), pcap_lookupnet(), pcap_netmap_activate(), pcap_next_packet(), pcap_ng_check_header(), pcap_open_offline_with_tstamp_precision(), pcap_open_rpcap(), pcap_platform_finddevs(), pcap_read_bpf(), pcap_read_dlpi(), pcap_read_nit(), pcap_read_pf(), pcap_read_snit(), pcap_read_snoop(), pcap_remoteact_accept_ex(), pcap_sendpacket(), pcap_setfilter_bpf(), pcap_setfilter_linux(), pcap_setfilter_pf(), pcap_setnonblock_fd(), pcap_setup_dump(), pcap_startcapture_remote(), pcap_stats_bpf(), pcap_stats_linux(), pcap_stats_snoop(), pcap_wait_for_frames_mmap(), process_client_data(), read_bytes(), recv_ack(), rpcap_deseraddr(), send_request(), set_kernel_filter(), setup_mmapped(), snf_activate(), snf_create(), snf_findalldevs(), snf_inject(), snf_pcap_stats(), snf_read(), sock_fmterror(), usb_activate(), usb_read_linux_bin(), usb_read_linux_mmap(), usb_set_ring_size(), and usb_stats_linux_bin().

◆ pcap_fmt_set_encoding()

void pcap_fmt_set_encoding ( unsigned int  opts)

Definition at line 77 of file fmtutils.c.

Referenced by main(), and pcap_init().