Changeset fb4d788 in mainline for uspace/srv/net/udp/assoc.h


Ignore:
Timestamp:
2015-07-28T11:28:14Z (9 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6accc5cf
Parents:
df2bce3 (diff), 47726b5e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from the mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/udp/assoc.h

    rdf2bce3 rfb4d788  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2015 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3636#define ASSOC_H
    3737
     38#include <inet/endpoint.h>
    3839#include <ipc/loc.h>
    3940#include <sys/types.h>
    4041#include "udp_type.h"
    4142
    42 extern udp_assoc_t *udp_assoc_new(udp_sock_t *, udp_sock_t *);
     43extern int udp_assocs_init(void);
     44extern udp_assoc_t *udp_assoc_new(inet_ep2_t *, udp_assoc_cb_t *, void *);
    4345extern void udp_assoc_delete(udp_assoc_t *);
    44 extern void udp_assoc_add(udp_assoc_t *);
     46extern int udp_assoc_add(udp_assoc_t *);
    4547extern void udp_assoc_remove(udp_assoc_t *);
    4648extern void udp_assoc_addref(udp_assoc_t *);
    4749extern void udp_assoc_delref(udp_assoc_t *);
    4850extern void udp_assoc_set_iplink(udp_assoc_t *, service_id_t);
    49 extern void udp_assoc_set_foreign(udp_assoc_t *, udp_sock_t *);
    50 extern void udp_assoc_set_local(udp_assoc_t *, udp_sock_t *);
    51 extern void udp_assoc_set_local_port(udp_assoc_t *, uint16_t);
    52 extern int udp_assoc_send(udp_assoc_t *, udp_sock_t *, udp_msg_t *);
    53 extern int udp_assoc_recv(udp_assoc_t *, udp_msg_t **, udp_sock_t *);
    54 extern void udp_assoc_received(udp_sockpair_t *, udp_msg_t *);
     51extern int udp_assoc_send(udp_assoc_t *, inet_ep_t *, udp_msg_t *);
     52extern int udp_assoc_recv(udp_assoc_t *, udp_msg_t **, inet_ep_t *);
     53extern void udp_assoc_received(inet_ep2_t *, udp_msg_t *);
    5554extern void udp_assoc_reset(udp_assoc_t *);
    5655
Note: See TracChangeset for help on using the changeset viewer.