igmp.h 357 B

123456789101112131415161718192021222324
  1. #ifndef _NETINET_IGMP_H
  2. #define _NETINET_IGMP_H
  3. #include <linux/igmp.h>
  4. #ifdef __BSD_SOURCE
  5. struct igmp
  6. {
  7. __u8 igmp_type;
  8. __u8 igmp_code;
  9. __u16 igmp_cksum;
  10. struct in_addr igmp_group;
  11. };
  12. #define IGMP_MINLEN 8
  13. #define IGMP_MAX_HOST_REPORT_DELAY 10
  14. #define IGMP_TIMER_SCALE 10
  15. #define IGMP_AGE_THRESHOLD 540
  16. #endif
  17. #endif /* _NETINET_IGMP_H */