Changeset fab2746 in mainline for uspace/srv/net/udp/ucall.c


Ignore:
Timestamp:
2015-04-08T21:25:30Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99ea91b2
Parents:
ba0eac5
Message:

New transport layer API. Only UDP implemented.

File:
1 edited

Legend:

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

    rba0eac5 rfab2746  
    3535 */
    3636
     37#include <errno.h>
    3738#include <io/log.h>
    3839#include <macros.h>
     40#include <mem.h>
    3941
    4042#include "assoc.h"
     
    4850
    4951        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_create()");
    50         nassoc = udp_assoc_new(NULL, NULL);
     52        nassoc = udp_assoc_new(NULL, NULL, NULL, NULL);
    5153        if (nassoc == NULL)
    5254                return UDP_ENORES;
     
    125127        case EOK:
    126128                break;
    127         case ECONNABORTED:
     129        case ENXIO:
    128130                return UDP_ERESET;
    129131        default:
Note: See TracChangeset for help on using the changeset viewer.