13 lines
276 B
C
13 lines
276 B
C
#ifndef NPCAP_HANDLE_H
|
|
#define NPCAP_HANDLE_H
|
|
#include <linux/if_ether.h>
|
|
#include "nethdr.h"
|
|
#include <stdio.h>
|
|
#include <arpa/inet.h>
|
|
#include <netinet/ip.h>
|
|
|
|
int handle_eth(struct ethhdr* eth);
|
|
int handle_arp(struct arphdr_c* arp);
|
|
int handle_ip(struct iphdr* ip);
|
|
|
|
#endif
|