Changes in uspace/srv/net/inetsrv/inetsrv.h [3e6a98c5:313824a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.h
r3e6a98c5 r313824a 40 40 #include <adt/list.h> 41 41 #include <stdbool.h> 42 #include <inet/addr.h> 42 43 #include <inet/iplink.h> 43 44 #include <ipc/loc.h> … … 62 63 } inetping_client_t; 63 64 64 /** Host address */ 65 typedef struct { 66 uint32_t ipv4; 67 } inet_addr_t; 68 69 /** Network address */ 70 typedef struct { 71 /** Address */ 72 uint32_t ipv4; 73 /** Number of valid bits in @c ipv4 */ 74 int bits; 75 } inet_naddr_t; 65 /** Inetping6 Client */ 66 typedef struct { 67 /** Callback session */ 68 async_sess_t *sess; 69 /** Session identifier */ 70 uint16_t ident; 71 /** Link to client list */ 72 link_t client_list; 73 } inetping6_client_t; 76 74 77 75 /** Address object info */ … … 115 113 uint8_t ttl; 116 114 /** Identifier */ 117 uint 16_t ident;115 uint32_t ident; 118 116 /** Do not fragment */ 119 117 bool df; … … 143 141 iplink_t *iplink; 144 142 size_t def_mtu; 143 addr48_t mac; 144 bool mac_valid; 145 145 } inet_link_t; 146 146 … … 184 184 185 185 typedef struct { 186 inet_addr_t src;187 inet_addr_t dest;186 uint32_t src; 187 uint32_t dest; 188 188 uint16_t seq_no; 189 189 void *data; 190 190 size_t size; 191 191 } inetping_sdu_t; 192 193 typedef struct { 194 addr128_t src; 195 addr128_t dest; 196 uint16_t seq_no; 197 void *data; 198 size_t size; 199 } inetping6_sdu_t; 192 200 193 201 extern int inet_ev_recv(inet_client_t *, inet_dgram_t *);
Note:
See TracChangeset
for help on using the changeset viewer.