Home
last modified time | relevance | path

Searched refs:prefixlen (Results 1 – 10 of 10) sorted by relevance

/net/ipv6/
Daddrlabel.c36 int prefixlen; member
84 int prefixlen; member
92 .prefixlen = 7,
96 .prefixlen = 16,
100 .prefixlen = 32,
104 .prefixlen = 28,
108 .prefixlen = 96,
112 .prefixlen = 96,
116 .prefixlen = 128,
158 if (!ipv6_prefix_equal(addr, &p->prefix, p->prefixlen)) in __ip6addrlbl_match()
[all …]
Droute.c91 struct in6_addr *prefix, int prefixlen,
95 struct in6_addr *prefix, int prefixlen,
1675 struct in6_addr *prefix, int prefixlen, in rt6_get_route_info() argument
1687 fn = fib6_locate(&table->tb6_root, prefix ,prefixlen, NULL, 0); in rt6_get_route_info()
1707 struct in6_addr *prefix, int prefixlen, in rt6_add_route_info() argument
1715 .fc_dst_len = prefixlen, in rt6_add_route_info()
1727 if (!prefixlen) in rt6_add_route_info()
1732 return rt6_get_route_info(net, prefix, prefixlen, gwaddr, ifindex); in rt6_add_route_info()
Daddrconf.c3338 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u8 flags, in put_ifaddrmsg() argument
3345 ifm->ifa_prefixlen = prefixlen; in put_ifaddrmsg()
/net/ipv4/
Dfib_lookup.h26 int prefixlen);
Dfib_semantics.c869 int prefixlen) in fib_semantic_match() argument
929 res->prefixlen = prefixlen; in fib_semantic_match()
Dfib_frontend.c839 frn->prefixlen = res.prefixlen; in nl_fib_lookup()
Droute.c2355 if (res->fi && res->prefixlen < 4) { in __mkroute_output()
2630 if (!res.prefixlen && res.type == RTN_UNICAST && !fl.oif) in ip_route_output_slow()
/net/core/
Dpktgen.c2707 unsigned int prefixlen = 0; in scan_ip6() local
2730 if (prefixlen == 12 && s[i] == '.') { in scan_ip6()
2738 ip[prefixlen++] = (u >> 8); in scan_ip6()
2739 ip[prefixlen++] = (u & 255); in scan_ip6()
2742 if (prefixlen == 16) in scan_ip6()
2763 if (suffixlen + prefixlen <= 12 && s[i] == '.') { in scan_ip6()
2775 if (prefixlen + suffixlen == 16) in scan_ip6()
/net/decnet/
Ddn_table.c797 res->prefixlen = dz->dz_order; in dn_fib_table_lookup()
Ddn_route.c862 __le16 mask = dnet_make_mask(res->prefixlen); in dn_fib_rules_map_destination()