12#ifndef MISC_PCAP_OPENVAS_H
13#define MISC_PCAP_OPENVAS_H
19#include <netinet/in.h>
int get_datalink_size(int)
Definition pcap.c:298
int get_iface_index(struct in6_addr *, int *)
Get the interface index depending on the target's IP.
Definition pcap.c:1334
char * get_iface_from_ip(const char *)
Given an IP address, determines which interface belongs to.
Definition pcap.c:1280
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:234
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:851
int islocalhost(struct in_addr *)
Tests whether a packet sent to IP is LIKELY to route through the kernel localhost interface.
Definition pcap.c:271
int v6_is_local_ip(struct in6_addr *)
Definition pcap.c:115
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:1070
int v6_getsourceip(struct in6_addr *, struct in6_addr *)
Definition pcap.c:487