Changeset 58e8646 in mainline for uspace/lib/c
- Timestamp:
- 2017-08-23T18:37:21Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 258d77e
- Parents:
- 853802e
- Location:
- uspace/lib/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet/udp.c
r853802e r58e8646 227 227 } 228 228 229 /** Set UDP association sending messages with no local address 230 * 231 * @param assoc Association 232 * @param flags Flags 233 */ 234 int udp_assoc_set_nolocal(udp_assoc_t *assoc) 235 { 236 async_exch_t *exch; 237 238 exch = async_exchange_begin(assoc->udp->sess); 239 sysarg_t rc = async_req_1_0(exch, UDP_ASSOC_SET_NOLOCAL, assoc->id); 240 async_exchange_end(exch); 241 242 return rc; 243 } 244 229 245 /** Send message via UDP association. 230 246 * -
uspace/lib/c/include/inet/udp.h
r853802e r58e8646 95 95 extern int udp_assoc_create(udp_t *, inet_ep2_t *, udp_cb_t *, void *, 96 96 udp_assoc_t **); 97 extern int udp_assoc_set_nolocal(udp_assoc_t *); 97 98 extern void udp_assoc_destroy(udp_assoc_t *); 98 99 extern int udp_assoc_send_msg(udp_assoc_t *, inet_ep_t *, void *, size_t); -
uspace/lib/c/include/ipc/udp.h
r853802e r58e8646 42 42 UDP_ASSOC_CREATE, 43 43 UDP_ASSOC_DESTROY, 44 UDP_ASSOC_SET_NOLOCAL, 44 45 UDP_ASSOC_SEND_MSG, 45 46 UDP_RMSG_INFO,
Note:
See TracChangeset
for help on using the changeset viewer.