netfilter_bridge.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #ifndef __LINUX_BRIDGE_NETFILTER_H
  2. #define __LINUX_BRIDGE_NETFILTER_H
  3. /* bridge-specific defines for netfilter. 
  4.  */
  5. #include <linux/config.h>
  6. #include <linux/netfilter.h>
  7. /* Bridge Hooks */
  8. /* After promisc drops, checksum checks. */
  9. #define NF_BR_PRE_ROUTING 0
  10. /* If the packet is destined for this box. */
  11. #define NF_BR_LOCAL_IN 1
  12. /* If the packet is destined for another interface. */
  13. #define NF_BR_FORWARD 2
  14. /* Packets coming from a local process. */
  15. #define NF_BR_LOCAL_OUT 3
  16. /* Packets about to hit the wire. */
  17. #define NF_BR_POST_ROUTING 4
  18. #define NF_BR_NUMHOOKS 5
  19. #endif