Changeset 95c675b in mainline for uspace/lib/c/generic/inet/udp.c


Ignore:
Timestamp:
2017-10-17T13:11:35Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (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 mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inet/udp.c

    rdbf32b1 r95c675b  
    227227}
    228228
     229/** Set UDP association sending messages with no local address
     230 *
     231 * @param assoc Association
     232 * @param flags Flags
     233 */
     234int 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
    229245/** Send message via UDP association.
    230246 *
Note: See TracChangeset for help on using the changeset viewer.