Changeset a2e3ee6 in mainline for uspace/srv/net/tcp/tcp_type.h
- Timestamp:
- 2013-06-20T16:45:58Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 08bb73b
- Parents:
- 19a4f73
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/tcp_type.h
r19a4f73 ra2e3ee6 43 43 #include <socket_core.h> 44 44 #include <sys/types.h> 45 #include <inet/addr.h> 45 46 46 47 struct tcp_conn; … … 112 113 113 114 typedef struct { 114 uint32_t ipv4; 115 } netaddr_t; 116 117 typedef struct { 118 netaddr_t addr; 115 inet_addr_t addr; 119 116 uint16_t port; 120 117 } tcp_sock_t; 121 122 enum netaddr {123 TCP_IPV4_ANY = 0124 };125 118 126 119 enum tcp_port { … … 313 306 typedef struct { 314 307 /** Source address */ 315 netaddr_t src_addr;308 inet_addr_t src_addr; 316 309 /** Destination address */ 317 netaddr_t dest_addr;318 310 inet_addr_t dest_addr; 311 319 312 /** Encoded header */ 320 313 void *header; … … 344 337 tcp_conn_t *conn; 345 338 /** Local address */ 346 netaddr_t laddr;339 inet_addr_t laddr; 347 340 /** Backlog size */ 348 341 int backlog;
Note:
See TracChangeset
for help on using the changeset viewer.