Lines Matching defs:prefix

1175 	CLEANUP_PREFIX_RT_NOP,    /* no cleanup action for prefix route */
1176 CLEANUP_PREFIX_RT_DEL, /* delete the prefix route */
1177 CLEANUP_PREFIX_RT_EXPIRE, /* update the lifetime of the prefix route */
1181 * Check, whether the prefix for ifp would still need a prefix route
1185 * 1) we don't purge prefix if address was not permanent.
1186 * prefix is managed by its own lifetime.
1188 * 3) if there are no addresses, delete prefix.
1190 * corresponding prefix is still permanent.
1192 * don't purge the prefix, assume user space is managing it.
1193 * 6) otherwise, update prefix lifetime to the
1622 /* Rule 8: Use longest matching prefix */
2390 * Add prefix route.
2446 /* prefix routes only use builtin fib6_nh */
2701 netdev_dbg(dev, "addrconf: prefix option too short\n");
2709 addr_type = ipv6_addr_type(&pinfo->prefix);
2718 net_warn_ratelimited("addrconf: prefix option has invalid lifetime\n");
2756 rt = addrconf_get_prefix_route(&pinfo->prefix,
2763 /* Autoconf prefix route */
2781 addrconf_prefix_route(&pinfo->prefix, pinfo->prefix_len,
2788 /* Try to figure out our local address for this prefix */
2795 memcpy(&addr, &pinfo->prefix, 8);
2816 net_dbg_ratelimited("IPv6 addrconf: prefix with wrong length %d\n",
2829 /* Ignore error case here because previous prefix add addr was
3251 __be32 prefix[2];
3277 data.prefix[0] = address->s6_addr32[0];
3278 data.prefix[1] = address->s6_addr32[1];
3340 * only need to care about prefix routes if ipv6_generate_eui64
3500 net_info_ratelimited("%s: Failed to add prefix route for address %pI6c; dropping\n",
4201 /* If added prefix is link local and we are prepared to process
4792 /* prefix route could have been deleted; if so restore it */
6041 if (nla_put(skb, PREFIX_ADDRESS, sizeof(pinfo->prefix), &pinfo->prefix))