1 #ifndef MINIX_NET_LWIP_BPFDEV_H 2 #define MINIX_NET_LWIP_BPFDEV_H 3 4 /* 5 * BPF link structure, used to abstract away the details of the BPF structure 6 * from other modules. 7 */ 8 struct bpfdev_link { 9 TAILQ_ENTRY(bpfdev_link) bpfl_next; 10 }; 11 12 void bpfdev_init(void); 13 void bpfdev_process(message * m_ptr, int ipc_status); 14 void bpfdev_detach(struct bpfdev_link * bpf); 15 void bpfdev_input(struct bpfdev_link * bpf, const struct pbuf * pbuf); 16 void bpfdev_output(struct bpfdev_link * bpf, const struct pbuf * pbuf); 17 18 #endif /* !MINIX_NET_LWIP_BPFDEV_H */ 19