1 #ifndef MINIX_NET_LWIP_ETHIF_H
2 #define MINIX_NET_LWIP_ETHIF_H
10 struct ethif
*ethif_add(ndev_id_t id
, const char * name
, uint32_t caps
);
11 int ethif_enable(struct ethif
* ethif
, const char * name
,
12 const struct ndev_hwaddr
* hwaddr
, uint8_t hwaddr_len
, uint32_t caps
,
13 uint32_t link
, uint32_t media
);
14 void ethif_disable(struct ethif
* ethif
);
15 void ethif_remove(struct ethif
* ethif
);
17 void ethif_configured(struct ethif
* ethif
, int32_t result
);
18 void ethif_sent(struct ethif
* ethif
, int32_t result
);
19 void ethif_received(struct ethif
* ethif
, int32_t result
);
21 void ethif_status(struct ethif
* ethif
, uint32_t link
, uint32_t media
,
22 uint32_t oerror
, uint32_t coll
, uint32_t ierror
, uint32_t iqdrop
);
24 #endif /* !MINIX_NET_LWIP_ETHIF_H */