Go to the documentation of this file.
8 #ifndef NASL_CAPTURE_PACKET_H
9 #define NASL_CAPTURE_PACKET_H
11 #include <netinet/in.h>
12 #include <netinet/ip6.h>
int init_capture_device(struct in_addr, struct in_addr, char *)
Set up the pcap filter, and select the correct interface.
int init_v6_capture_device(struct in6_addr, struct in6_addr, char *)
char * capture_next_frame(int, int, int *, int)
Capture a link layer frame.
struct ip * capture_next_packet(int, int, int *)
struct ip6_hdr * capture_next_v6_packet(int, int, int *)