~as-s/helenos/ipv6

« back to all changes in this revision

Viewing changes to uspace/srv/net/ethip/ethip.h

  • Committer: Anthony Steinhauser
  • Date: 2013-07-08 01:07:36 UTC
  • Revision ID: as@strmilov.cz-20130708010736-pbvrszhamp0v64ez
HelenOS networking stack supports IPv6

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#include <inet/iplink_srv.h>
43
43
#include <loc.h>
44
44
#include <sys/types.h>
45
 
 
46
 
#define MAC48_BROADCAST 0xffffffffffff
 
45
#include <net/ether.h>
47
46
 
48
47
typedef struct {
49
48
        link_t addr_list;
50
49
        in_addr_t addr;
51
50
} ethip_link_addr_t;
52
51
 
53
 
/** IEEE MAC-48 identifier */
54
 
typedef struct {
55
 
        /** MAC Address (in lowest 48 bits) */
56
 
        uint64_t addr;
57
 
} mac48_addr_t;
58
 
 
59
52
typedef struct ethip_nic {
60
53
        link_t nic_list;
61
54
        service_id_t svc_id;