Changeset fb4d788 in mainline for uspace/srv/net/udp/assoc.h
- Timestamp:
- 2015-07-28T11:28:14Z (9 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/assoc.h
rdf2bce3 rfb4d788 1 1 /* 2 * Copyright (c) 201 2Jiri Svoboda2 * Copyright (c) 2015 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 36 36 #define ASSOC_H 37 37 38 #include <inet/endpoint.h> 38 39 #include <ipc/loc.h> 39 40 #include <sys/types.h> 40 41 #include "udp_type.h" 41 42 42 extern udp_assoc_t *udp_assoc_new(udp_sock_t *, udp_sock_t *); 43 extern int udp_assocs_init(void); 44 extern udp_assoc_t *udp_assoc_new(inet_ep2_t *, udp_assoc_cb_t *, void *); 43 45 extern void udp_assoc_delete(udp_assoc_t *); 44 extern voidudp_assoc_add(udp_assoc_t *);46 extern int udp_assoc_add(udp_assoc_t *); 45 47 extern void udp_assoc_remove(udp_assoc_t *); 46 48 extern void udp_assoc_addref(udp_assoc_t *); 47 49 extern void udp_assoc_delref(udp_assoc_t *); 48 50 extern 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 *); 51 extern int udp_assoc_send(udp_assoc_t *, inet_ep_t *, udp_msg_t *); 52 extern int udp_assoc_recv(udp_assoc_t *, udp_msg_t **, inet_ep_t *); 53 extern void udp_assoc_received(inet_ep2_t *, udp_msg_t *); 55 54 extern void udp_assoc_reset(udp_assoc_t *); 56 55
Note:
See TracChangeset
for help on using the changeset viewer.