# \[PATCH net-next 06/15\] netfilter: Add NFPROTO\_BUS hook constant for AF\_BUS socket family

- From: Vincent Sanders \<hidden\>
- Date: 2012-06-29 16:51:28 
- List: netdev
- Page: https://ratatoskr.run/netdev/2012/06/3886821
- Thread: https://ratatoskr.run/netdev/2012/06/3886804/t.md

```text
From: Javier Martinez Canillas <redacted>

AF_BUS sockets add a netfilter NF_HOOK() on the packet sending path.
This allows packet to be mangled by registered netfilter hooks.

Signed-off-by: Javier Martinez Canillas <redacted>
Signed-off-by: Vincent Sanders <redacted>
---
 include/linux/netfilter.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index c613cf0..0698924 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -67,6 +67,7 @@ enum {
 	NFPROTO_BRIDGE =  7,
 	NFPROTO_IPV6   = 10,
 	NFPROTO_DECNET = 12,
+	NFPROTO_BUS,
 	NFPROTO_NUMPROTO,
 };
 
-- 
1.7.10
```
