Changeset 2f19103 in mainline for uspace/srv/net/udp/assoc.h
- Timestamp:
- 2015-05-22T07:21:37Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 58e9dec
- Parents:
- bf7587b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/assoc.h
rbf7587b0 r2f19103 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 *, udp_assoc_cb_t *, 43 void *); 43 extern udp_assoc_t *udp_assoc_new(inet_ep2_t *, udp_assoc_cb_t *, void *); 44 44 extern void udp_assoc_delete(udp_assoc_t *); 45 45 extern void udp_assoc_add(udp_assoc_t *); … … 48 48 extern void udp_assoc_delref(udp_assoc_t *); 49 49 extern void udp_assoc_set_iplink(udp_assoc_t *, service_id_t); 50 extern void udp_assoc_set_ foreign(udp_assoc_t *, udp_sock_t *);51 extern void udp_assoc_set_local(udp_assoc_t *, udp_sock_t *);50 extern void udp_assoc_set_remote(udp_assoc_t *, inet_ep_t *); 51 extern void udp_assoc_set_local(udp_assoc_t *, inet_ep_t *); 52 52 extern void udp_assoc_set_local_port(udp_assoc_t *, uint16_t); 53 extern int udp_assoc_send(udp_assoc_t *, udp_sock_t *, udp_msg_t *);54 extern int udp_assoc_recv(udp_assoc_t *, udp_msg_t **, udp_sock_t *);55 extern void udp_assoc_received( udp_sockpair_t *, udp_msg_t *);53 extern int udp_assoc_send(udp_assoc_t *, inet_ep_t *, udp_msg_t *); 54 extern int udp_assoc_recv(udp_assoc_t *, udp_msg_t **, inet_ep_t *); 55 extern void udp_assoc_received(inet_ep2_t *, udp_msg_t *); 56 56 extern void udp_assoc_reset(udp_assoc_t *); 57 57
Note:
See TracChangeset
for help on using the changeset viewer.