Import source code for dummynet innode emulation.
[ipfw.git] / dummynet / include / netinet / ip_divert.h
1 #ifndef _IP_DIVERT_H
2 #define _IP_DIVERT_H
3
4 struct mbuf;
5 typedef void ip_divert_packet_t(struct mbuf *, int);
6
7 extern  ip_divert_packet_t *ip_divert_ptr;
8
9 struct divert_tag {
10         u_int32_t       info;           /* port & flags */
11         u_int16_t       cookie;         /* ipfw rule number */
12 };
13
14 #endif /* !_IP_DIVERT_H */