ip6t_frag.h 670 B

123456789101112131415161718192021222324
  1. #ifndef _IP6T_FRAG_H
  2. #define _IP6T_FRAG_H
  3. struct ip6t_frag
  4. {
  5. u_int32_t ids[2]; /* Security Parameter Index */
  6. u_int32_t hdrlen; /* Header Length */
  7. u_int8_t flags; /* */
  8. u_int8_t invflags; /* Inverse flags */
  9. };
  10. #define IP6T_FRAG_IDS 0x01
  11. #define IP6T_FRAG_LEN 0x02
  12. #define IP6T_FRAG_RES 0x04
  13. #define IP6T_FRAG_FST 0x08
  14. #define IP6T_FRAG_MF 0x10
  15. #define IP6T_FRAG_NMF 0x20
  16. /* Values for "invflags" field in struct ip6t_frag. */
  17. #define IP6T_FRAG_INV_IDS 0x01 /* Invert the sense of ids. */
  18. #define IP6T_FRAG_INV_LEN 0x02 /* Invert the sense of length. */
  19. #define IP6T_FRAG_INV_MASK 0x03 /* All possible flags. */
  20. #endif /*_IP6T_FRAG_H*/