Lines Matching refs:hash_fields
1919 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local
1922 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_outer()
1929 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_outer()
1931 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_outer()
1933 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_outer()
1935 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_outer()
1937 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_outer()
1948 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_inner() local
1958 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in fib_multipath_custom_hash_inner()
1969 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
1971 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in fib_multipath_custom_hash_inner()
1975 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
1977 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in fib_multipath_custom_hash_inner()
1979 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in fib_multipath_custom_hash_inner()
1983 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in fib_multipath_custom_hash_inner()
1985 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in fib_multipath_custom_hash_inner()
1987 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_PORT) in fib_multipath_custom_hash_inner()
2008 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_fl4() local
2011 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_fl4()
2016 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_fl4()
2018 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_fl4()
2020 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_fl4()
2022 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_fl4()
2024 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_fl4()