Changeset ceba4bed in mainline for uspace/srv/inet/inet.h
- Timestamp:
- 2012-02-06T17:38:50Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e767dbf
- Parents:
- bc38578
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/inet/inet.h
rbc38578 rceba4bed 39 39 40 40 #include <adt/list.h> 41 #include <inet/iplink.h> 42 #include <ipc/loc.h> 41 43 #include <sys/types.h> 42 44 #include <async.h> … … 49 51 } inet_client_t; 50 52 53 /** Host address */ 51 54 typedef struct { 52 55 uint32_t ipv4; 53 56 } inet_addr_t; 57 58 /** Network address */ 59 typedef struct { 60 /** Address */ 61 uint32_t ipv4; 62 /** Number of valid bits in @c ipv4 */ 63 int bits; 64 } inet_naddr_t; 54 65 55 66 typedef struct { … … 61 72 } inet_dgram_t; 62 73 74 typedef struct { 75 link_t link_list; 76 service_id_t svc_id; 77 char *svc_name; 78 async_sess_t *sess; 79 iplink_t *iplink; 80 } inet_link_t; 81 82 typedef struct { 83 link_t addr_list; 84 inet_naddr_t naddr; 85 inet_link_t *ilink; 86 } inet_addrobj_t; 87 63 88 extern int inet_ev_recv(inet_client_t *, inet_dgram_t *); 64 89
Note:
See TracChangeset
for help on using the changeset viewer.