Changeset 3d016ac in mainline for uspace/srv/ethip/ethip.c


Ignore:
Timestamp:
2012-03-07T18:54:08Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e25780
Parents:
f9d3dd4
Message:

Prototype sending of ARP requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ethip/ethip.c

    rf9d3dd4 r3d016ac  
    4646
    4747#include "arp.h"
    48 #include "atrans.h"
    4948#include "ethip.h"
    5049#include "ethip_nic.h"
     
    178177        log_msg(LVL_DEBUG, "ethip_send()");
    179178
    180         rc = atrans_lookup(&sdu->ldest, &dest_mac_addr);
     179        rc = arp_translate(nic, &sdu->lsrc, &sdu->ldest, &dest_mac_addr);
    181180        if (rc != EOK) {
    182181                log_msg(LVL_WARN, "Failed to look up IP address 0x%" PRIx32,
Note: See TracChangeset for help on using the changeset viewer.