etc/services - sync with NetBSD-8
[minix.git] / minix / net / lwip / rtsock.h
bloba5d2960d53ddde8e2af2bed48fad80ab969f5b35
1 #ifndef MINIX_NET_LWIP_RTSOCK_H
2 #define MINIX_NET_LWIP_RTSOCK_H
4 #include "ifaddr.h"
5 #include "lldata.h"
7 struct route_entry;
8 struct rtsock_request;
10 void rtsock_init(void);
11 sockid_t rtsock_socket(int type, int protocol, struct sock ** sock,
12 const struct sockevent_ops ** ops);
14 void rtsock_msg_ifannounce(struct ifdev * ifdev, int arrival);
15 void rtsock_msg_ifinfo(struct ifdev * ifdev);
17 void rtsock_msg_addr_dl(struct ifdev * ifdev, unsigned int type,
18 ifaddr_dl_num_t num);
19 void rtsock_msg_addr_v4(struct ifdev * ifdev, unsigned int type,
20 ifaddr_v4_num_t num);
21 void rtsock_msg_addr_v6(struct ifdev * ifdev, unsigned int type,
22 ifaddr_v6_num_t num);
24 void rtsock_msg_miss(const struct sockaddr * addr);
25 void rtsock_msg_route(const struct route_entry * route, unsigned int type,
26 const struct rtsock_request * rtr);
27 void rtsock_msg_arp(lldata_arp_num_t num, unsigned int type,
28 const struct rtsock_request * rtr);
29 void rtsock_msg_ndp(lldata_ndp_num_t num, unsigned int type,
30 const struct rtsock_request * rtr);
32 #endif /* !MINIX_NET_LWIP_RTSOCK_H */