ip6t_physdev.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. #ifndef _IP6T_PHYSDEV_H
  2. #define _IP6T_PHYSDEV_H
  3. #ifdef __KERNEL__
  4. #include <linux/if.h>
  5. #endif
  6. #define IP6T_PHYSDEV_OP_IN 0x01
  7. #define IP6T_PHYSDEV_OP_OUT 0x02
  8. #define IP6T_PHYSDEV_OP_BRIDGED 0x04
  9. #define IP6T_PHYSDEV_OP_ISIN 0x08
  10. #define IP6T_PHYSDEV_OP_ISOUT 0x10
  11. #define IP6T_PHYSDEV_OP_MASK (0x20 - 1)
  12. struct ip6t_physdev_info {
  13. char physindev[IFNAMSIZ];
  14. char in_mask[IFNAMSIZ];
  15. char physoutdev[IFNAMSIZ];
  16. char out_mask[IFNAMSIZ];
  17. u_int8_t invert;
  18. u_int8_t bitmask;
  19. };
  20. #endif /*_IP6T_PHYSDEV_H*/