VirtualBox

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

最後變更 在這個檔案從13295是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 477 位元組
 
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 */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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