Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
src/packet.h | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/packet.h b/src/packet.h
index f83e793..9e99b67 100644
--- a/src/packet.h
+++ b/src/packet.h
@@ -15,11 +15,7 @@ Written by Gerard Paul Java
* with reasonable numbers of options.
*/
-#define SNAPSHOT_LEN 96
#define MAX_PACKET_SIZE 17664
-#define ALIGNED_BUF_LEN 120
-
-#define min(a, b) ((a > b) ? b : a)
#define INVALID_PACKET 0
#define PACKET_OK 1
@@ -27,18 +23,11 @@ Written by Gerard Paul Java
#define PACKET_FILTERED 3
#define MORE_FRAGMENTS 4
-
-#ifndef VLAN_ETH_HLEN
-#define VLAN_ETH_HLEN 18
-#endif
-
extern int isdnfd;
void open_socket(int *fd);
-
void getpacket(int fd, char *buf, struct sockaddr_ll *fromaddr, int *ch,
int *br, char *ifname, WINDOW * win);
-
int processpacket(char *tpacket, char **packet, unsigned int *br,
unsigned int *total_br, unsigned int *sport,
unsigned int *dport, struct sockaddr_ll *fromaddr,
--
1.7.8.4