diff options
| author | Michael Brown | 2006-04-19 03:52:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-04-19 03:52:41 +0200 |
| commit | 49f933fbc3a55071e1cac362f7e1b5f2fd41b657 (patch) | |
| tree | ab0dfc2aa03215ff20b8f774da68a5dc3d217ac7 /src/include/if_arp.h | |
| parent | First version. ARP protocol independence in less than the size of uIP's (diff) | |
| download | ipxe-49f933fbc3a55071e1cac362f7e1b5f2fd41b657.tar.gz ipxe-49f933fbc3a55071e1cac362f7e1b5f2fd41b657.tar.xz ipxe-49f933fbc3a55071e1cac362f7e1b5f2fd41b657.zip | |
Moved if_ether.h and if_arp.h to include/gpxe, for consistency with Linux
kernel.
Removed obsolete struct arprequest from if_arp.h and put it in nic.c so
that nic.c will still compile. ARP will very shortly be handled by
net/arp.c instead.
Diffstat (limited to 'src/include/if_arp.h')
| -rw-r--r-- | src/include/if_arp.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/include/if_arp.h b/src/include/if_arp.h deleted file mode 100644 index b3aebf743..000000000 --- a/src/include/if_arp.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _IF_ARP_H -#define _IF_ARP_H - -#define ARP_REQUEST 1 -#define ARP_REPLY 2 - -/* - * A pity sipaddr and tipaddr are not longword aligned or we could use - * in_addr. No, I don't want to use #pragma packed. - */ -struct arprequest { - uint16_t hwtype; - uint16_t protocol; - uint8_t hwlen; - uint8_t protolen; - uint16_t opcode; - uint8_t shwaddr[6]; - uint8_t sipaddr[4]; - uint8_t thwaddr[6]; - uint8_t tipaddr[4]; -} PACKED; - -#endif /* _IF_ARP_H */ |
