8#ifndef NASL_CAPTURE_PACKET_H
9#define NASL_CAPTURE_PACKET_H
11#include <netinet/in.h>
12#include <netinet/ip6.h>
struct ip6_hdr * capture_next_v6_packet(int, int, int *)
Definition capture_packet.c:271
int init_v6_capture_device(struct in6_addr, struct in6_addr, char *)
Definition capture_packet.c:215
struct ip * capture_next_packet(int, int, int *)
Definition capture_packet.c:157
int init_capture_device(struct in_addr, struct in_addr, char *)
Set up the pcap filter, and select the correct interface.
Definition capture_packet.c:31
char * capture_next_frame(int, int, int *, int)
Capture a link layer frame.
Definition capture_packet.c:96