Changeset ceba4bed in mainline for uspace/lib/c/generic/iplink_srv.c


Ignore:
Timestamp:
2012-02-06T17:38:50Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e767dbf
Parents:
bc38578
Message:

Introduce address object. Sketch sending outgoing datagrams to directly
reachable destinations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/iplink_srv.c

    rbc38578 rceba4bed  
    5757        int rc;
    5858
    59         sdu.src.ipv4 = IPC_GET_ARG1(*call);
    60         sdu.dest.ipv4 = IPC_GET_ARG2(*call);
     59        sdu.lsrc.ipv4 = IPC_GET_ARG1(*call);
     60        sdu.ldest.ipv4 = IPC_GET_ARG2(*call);
    6161
    6262        rc = async_data_write_accept(&sdu.data, false, 0, 0, 0, &sdu.size);
     
    122122
    123123        ipc_call_t answer;
    124         aid_t req = async_send_2(exch, IPLINK_EV_RECV, sdu->src.ipv4,
    125             sdu->dest.ipv4, &answer);
     124        aid_t req = async_send_2(exch, IPLINK_EV_RECV, sdu->lsrc.ipv4,
     125            sdu->ldest.ipv4, &answer);
    126126        int rc = async_data_write_start(exch, sdu->data, sdu->size);
    127127        async_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.