36 #ifndef lib_pcap_namedb_h 37 #define lib_pcap_namedb_h 54 #ifndef PCAP_ETHERS_FILE 55 #define PCAP_ETHERS_FILE "/etc/ethers" 63 struct addrinfo *pcap_nametoaddrinfo(
const char *);
78 #define PROTO_UNDEF -1
int __pcap_atoin(const char *, bpf_u_int32 *)
u_char * pcap_ether_hostton(const char *)
int pcap_nametoport(const char *, int *, int *)
u_short __pcap_nametodnaddr(const char *)
u_char * pcap_ether_aton(const char *)
bpf_u_int32 pcap_nametonetaddr(const char *)
int pcap_nametollc(const char *)
int pcap_nametoportrange(const char *, int *, int *, int *)
int pcap_nametoproto(const char *)
bpf_u_int32 ** pcap_nametoaddr(const char *)
int pcap_nametoeproto(const char *)
struct pcap_etherent * pcap_next_etherent(FILE *)
int __pcap_atodn(const char *, bpf_u_int32 *)