Lines Matching refs:hash_fields
1937 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local
1940 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_outer()
1947 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_outer()
1949 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_outer()
1951 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_outer()
1953 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_outer()
1955 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_outer()
1966 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_inner() local
1976 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in fib_multipath_custom_hash_inner()
1987 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
1989 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in fib_multipath_custom_hash_inner()
1993 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
1995 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in fib_multipath_custom_hash_inner()
1997 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in fib_multipath_custom_hash_inner()
2001 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in fib_multipath_custom_hash_inner()
2003 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in fib_multipath_custom_hash_inner()
2005 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_PORT) in fib_multipath_custom_hash_inner()
2026 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_fl4() local
2029 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_fl4()
2034 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_fl4()
2036 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_fl4()
2038 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_fl4()
2040 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_fl4()
2042 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_fl4()