1 #ifndef MINIX_NET_LWIP_LLDATA_H
2 #define MINIX_NET_LWIP_LLDATA_H
6 typedef int lldata_arp_num_t
; /* ARP table entry number */
7 typedef int lldata_ndp_num_t
; /* NDP table entry number */
9 int lldata_arp_enum(lldata_arp_num_t
* num
);
10 void lldata_arp_get(lldata_arp_num_t num
, struct sockaddr_in
* addr
,
11 struct sockaddr_dlx
* gateway
, struct ifdev
** ifdevp
,
12 unsigned int * flagsp
);
14 int lldata_ndp_find(struct ifdev
* ifdev
,
15 const struct sockaddr_in6
* addr
, lldata_ndp_num_t
* nump
);
16 int lldata_ndp_enum(lldata_ndp_num_t
* num
);
17 void lldata_ndp_get(lldata_ndp_num_t num
, struct sockaddr_in6
* addr
,
18 struct sockaddr_dlx
* gateway
, struct ifdev
** ifdevp
,
19 unsigned int * flagsp
);
20 void lldata_ndp_get_info(lldata_ndp_num_t num
, long * asked
, int * isrouter
,
21 int * state
, int * expire
);
23 int lldata_process(unsigned int type
, const ip_addr_t
* dst_addr
,
24 const struct sockaddr
* gateway
, struct ifdev
* ifdev
,
25 unsigned int flags
, const struct rtsock_request
* rtr
);
27 #endif /* !MINIX_NET_LWIP_LLDATA_H */