Changeset fab2746 in mainline for uspace/srv/net/tcp
- Timestamp:
- 2015-04-08T21:25:30Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 99ea91b2
- Parents:
- ba0eac5
- Location:
- uspace/srv/net/tcp
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/Makefile
rba0eac5 rfab2746 28 28 29 29 USPACE_PREFIX = ../../.. 30 LIBS = $(LIBNET_PREFIX)/libnet.a31 EXTRA_CFLAGS = -I$(LIBNET_PREFIX)/include32 30 BINARY = tcp 33 31 … … 40 38 segment.c \ 41 39 seq_no.c \ 42 sock.c \43 40 tcp.c \ 44 41 test.c \ -
uspace/srv/net/tcp/tcp.c
rba0eac5 rfab2746 42 42 #include <io/log.h> 43 43 #include <stdio.h> 44 #include <stdlib.h> 44 45 #include <task.h> 45 46 … … 47 48 #include "pdu.h" 48 49 #include "rqueue.h" 49 #include "sock.h"50 50 #include "std.h" 51 51 #include "tcp.h" … … 192 192 } 193 193 194 rc = tcp_sock_init();195 if (rc != EOK) {196 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing socket service.");197 return ENOENT;198 }194 // rc = tcp_sock_init(); 195 // if (rc != EOK) { 196 // log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing socket service."); 197 // return ENOENT; 198 // } 199 199 200 200 return EOK; -
uspace/srv/net/tcp/tcp_type.h
rba0eac5 rfab2746 41 41 #include <fibril.h> 42 42 #include <fibril_synch.h> 43 #include <socket_core.h>44 43 #include <sys/types.h> 45 44 #include <inet/addr.h> … … 321 320 typedef struct { 322 321 async_sess_t *sess; 323 socket_cores_t sockets;322 // socket_cores_t sockets; 324 323 } tcp_client_t; 325 324 … … 330 329 fibril_mutex_t lock; 331 330 /** Socket core */ 332 socket_core_t *sock_core;331 // socket_core_t *sock_core; 333 332 /** Client */ 334 333 tcp_client_t *client;
Note:
See TracChangeset
for help on using the changeset viewer.