Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 rf303f2cf  
    5050#define ARP_REQUEST_TIMEOUT (3 * 1000 * 1000)
    5151
    52 static errno_t arp_send_packet(ethip_nic_t *nic, arp_eth_packet_t *packet);
     52static int arp_send_packet(ethip_nic_t *nic, arp_eth_packet_t *packet);
    5353
    5454void arp_received(ethip_nic_t *nic, eth_frame_t *frame)
     
    5757       
    5858        arp_eth_packet_t packet;
    59         errno_t rc = arp_pdu_decode(frame->data, frame->size, &packet);
     59        int rc = arp_pdu_decode(frame->data, frame->size, &packet);
    6060        if (rc != EOK)
    6161                return;
     
    9494}
    9595
    96 errno_t arp_translate(ethip_nic_t *nic, addr32_t src_addr, addr32_t ip_addr,
     96int arp_translate(ethip_nic_t *nic, addr32_t src_addr, addr32_t ip_addr,
    9797    addr48_t mac_addr)
    9898{
     
    103103        }
    104104
    105         errno_t rc = atrans_lookup(ip_addr, mac_addr);
     105        int rc = atrans_lookup(ip_addr, mac_addr);
    106106        if (rc == EOK)
    107107                return EOK;
     
    122122}
    123123
    124 static errno_t arp_send_packet(ethip_nic_t *nic, arp_eth_packet_t *packet)
     124static int arp_send_packet(ethip_nic_t *nic, arp_eth_packet_t *packet)
    125125{
    126         errno_t rc;
     126        int rc;
    127127        void *pdata;
    128128        size_t psize;
Note: See TracChangeset for help on using the changeset viewer.