#ifndef BPF_H
#define BPF_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/bpf.h>
#include <net/ethernet.h>
#include <sys/sysctl.h>
#include <net/if_mib.h>

// Configuration
#define LAN_INTERFACE_NAME "ue0"

// BPF function - with IPX detection
int get_packet_stats_bpf(int *multicast_active, int *broadcast_active, int *nonip_active, int *ipx_active);

#endif
