• Home
  • Raw
  • Download

Lines Matching refs:hash_keys

1895 				 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()
1953 hash_keys.ports.dst = keys.ports.dst; in fib_multipath_custom_hash_outer()
1956 return flow_hash_from_keys(&hash_keys); in fib_multipath_custom_hash_outer()
1964 struct flow_keys keys, hash_keys; in fib_multipath_custom_hash_inner() local
1976 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_custom_hash_inner()
1983 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_inner()
1985 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_custom_hash_inner()
1987 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_custom_hash_inner()
1989 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in fib_multipath_custom_hash_inner()
1991 hash_keys.addrs.v6addrs.src = keys.addrs.v6addrs.src; in fib_multipath_custom_hash_inner()
1993 hash_keys.addrs.v6addrs.dst = keys.addrs.v6addrs.dst; in fib_multipath_custom_hash_inner()
1995 hash_keys.tags.flow_label = keys.tags.flow_label; in fib_multipath_custom_hash_inner()
1999 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_inner()
2001 hash_keys.ports.src = keys.ports.src; in fib_multipath_custom_hash_inner()
2003 hash_keys.ports.dst = keys.ports.dst; in fib_multipath_custom_hash_inner()
2005 return flow_hash_from_keys(&hash_keys); in fib_multipath_custom_hash_inner()
2024 struct flow_keys hash_keys; in fib_multipath_custom_hash_fl4() local
2029 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_custom_hash_fl4()
2030 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_fl4()
2032 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_custom_hash_fl4()
2034 hash_keys.addrs.v4addrs.dst = fl4->daddr; in fib_multipath_custom_hash_fl4()
2036 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_custom_hash_fl4()
2038 hash_keys.ports.src = fl4->fl4_sport; in fib_multipath_custom_hash_fl4()
2040 hash_keys.ports.dst = fl4->fl4_dport; in fib_multipath_custom_hash_fl4()
2042 return flow_hash_from_keys(&hash_keys); in fib_multipath_custom_hash_fl4()
2050 struct flow_keys hash_keys; in fib_multipath_hash() local
2055 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_hash()
2056 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2058 ip_multipath_l3_keys(skb, &hash_keys); in fib_multipath_hash()
2060 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_hash()
2061 hash_keys.addrs.v4addrs.dst = fl4->daddr; in fib_multipath_hash()
2063 mhash = flow_hash_from_keys(&hash_keys); in fib_multipath_hash()
2075 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_hash()
2082 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2083 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash()
2084 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash()
2085 hash_keys.ports.src = flkeys->ports.src; in fib_multipath_hash()
2086 hash_keys.ports.dst = flkeys->ports.dst; in fib_multipath_hash()
2087 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash()
2089 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_hash()
2090 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2091 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_hash()
2092 hash_keys.addrs.v4addrs.dst = fl4->daddr; in fib_multipath_hash()
2093 hash_keys.ports.src = fl4->fl4_sport; in fib_multipath_hash()
2094 hash_keys.ports.dst = fl4->fl4_dport; in fib_multipath_hash()
2095 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_hash()
2097 mhash = flow_hash_from_keys(&hash_keys); in fib_multipath_hash()
2100 memset(&hash_keys, 0, sizeof(hash_keys)); in fib_multipath_hash()
2108 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2109 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_hash()
2110 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_hash()
2112 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in fib_multipath_hash()
2113 hash_keys.addrs.v6addrs.src = keys.addrs.v6addrs.src; in fib_multipath_hash()
2114 hash_keys.addrs.v6addrs.dst = keys.addrs.v6addrs.dst; in fib_multipath_hash()
2115 hash_keys.tags.flow_label = keys.tags.flow_label; in fib_multipath_hash()
2116 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_hash()
2119 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2120 ip_multipath_l3_keys(skb, &hash_keys); in fib_multipath_hash()
2124 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2125 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_hash()
2126 hash_keys.addrs.v4addrs.dst = fl4->daddr; in fib_multipath_hash()
2128 mhash = flow_hash_from_keys(&hash_keys); in fib_multipath_hash()