Changeset 0773396 in mainline for uspace/srv/net/inetsrv/inetsrv.h
- Timestamp:
- 2013-12-25T13:05:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc54126c
- Parents:
- f4a47e52 (diff), 6946f23 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.h
rf4a47e52 r0773396 44 44 #include <ipc/loc.h> 45 45 #include <sys/types.h> 46 #include <types/inet.h> 46 47 #include <async.h> 47 48 … … 73 74 } inetping6_client_t; 74 75 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;102 103 76 typedef struct { 104 77 /** Source address */ … … 125 98 size_t size; 126 99 } inet_packet_t; 127 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 100 136 101 typedef struct { … … 183 148 } inet_dir_t; 184 149 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 201 150 extern int inet_ev_recv(inet_client_t *, inet_dgram_t *); 202 151 extern int inet_recv_packet(inet_packet_t *);
Note:
See TracChangeset
for help on using the changeset viewer.