Changeset d8b47eca in mainline for uspace/srv/net/ethip/ethip.h


Ignore:
Timestamp:
2013-07-03T17:16:44Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
66366470, 882bc4b
Parents:
1d24ad3
Message:

support arbitrary addresses in INET_SEND and INET_GET_SRCADDR
use addr32_t instead of uint32_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip.h

    r1d24ad3 rd8b47eca  
    9797        addr48_t sender_hw_addr;
    9898        /** Sender protocol address */
    99         uint32_t sender_proto_addr;
     99        addr32_t sender_proto_addr;
    100100        /** Target hardware address */
    101101        addr48_t target_hw_addr;
    102102        /** Target protocol address */
    103         uint32_t target_proto_addr;
     103        addr32_t target_proto_addr;
    104104} arp_eth_packet_t;
    105105
     
    107107typedef struct {
    108108        link_t atrans_list;
    109         uint32_t ip_addr;
     109        addr32_t ip_addr;
    110110        addr48_t mac_addr;
    111111} ethip_atrans_t;
Note: See TracChangeset for help on using the changeset viewer.