VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/Etherboot-src/include/igmp.h@ 47928

Last change on this file since 47928 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 477 bytes
Line 
1#ifndef _IGMP_H
2#define _IGMP_H
3
4#define IGMP_QUERY 0x11
5#define IGMPv1_REPORT 0x12
6#define IGMPv2_REPORT 0x16
7#define IGMP_LEAVE 0x17
8#define GROUP_ALL_HOSTS 0xe0000001 /* 224.0.0.1 Host byte order */
9
10struct igmp {
11 uint8_t type;
12 uint8_t response_time;
13 uint16_t chksum;
14 in_addr group;
15} PACKED;
16
17struct igmp_ip_t { /* Format of an igmp ip packet */
18 struct iphdr ip;
19 uint8_t router_alert[4]; /* Router alert option */
20 struct igmp igmp;
21} PACKED;
22
23#endif /* _IGMP_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette