Changeset 1b59023 in mainline for uspace/srv/net/il/ip/ip.c


Ignore:
Timestamp:
2010-12-16T17:13:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f87c900
Parents:
7837101
Message:

Remove the rest of CONVERT_SIZE uses and the CONVERT_SIZE macro altogether.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/ip/ip.c

    r7837101 r1b59023  
    442442                if (route) {
    443443                        address.value = (char *) &route->address.s_addr;
    444                         address.length = CONVERT_SIZE(in_addr_t, char, 1);
     444                        address.length = sizeof(in_addr_t);
    445445                       
    446446                        rc = arp_device_req(ip_netif->arp->phone,
     
    10051005                destination.value = route->gateway.s_addr ?
    10061006                    (char *) &route->gateway.s_addr : (char *) &dest.s_addr;
    1007                 destination.length = CONVERT_SIZE(dest.s_addr, char, 1);
     1007                destination.length = sizeof(dest.s_addr);
    10081008
    10091009                rc = arp_translate_req(netif->arp->phone, netif->device_id,
Note: See TracChangeset for help on using the changeset viewer.