Changes in uspace/srv/net/il/arp/arp_header.h [e9caf47:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_header.h
re9caf47 raadf01e 32 32 33 33 /** @file 34 * ARP protocol header.35 * Based on the RFC826.34 * ARP protocol header. 35 * Based on the RFC~826. 36 36 */ 37 37 38 #ifndef NET_ARP_HEADER_H_39 #define NET_ARP_HEADER_H_38 #ifndef __NET_ARP_HEADER_H__ 39 #define __NET_ARP_HEADER_H__ 40 40 41 41 #include <sys/types.h> 42 42 43 43 /** Type definition of an ARP protocol header. 44 * @see arp_header44 * @see arp_header 45 45 */ 46 typedef struct arp_header 46 typedef struct arp_header arp_header_t; 47 47 48 48 /** Type definition of an ARP protocol header pointer. 49 * @see arp_header49 * @see arp_header 50 50 */ 51 typedef arp_header_t * arp_header_ref;51 typedef arp_header_t * arp_header_ref; 52 52 53 /** ARP protocol header. */54 struct arp_header { 55 /** 56 57 * @see hardware.h53 /** ARP protocol header. 54 */ 55 struct arp_header{ 56 /** Hardware type identifier. 57 * @see hardware.h 58 58 */ 59 59 uint16_t hardware; 60 61 /** Protocol identifier.*/60 /** Protocol identifier. 61 */ 62 62 uint16_t protocol; 63 /** Hardware address length in bytes. */ 63 /** Hardware address length in bytes. 64 */ 64 65 uint8_t hardware_length; 65 /** Protocol address length in bytes. */ 66 /** Protocol address length in bytes. 67 */ 66 68 uint8_t protocol_length; 67 68 /** 69 * ARP packet type. 70 * @see arp_oc.h 69 /** ARP packet type. 70 * @see arp_oc.h 71 71 */ 72 72 uint16_t operation;
Note:
See TracChangeset
for help on using the changeset viewer.