Lines Matching defs:prefix

1206 	CLEANUP_PREFIX_RT_NOP,    /* no cleanup action for prefix route */
1207 CLEANUP_PREFIX_RT_DEL, /* delete the prefix route */
1208 CLEANUP_PREFIX_RT_EXPIRE, /* update the lifetime of the prefix route */
1212 * Check, whether the prefix for ifp would still need a prefix route
1216 * 1) we don't purge prefix if address was not permanent.
1217 * prefix is managed by its own lifetime.
1219 * 3) if there are no addresses, delete prefix.
1221 * corresponding prefix is still permanent.
1223 * don't purge the prefix, assume user space is managing it.
1224 * 6) otherwise, update prefix lifetime to the
1654 /* Rule 8: Use longest matching prefix */
2418 * Add prefix route.
2474 /* prefix routes only use builtin fib6_nh */
2730 netdev_dbg(dev, "addrconf: prefix option too short\n");
2738 addr_type = ipv6_addr_type(&pinfo->prefix);
2747 net_warn_ratelimited("addrconf: prefix option has invalid lifetime\n");
2785 rt = addrconf_get_prefix_route(&pinfo->prefix,
2792 /* Autoconf prefix route */
2810 addrconf_prefix_route(&pinfo->prefix, pinfo->prefix_len,
2817 /* Try to figure out our local address for this prefix */
2824 memcpy(&addr, &pinfo->prefix, 8);
2845 net_dbg_ratelimited("IPv6 addrconf: prefix with wrong length %d\n",
2858 /* Ignore error case here because previous prefix add addr was
2957 NL_SET_ERR_MSG_MOD(extack, "Invalid prefix length");
2968 NL_SET_ERR_MSG_MOD(extack, "address with \"mngtmpaddr\" flag must have a prefix length of 64");
3054 NL_SET_ERR_MSG_MOD(extack, "Invalid prefix length");
3305 __be32 prefix[2];
3331 data.prefix[0] = address->s6_addr32[0];
3332 data.prefix[1] = address->s6_addr32[1];
3394 * only need to care about prefix routes if ipv6_generate_eui64
3582 net_info_ratelimited("%s: Failed to add prefix route for address %pI6c; dropping\n",
4268 /* If added prefix is link local and we are prepared to process
4862 /* prefix route could have been deleted; if so restore it */
6158 if (nla_put(skb, PREFIX_ADDRESS, sizeof(pinfo->prefix), &pinfo->prefix))