Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/nd6_nbr.c
Show First 20 Lines • Show All 594 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
#ifndef BURN_BRIDGES | #ifndef BURN_BRIDGES | ||||
void | void | ||||
nd6_ns_output(struct ifnet *ifp, const struct in6_addr *saddr6, | nd6_ns_output(struct ifnet *ifp, const struct in6_addr *saddr6, | ||||
const struct in6_addr *daddr6, const struct in6_addr *taddr6,uint8_t *nonce) | const struct in6_addr *daddr6, const struct in6_addr *taddr6,uint8_t *nonce) | ||||
{ | { | ||||
nd6_ns_output_fib(ifp, saddr6, daddr6, taddr6, nonce, RT_DEFAULT_FIB); | nd6_ns_output_fib(ifp, saddr6, daddr6, taddr6, nonce, ifp->if_fib); | ||||
} | } | ||||
#endif | #endif | ||||
/* | /* | ||||
* Neighbor advertisement input handling. | * Neighbor advertisement input handling. | ||||
* | * | ||||
* Based on RFC 2461 | * Based on RFC 2461 | ||||
* Based on RFC 2462 (duplicate address detection) | * Based on RFC 2462 (duplicate address detection) | ||||
* | * | ||||
▲ Show 20 Lines • Show All 481 Lines • ▼ Show 20 Lines | |||||
#ifndef BURN_BRIDGES | #ifndef BURN_BRIDGES | ||||
void | void | ||||
nd6_na_output(struct ifnet *ifp, const struct in6_addr *daddr6_0, | nd6_na_output(struct ifnet *ifp, const struct in6_addr *daddr6_0, | ||||
const struct in6_addr *taddr6, u_long flags, int tlladdr, | const struct in6_addr *taddr6, u_long flags, int tlladdr, | ||||
struct sockaddr *sdl0) | struct sockaddr *sdl0) | ||||
{ | { | ||||
nd6_na_output_fib(ifp, daddr6_0, taddr6, flags, tlladdr, sdl0, | nd6_na_output_fib(ifp, daddr6_0, taddr6, flags, tlladdr, sdl0, | ||||
RT_DEFAULT_FIB); | RT_DEFAULT_FIB); | ||||
donner: How about this one? | |||||
melifaroAuthorUnsubmitted Done Inline ActionsNot used anywhere. melifaro: Not used anywhere. | |||||
Not Done Inline Actionssys/netinet/ip_carp.c is using nd6_na_output, is carp affected? zlei: `sys/netinet/ip_carp.c` is using `nd6_na_output`, is `carp` affected? | |||||
} | } | ||||
#endif | #endif | ||||
caddr_t | caddr_t | ||||
nd6_ifptomac(struct ifnet *ifp) | nd6_ifptomac(struct ifnet *ifp) | ||||
{ | { | ||||
switch (ifp->if_type) { | switch (ifp->if_type) { | ||||
case IFT_ETHER: | case IFT_ETHER: | ||||
▲ Show 20 Lines • Show All 462 Lines • Show Last 20 Lines |
How about this one?