Remove building with NOCRYPTO option
[minix3.git] / minix / net / lwip / ethif.h
blob8fef8eb207294b3def04c0c5fedb4488926e5885
1 #ifndef MINIX_NET_LWIP_ETHIF_H
2 #define MINIX_NET_LWIP_ETHIF_H
4 #include "ndev.h"
6 struct ethif;
8 void ethif_init(void);
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 */