Changes in uspace/srv/net/inetsrv/inetsrv.h [13be2583:313824a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.h
r13be2583 r313824a 44 44 #include <ipc/loc.h> 45 45 #include <sys/types.h> 46 #include <types/inet.h>47 46 #include <async.h> 48 47 … … 73 72 link_t client_list; 74 73 } inetping6_client_t; 74 75 /** Address object info */ 76 typedef struct { 77 /** Network address */ 78 inet_naddr_t naddr; 79 /** Link service ID */ 80 sysarg_t ilink; 81 /** Address object name */ 82 char *name; 83 } inet_addr_info_t; 84 85 /** IP link info */ 86 typedef struct { 87 /** Link service name */ 88 char *name; 89 /** Default MTU */ 90 size_t def_mtu; 91 } inet_link_info_t; 92 93 /** Static route info */ 94 typedef struct { 95 /** Destination network address */ 96 inet_naddr_t dest; 97 /** Router address */ 98 inet_addr_t router; 99 /** Static route name */ 100 char *name; 101 } inet_sroute_info_t; 75 102 76 103 typedef struct { … … 100 127 101 128 typedef struct { 129 inet_addr_t src; 130 inet_addr_t dest; 131 uint8_t tos; 132 void *data; 133 size_t size; 134 } inet_dgram_t; 135 136 typedef struct { 102 137 link_t link_list; 103 138 service_id_t svc_id; … … 148 183 } inet_dir_t; 149 184 185 typedef struct { 186 uint32_t src; 187 uint32_t dest; 188 uint16_t seq_no; 189 void *data; 190 size_t size; 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 150 201 extern int inet_ev_recv(inet_client_t *, inet_dgram_t *); 151 202 extern int inet_recv_packet(inet_packet_t *);
Note:
See TracChangeset
for help on using the changeset viewer.