Changes in uspace/srv/net/inetsrv/inetsrv.h [313824a:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.h
r313824a r3e6a98c5 40 40 #include <adt/list.h> 41 41 #include <stdbool.h> 42 #include <inet/addr.h>43 42 #include <inet/iplink.h> 44 43 #include <ipc/loc.h> … … 63 62 } inetping_client_t; 64 63 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; 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; 74 76 75 77 /** Address object info */ … … 113 115 uint8_t ttl; 114 116 /** Identifier */ 115 uint 32_t ident;117 uint16_t ident; 116 118 /** Do not fragment */ 117 119 bool df; … … 141 143 iplink_t *iplink; 142 144 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 uint32_t src;187 uint32_t dest;186 inet_addr_t src; 187 inet_addr_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;200 192 201 193 extern int inet_ev_recv(inet_client_t *, inet_dgram_t *);
Note:
See TracChangeset
for help on using the changeset viewer.