Changeset 87e5658c in mainline for uspace/srv/ethip/ethip.h
- Timestamp:
- 2012-02-27T00:03:26Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 962f03b
- Parents:
- 081971b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ethip/ethip.h
r081971b r87e5658c 74 74 } eth_frame_t; 75 75 76 /** ARP opcode */ 77 typedef enum { 78 /** Request */ 79 aop_request, 80 /** Reply */ 81 aop_reply 82 } arp_opcode_t; 83 84 /** ARP packet (for 48-bit MAC addresses and IPv4) 85 * 86 * Internal representation 87 */ 88 typedef struct { 89 /** Opcode */ 90 arp_opcode_t opcode; 91 /** Sender hardware address */ 92 mac48_addr_t sender_hw_addr; 93 /** Sender protocol address */ 94 iplink_srv_addr_t sender_proto_addr; 95 /** Target hardware address */ 96 mac48_addr_t target_hw_addr; 97 /** Target protocol address */ 98 iplink_srv_addr_t target_proto_addr; 99 } arp_eth_packet_t; 100 76 101 extern int ethip_iplink_init(ethip_nic_t *); 77 102 extern int ethip_received(iplink_srv_t *, void *, size_t); 78 79 103 80 104 #endif
Note:
See TracChangeset
for help on using the changeset viewer.