Changeset 6428115 in mainline for uspace/srv/inet/inet.h
- Timestamp:
- 2012-03-11T23:07:29Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b3c689
- Parents:
- ffa8912
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/inet/inet.h
rffa8912 r6428115 50 50 link_t client_list; 51 51 } inet_client_t; 52 53 /** Inetping Client */ 54 typedef struct { 55 /** Callback session */ 56 async_sess_t *sess; 57 /** Session identifier */ 58 uint16_t ident; 59 /** Link to client list */ 60 link_t client_list; 61 } inetping_client_t; 52 62 53 63 /** Host address */ … … 115 125 } inet_addrobj_t; 116 126 127 typedef struct { 128 inet_addr_t src; 129 inet_addr_t dest; 130 uint16_t seq_no; 131 void *data; 132 size_t size; 133 } inetping_sdu_t; 134 117 135 extern int inet_ev_recv(inet_client_t *, inet_dgram_t *); 118 136 extern int inet_recv_packet(inet_packet_t *); 119 137 extern int inet_route_packet(inet_dgram_t *, uint8_t, uint8_t, int); 138 extern int inet_get_srcaddr(inet_addr_t *, uint8_t, inet_addr_t *); 139 120 140 121 141 #endif
Note:
See TracChangeset
for help on using the changeset viewer.