Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/nd6.h
Show First 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | |||||
#define nd_opts_pi_end nd_opt_each.pi_end | #define nd_opts_pi_end nd_opt_each.pi_end | ||||
#define nd_opts_rh nd_opt_each.rh | #define nd_opts_rh nd_opt_each.rh | ||||
#define nd_opts_mtu nd_opt_each.mtu | #define nd_opts_mtu nd_opt_each.mtu | ||||
#define nd_opts_nonce nd_opt_each.nonce | #define nd_opts_nonce nd_opt_each.nonce | ||||
#define nd_opts_search nd_opt_each.search | #define nd_opts_search nd_opt_each.search | ||||
#define nd_opts_last nd_opt_each.last | #define nd_opts_last nd_opt_each.last | ||||
#define nd_opts_done nd_opt_each.done | #define nd_opts_done nd_opt_each.done | ||||
#define ND6_SF(_flags, _family) LLE_SF(_flags, _family) | |||||
#define ND6_SF6(_flags) ND6_SF(_flags, AF_INET6) | |||||
/* XXX: need nd6_var.h?? */ | /* XXX: need nd6_var.h?? */ | ||||
/* nd6.c */ | /* nd6.c */ | ||||
void nd6_init(void); | void nd6_init(void); | ||||
#ifdef VIMAGE | #ifdef VIMAGE | ||||
void nd6_destroy(void); | void nd6_destroy(void); | ||||
#endif | #endif | ||||
struct nd_ifinfo *nd6_ifattach(struct ifnet *); | struct nd_ifinfo *nd6_ifattach(struct ifnet *); | ||||
void nd6_ifdetach(struct ifnet *, struct nd_ifinfo *); | void nd6_ifdetach(struct ifnet *, struct nd_ifinfo *); | ||||
int nd6_is_addr_neighbor(const struct sockaddr_in6 *, struct ifnet *); | int nd6_is_addr_neighbor(const struct sockaddr_in6 *, struct ifnet *); | ||||
void nd6_option_init(void *, int, union nd_opts *); | void nd6_option_init(void *, int, union nd_opts *); | ||||
struct nd_opt_hdr *nd6_option(union nd_opts *); | struct nd_opt_hdr *nd6_option(union nd_opts *); | ||||
int nd6_options(union nd_opts *); | int nd6_options(union nd_opts *); | ||||
struct llentry *nd6_lookup(const struct in6_addr *, int, struct ifnet *); | struct llentry *nd6_lookup(const struct in6_addr *, int, struct ifnet *); | ||||
void nd6_setmtu(struct ifnet *); | void nd6_setmtu(struct ifnet *); | ||||
void nd6_llinfo_setstate(struct llentry *lle, int newstate); | void nd6_llinfo_setstate(struct llentry *lle, int newstate); | ||||
void nd6_timer(void *); | void nd6_timer(void *); | ||||
void nd6_purge(struct ifnet *); | void nd6_purge(struct ifnet *); | ||||
int nd6_resolve_addr(struct ifnet *ifp, int flags, const struct sockaddr *dst, | int nd6_resolve_addr(struct ifnet *ifp, int flags, const struct sockaddr *dst, | ||||
char *desten, uint32_t *pflags); | char *desten, uint32_t *pflags); | ||||
int nd6_resolve(struct ifnet *, gw_type_t, struct mbuf *, | int nd6_resolve(struct ifnet *, int, struct mbuf *, | ||||
const struct sockaddr *, u_char *, uint32_t *, struct llentry **); | const struct sockaddr *, u_char *, uint32_t *, struct llentry **); | ||||
int nd6_ioctl(u_long, caddr_t, struct ifnet *); | int nd6_ioctl(u_long, caddr_t, struct ifnet *); | ||||
void nd6_cache_lladdr(struct ifnet *, struct in6_addr *, | void nd6_cache_lladdr(struct ifnet *, struct in6_addr *, | ||||
char *, int, int, int); | char *, int, int, int); | ||||
void nd6_grab_holdchain(struct llentry *, struct mbuf **, | void nd6_grab_holdchain(struct llentry *, struct mbuf **, | ||||
struct sockaddr_in6 *); | struct sockaddr_in6 *); | ||||
int nd6_flush_holdchain(struct ifnet *, struct mbuf *, | int nd6_flush_holdchain(struct ifnet *, struct llentry *, struct mbuf *, | ||||
struct sockaddr_in6 *); | struct sockaddr_in6 *); | ||||
int nd6_add_ifa_lle(struct in6_ifaddr *); | int nd6_add_ifa_lle(struct in6_ifaddr *); | ||||
void nd6_rem_ifa_lle(struct in6_ifaddr *, int); | void nd6_rem_ifa_lle(struct in6_ifaddr *, int); | ||||
int nd6_output_ifp(struct ifnet *, struct ifnet *, struct mbuf *, | int nd6_output_ifp(struct ifnet *, struct ifnet *, struct mbuf *, | ||||
struct sockaddr_in6 *, struct route *); | struct sockaddr_in6 *, struct route *); | ||||
bool nd6_try_set_entry_addr(struct ifnet *ifp, struct llentry *ln, char *lladdr); | |||||
void nd6_flush_children_holdchain(struct ifnet *ifp, struct llentry *lle); | |||||
struct rib_head; | struct rib_head; | ||||
struct rib_cmd_info; | struct rib_cmd_info; | ||||
void nd6_subscription_cb(struct rib_head *rnh, struct rib_cmd_info *rc, | void nd6_subscription_cb(struct rib_head *rnh, struct rib_cmd_info *rc, | ||||
void *arg); | void *arg); | ||||
/* nd6_nbr.c */ | /* nd6_nbr.c */ | ||||
void nd6_na_input(struct mbuf *, int, int); | void nd6_na_input(struct mbuf *, int, int); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |