Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


netfilter_bridge.h
01: #ifndef __LINUX_BRIDGE_NETFILTER_H
02: #define __LINUX_BRIDGE_NETFILTER_H
03: 
04: /* bridge-specific defines for netfilter. 
05:  */
06: 
07: #include <linux/netfilter.h>
08: #include <linux/if_ether.h>
09: #include <linux/if_vlan.h>
10: #include <linux/if_pppox.h>
11: 
12: /* Bridge Hooks */
13: /* After promisc drops, checksum checks. */
14: #define NF_BR_PRE_ROUTING       0
15: /* If the packet is destined for this box. */
16: #define NF_BR_LOCAL_IN          1
17: /* If the packet is destined for another interface. */
18: #define NF_BR_FORWARD           2
19: /* Packets coming from a local process. */
20: #define NF_BR_LOCAL_OUT         3
21: /* Packets about to hit the wire. */
22: #define NF_BR_POST_ROUTING      4
23: /* Not really a hook, but used for the ebtables broute table */
24: #define NF_BR_BROUTING          5
25: #define NF_BR_NUMHOOKS          6
26: 
27: #endif
28: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/