Lines Matching defs:prefix
1008 * Purge or update corresponding prefix
1010 * 1) we don't purge prefix here if address was not permanent.
1011 * prefix is managed by its own lifetime.
1012 * 2) if there're no addresses, delete prefix.
1014 * corresponding prefix is still permanent.
1015 * 4) otherwise, update prefix lifetime to the
1023 struct in6_addr prefix;
1026 ipv6_addr_prefix(&prefix, &ifp->addr, ifp->prefix_len);
1028 rt = addrconf_get_prefix_route(&prefix,
1329 /* Rule 8: Use longest matching prefix */
1977 * Add prefix route.
2074 /* prefix length - 96 bits "::d.d.d.d" */
2111 ADBG(("addrconf: prefix option too short\n"));
2119 addr_type = ipv6_addr_type(&pinfo->prefix);
2128 net_warn_ratelimited("addrconf: prefix option has invalid lifetime\n");
2163 rt = addrconf_get_prefix_route(&pinfo->prefix,
2170 /* Autoconf prefix route */
2188 addrconf_prefix_route(&pinfo->prefix, pinfo->prefix_len,
2194 /* Try to figure out our local address for this prefix */
2203 memcpy(&addr, &pinfo->prefix, 8);
2218 net_dbg_ratelimited("IPv6 addrconf: prefix with wrong length %d\n",
3360 /* If added prefix is link local and we are prepared to process
4591 if (nla_put(skb, PREFIX_ADDRESS, sizeof(pinfo->prefix), &pinfo->prefix))