feat: yeah lots of things
This commit is contained in:
parent
36a83fa185
commit
62ff1a8efb
5 changed files with 225 additions and 0 deletions
13
npcap_handle.h
Normal file
13
npcap_handle.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue