Home
last modified time | relevance | path

Searched refs:hash_keys (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Droute.c1895 struct flow_keys *hash_keys) in ip_multipath_l3_keys() argument
1926 hash_keys->addrs.v4addrs.src = key_iph->saddr; in ip_multipath_l3_keys()
1927 hash_keys->addrs.v4addrs.dst = key_iph->daddr; in ip_multipath_l3_keys()
1935 struct flow_keys keys, hash_keys; in fib_multipath_custom_hash_outer() local
1940 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_custom_hash_outer()
1943 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_outer()
1945 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_custom_hash_outer()
1947 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_custom_hash_outer()
1949 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_outer()
1951 hash_keys.ports.src = keys.ports.src; in fib_multipath_custom_hash_outer()
[all …]
/net/ipv6/
Droute.c2345 struct flow_keys keys, hash_keys; in rt6_multipath_custom_hash_outer() local
2350 memset(&hash_keys, 0, sizeof(hash_keys)); in rt6_multipath_custom_hash_outer()
2353 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in rt6_multipath_custom_hash_outer()
2355 hash_keys.addrs.v6addrs.src = keys.addrs.v6addrs.src; in rt6_multipath_custom_hash_outer()
2357 hash_keys.addrs.v6addrs.dst = keys.addrs.v6addrs.dst; in rt6_multipath_custom_hash_outer()
2359 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_outer()
2361 hash_keys.tags.flow_label = keys.tags.flow_label; in rt6_multipath_custom_hash_outer()
2363 hash_keys.ports.src = keys.ports.src; in rt6_multipath_custom_hash_outer()
2365 hash_keys.ports.dst = keys.ports.dst; in rt6_multipath_custom_hash_outer()
2368 return flow_hash_from_keys(&hash_keys); in rt6_multipath_custom_hash_outer()
[all …]