1#include <sys/kpi_mbuf.h> 2 3struct inpcb; 4 5// Tag an mbuf on the way out with the edge flags from the inpcb 6extern void ip_edgehole_mbuf_tag(struct inpcb *inp, mbuf_t m); 7 8// Attach the edge flags to the inpcb 9extern void ip_edgehole_attach(struct inpcb *inp); 10 11// Called by the edge interface to determine if the edge interface 12// should drop the packet. Will return 0 if the packet should continue 13// to be processed or EPERM if ip_edgehole_filter swallowed the packet. 14// When ip_edgehole_filter swallows a packet, it frees it and sets your 15// pointer to it to NULL. isVV should be set to zero unless the edge 16// interface in question is the visual voicemail edge interface. 17extern int ip_edgehole_filter(mbuf_t *m, int isVV); 18