Lines Matching refs:hash_fields
1927 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local
1930 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_outer()
1937 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_outer()
1939 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_outer()
1941 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_outer()
1943 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_outer()
1945 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_outer()
1956 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_inner() local
1966 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in fib_multipath_custom_hash_inner()
1977 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
1979 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in fib_multipath_custom_hash_inner()
1983 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
1985 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in fib_multipath_custom_hash_inner()
1987 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in fib_multipath_custom_hash_inner()
1991 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in fib_multipath_custom_hash_inner()
1993 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in fib_multipath_custom_hash_inner()
1995 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_PORT) in fib_multipath_custom_hash_inner()
2016 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_fl4() local
2019 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_fl4()
2024 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_fl4()
2026 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_fl4()
2028 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_fl4()
2030 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_fl4()
2032 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_fl4()