1234567891011121314151617181920212223 |
- #ifndef _IF_ARP_H
- #define _IF_ARP_H
-
- #define ARP_REQUEST 1
- #define ARP_REPLY 2
-
-
- 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
|