Ignore:
File:
1 edited

Legend:

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

    rb4edc96 ra35b458  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2012 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4040#include <adt/list.h>
    4141#include <async.h>
     42#include <inet/iplink_srv.h>
    4243#include <inet/addr.h>
    43 #include <inet/eth_addr.h>
    44 #include <inet/iplink_srv.h>
    4544#include <loc.h>
    4645#include <stddef.h>
     
    6261
    6362        /** MAC address */
    64         eth_addr_t mac_addr;
     63        addr48_t mac_addr;
    6564
    6665        /**
     
    7473typedef struct {
    7574        /** Destination Address */
    76         eth_addr_t dest;
     75        addr48_t dest;
    7776        /** Source Address */
    78         eth_addr_t src;
     77        addr48_t src;
    7978        /** Ethertype or Length */
    8079        uint16_t etype_len;
     
    101100        arp_opcode_t opcode;
    102101        /** Sender hardware address */
    103         eth_addr_t sender_hw_addr;
     102        addr48_t sender_hw_addr;
    104103        /** Sender protocol address */
    105104        addr32_t sender_proto_addr;
    106105        /** Target hardware address */
    107         eth_addr_t target_hw_addr;
     106        addr48_t target_hw_addr;
    108107        /** Target protocol address */
    109108        addr32_t target_proto_addr;
     
    114113        link_t atrans_list;
    115114        addr32_t ip_addr;
    116         eth_addr_t mac_addr;
     115        addr48_t mac_addr;
    117116} ethip_atrans_t;
    118117
Note: See TracChangeset for help on using the changeset viewer.