Ignore:
File:
1 edited

Legend:

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

    ra1a101d r2989c7e  
    4141#include <task.h>
    4242
     43#include "assoc.h"
     44#include "service.h"
    4345#include "udp_inet.h"
    44 #include "sock.h"
    4546
    4647#define NAME       "udp"
     
    5253        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_init()");
    5354
     55        rc = udp_assocs_init();
     56        if (rc != EOK) {
     57                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing associations.");
     58                return ENOMEM;
     59        }
     60
    5461        rc = udp_inet_init();
    5562        if (rc != EOK) {
     
    5865        }
    5966
    60         rc = udp_sock_init();
     67        rc = udp_service_init();
    6168        if (rc != EOK) {
    62                 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing socket service.");
     69                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing UDP service.");
    6370                return ENOENT;
    6471        }
Note: See TracChangeset for help on using the changeset viewer.