diff options
| author | Stefan Hajnoczi | 2010-01-30 10:55:37 +0100 |
|---|---|---|
| committer | Marty Connor | 2010-02-01 01:22:43 +0100 |
| commit | 00a780e38fd5878d3e1f6f19830b2a0abf3cdf95 (patch) | |
| tree | a750ad559849fbd0908e9580820015feb72a37a9 /src/include | |
| parent | [proto] Remove unsupported NFS protocol (diff) | |
| download | ipxe-00a780e38fd5878d3e1f6f19830b2a0abf3cdf95.tar.gz ipxe-00a780e38fd5878d3e1f6f19830b2a0abf3cdf95.tar.xz ipxe-00a780e38fd5878d3e1f6f19830b2a0abf3cdf95.zip | |
[proto] Remove unsupported IGMP protocol
The IGMP code came from legacy Etherboot and was never updated to work
as a gPXE protocol. There has been no demand for this protocol, so this
patch removes it.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/in.h | 1 | ||||
| -rw-r--r-- | src/include/igmp.h | 42 |
2 files changed, 0 insertions, 43 deletions
diff --git a/src/include/gpxe/in.h b/src/include/gpxe/in.h index 70271143a..c313717c0 100644 --- a/src/include/gpxe/in.h +++ b/src/include/gpxe/in.h @@ -9,7 +9,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); /* Protocol numbers */ #define IP_ICMP 1 -#define IP_IGMP 2 #define IP_TCP 6 #define IP_UDP 17 #define IP_ICMP6 58 diff --git a/src/include/igmp.h b/src/include/igmp.h deleted file mode 100644 index 8b3292f26..000000000 --- a/src/include/igmp.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef IGMP_H -#define IGMP_H - -#include "stdint.h" -#include <gpxe/in.h> - -#define IGMP_QUERY 0x11 -#define IGMPv1_REPORT 0x12 -#define IGMPv2_REPORT 0x16 -#define IGMP_LEAVE 0x17 -#define GROUP_ALL_HOSTS 0xe0000001 /* 224.0.0.1 Host byte order */ - -#define MULTICAST_MASK 0xf0000000 -#define MULTICAST_NETWORK 0xe0000000 - -enum { - IGMP_SERVER, - MAX_IGMP -}; - -struct igmp { - uint8_t type; - uint8_t response_time; - uint16_t chksum; - struct in_addr group; -} PACKED; - -struct igmp_ip_t { /* Format of an igmp ip packet */ - struct iphdr ip; - uint8_t router_alert[4]; /* Router alert option */ - struct igmp igmp; -} PACKED; - -struct igmptable_t { - struct in_addr group; - unsigned long time; -} PACKED; - -extern void join_group ( int slot, unsigned long group ); -extern void leave_group ( int slot ); - -#endif /* IGMP_H */ |
