Ignore:
File:
1 edited

Legend:

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

    ra35b458 rb4edc96  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4040#include <adt/list.h>
    4141#include <async.h>
     42#include <inet/addr.h>
     43#include <inet/eth_addr.h>
    4244#include <inet/iplink_srv.h>
    43 #include <inet/addr.h>
    4445#include <loc.h>
    4546#include <stddef.h>
     
    6162
    6263        /** MAC address */
    63         addr48_t mac_addr;
     64        eth_addr_t mac_addr;
    6465
    6566        /**
     
    7374typedef struct {
    7475        /** Destination Address */
    75         addr48_t dest;
     76        eth_addr_t dest;
    7677        /** Source Address */
    77         addr48_t src;
     78        eth_addr_t src;
    7879        /** Ethertype or Length */
    7980        uint16_t etype_len;
     
    100101        arp_opcode_t opcode;
    101102        /** Sender hardware address */
    102         addr48_t sender_hw_addr;
     103        eth_addr_t sender_hw_addr;
    103104        /** Sender protocol address */
    104105        addr32_t sender_proto_addr;
    105106        /** Target hardware address */
    106         addr48_t target_hw_addr;
     107        eth_addr_t target_hw_addr;
    107108        /** Target protocol address */
    108109        addr32_t target_proto_addr;
     
    113114        link_t atrans_list;
    114115        addr32_t ip_addr;
    115         addr48_t mac_addr;
     116        eth_addr_t mac_addr;
    116117} ethip_atrans_t;
    117118
Note: See TracChangeset for help on using the changeset viewer.