Changeset 8a9a41e in mainline for uspace/srv/net/ethip/std.h
- Timestamp:
- 2021-10-24T08:28:43Z (2 years ago)
- Children:
- fcb4e15
- Parents:
- 2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/std.h
r2ce943a r8a9a41e 1 1 /* 2 * Copyright (c) 20 12Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 39 39 40 40 #include <stdint.h> 41 #include <inet/addr.h>42 41 43 42 #define ETH_ADDR_SIZE 6 … … 48 47 typedef struct { 49 48 /** Destination Address */ 50 addr48_t dest;49 uint8_t dest[ETH_ADDR_SIZE]; 51 50 /** Source Address */ 52 addr48_t src;51 uint8_t src[ETH_ADDR_SIZE]; 53 52 /** Ethertype or Length */ 54 53 uint16_t etype_len; … … 68 67 uint16_t opcode; 69 68 /** Sender hardware address */ 70 addr48_t sender_hw_addr;69 uint8_t sender_hw_addr[ETH_ADDR_SIZE]; 71 70 /** Sender protocol address */ 72 addr32_t sender_proto_addr;71 uint32_t sender_proto_addr; 73 72 /** Target hardware address */ 74 addr48_t target_hw_addr;73 uint8_t target_hw_addr[ETH_ADDR_SIZE]; 75 74 /** Target protocol address */ 76 addr32_t target_proto_addr;75 uint32_t target_proto_addr; 77 76 } __attribute__((packed)) arp_eth_packet_fmt_t; 78 77
Note:
See TracChangeset
for help on using the changeset viewer.