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


Ignore:
Timestamp:
2012-02-06T17:38:50Z (13 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.c

    rbc38578 rceba4bed  
    8888
    8989        ipc_call_t answer;
    90         aid_t req = async_send_2(exch, IPLINK_SEND, sdu->src.ipv4,
    91             sdu->dest.ipv4, &answer);
     90        aid_t req = async_send_2(exch, IPLINK_SEND, sdu->lsrc.ipv4,
     91            sdu->ldest.ipv4, &answer);
    9292        int rc = async_data_write_start(exch, sdu->data, sdu->size);
    9393        async_exchange_end(exch);
     
    127127        iplink_sdu_t sdu;
    128128
    129         sdu.src.ipv4 = IPC_GET_ARG1(*call);
    130         sdu.dest.ipv4 = IPC_GET_ARG2(*call);
     129        sdu.lsrc.ipv4 = IPC_GET_ARG1(*call);
     130        sdu.ldest.ipv4 = IPC_GET_ARG2(*call);
    131131
    132132        rc = async_data_write_accept(&sdu.data, false, 0, 0, 0, &sdu.size);
Note: See TracChangeset for help on using the changeset viewer.