Go to the documentation of this file.
26 #ifndef OPENVAS_PCAP_H
27 #define OPENVAS_PCAP_H
int get_datalink_size(int)
Definition: pcap.c:444
int islocalhost(struct in_addr *)
Tests whether a packet sent to IP is LIKELY to route through the kernel localhost interface.
Definition: pcap.c:417
int v6_is_local_ip(struct in6_addr *)
Definition: pcap.c:108
int v6_getsourceip(struct in6_addr *, struct in6_addr *)
Definition: pcap.c:694
char * v6_routethrough(struct in6_addr *, struct in6_addr *)
An awesome function to determine what interface a packet to a given destination should be routed thro...
Definition: pcap.c:1063
char * routethrough(struct in_addr *, struct in_addr *)
An awesome function to determine what interface a packet to a given destination should be routed thro...
Definition: pcap.c:1246
int v6_get_mac_addr(struct in6_addr *, char **)
We send an empty UDP packet to the remote host, and read back its mac.
Definition: pcap.c:173
int v6_islocalhost(struct in6_addr *)
Tests whether a packet sent to IP is LIKELY to route through the kernel localhost interface.
Definition: pcap.c:380