nd_prefix
struct nd_prefix pr0, *pr;
struct nd_prefix pr0, *pr;
struct nd_prefix pr0;
struct nd_prefix *ia6_ndpr;
struct nd_prhead nd_prefix = { 0 };
struct nd_prefix *pr;
pr = nd_prefix.lh_first;
struct nd_prefix *pr, *next;
for (pr = nd_prefix.lh_first; pr; pr = next) {
struct nd_prefix *pr;
for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
struct nd_prefix *pr;
pr = nd_prefix.lh_first;
struct nd_prefix *t;
struct nd_prefix *pr, *npr;
for (pr = nd_prefix.lh_first; pr; pr = npr) {
LIST_ENTRY(nd_prefix) ndpr_entry;
#define ifpr2ndpr(ifpr) ((struct nd_prefix *)(ifpr))
LIST_HEAD(nd_prhead, nd_prefix);
extern struct nd_prhead nd_prefix;
void prelist_del (struct nd_prefix *);
void prelist_remove (struct nd_prefix *);
int prelist_update(struct nd_prefix *, struct nd_defrouter *,
int nd6_prelist_add(struct nd_prefix *, struct nd_defrouter *,
struct nd_prefix **);
int nd6_prefix_onlink (struct nd_prefix *);
int nd6_prefix_offlink (struct nd_prefix *);
struct nd_prefix *nd6_prefix_lookup (struct nd_prefix *);
int in6_init_prefix_ltimes (struct nd_prefix *);
find_pfxlist_reachable_router(struct nd_prefix *pr)
struct nd_prefix *pr;
for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
nd6_prefix_onlink(struct nd_prefix *pr)
struct nd_prefix *opr;
for (opr = nd_prefix.lh_first; opr; opr = opr->ndpr_next) {
nd6_prefix_offlink(struct nd_prefix *pr)
struct nd_prefix *opr;
for (opr = nd_prefix.lh_first; opr; opr = opr->ndpr_next) {
in6_ifadd(struct nd_prefix *pr, struct in6_addr *ifid)
in6_init_prefix_ltimes(struct nd_prefix *ndpr)
in6_init_address_ltimes(struct nd_prefix *new, struct in6_addrlifetime *lt6)
struct nd_prefix pr;
struct nd_prefix *pr;
for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
pfxrtr_lookup(struct nd_prefix *pr, struct nd_defrouter *dr)
static struct in6_ifaddr *in6_ifadd (struct nd_prefix *,
pfxrtr_add(struct nd_prefix *pr, struct nd_defrouter *dr)
static struct nd_pfxrouter *pfxrtr_lookup (struct nd_prefix *,
struct nd_prefix *
nd6_prefix_lookup(struct nd_prefix *pr)
struct nd_prefix *search;
for (search = nd_prefix.lh_first; search; search = search->ndpr_next) {
nd6_prelist_add(struct nd_prefix *pr, struct nd_defrouter *dr,
static void pfxrtr_add (struct nd_prefix *, struct nd_defrouter *);
struct nd_prefix **newp)
struct nd_prefix *new = NULL;
LIST_INSERT_HEAD(&nd_prefix, new, ndpr_entry);
(struct nd_prefix *);
prelist_remove(struct nd_prefix *pr)
static void in6_init_address_ltimes(struct nd_prefix *ndpr,
prelist_update(struct nd_prefix *new, struct nd_defrouter *dr, struct mbuf *m)
struct nd_prefix *pr;
struct nd_prefix *newpr = NULL;