Changeset 2989c7e in mainline for uspace/srv/net/tcp/tcp.c


Ignore:
Timestamp:
2015-05-25T21:04:33Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ab6326bc
Parents:
58e9dec
Message:

Association map / portrange prototype.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/tcp.c

    r58e9dec r2989c7e  
    4545#include <task.h>
    4646
     47#include "conn.h"
    4748#include "ncsim.h"
    4849#include "pdu.h"
     
    179180        log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_init()");
    180181
     182        rc = tcp_conns_init();
     183        if (rc != EOK) {
     184                assert(rc == ENOMEM);
     185                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing connections");
     186                return ENOMEM;
     187        }
     188
    181189        tcp_rqueue_init();
    182190        tcp_rqueue_fibril_start();
Note: See TracChangeset for help on using the changeset viewer.