Go to the source code of this file.
◆ foreach_flow_hash_bit
#define foreach_flow_hash_bit |
Value:_ (
src, 0, IP_FLOW_HASH_SRC_ADDR) \
_ (
dst, 1, IP_FLOW_HASH_DST_ADDR) \
_ (
sport, 2, IP_FLOW_HASH_SRC_PORT) \
_ (
dport, 3, IP_FLOW_HASH_DST_PORT) \
_ (
proto, 4, IP_FLOW_HASH_PROTO) \
_ (reverse, 5, IP_FLOW_HASH_REVERSE_SRC_DST) \
_ (symmetric, 6, IP_FLOW_HASH_SYMMETRIC) \
_ (flowlabel, 7, IP_FLOW_HASH_FL)
Definition at line 33 of file ip_flow_hash.h.
◆ foreach_flow_hash_bit_v1
#define foreach_flow_hash_bit_v1 |
Value:_ (
src, IP_FLOW_HASH_SRC_ADDR) \
_ (
dst, IP_FLOW_HASH_DST_ADDR) \
_ (
sport, IP_FLOW_HASH_SRC_PORT) \
_ (
dport, IP_FLOW_HASH_DST_PORT) \
_ (
proto, IP_FLOW_HASH_PROTO) \
_ (reverse, IP_FLOW_HASH_REVERSE_SRC_DST) \
_ (symmetric, IP_FLOW_HASH_SYMMETRIC)
Definition at line 24 of file ip_flow_hash.h.
◆ IP_FLOW_HASH_DEFAULT
#define IP_FLOW_HASH_DEFAULT (0x9F) |
Default: 5-tuple + flowlabel without the "reverse" bit.
Definition at line 22 of file ip_flow_hash.h.
◆ flow_hash_config_t
A flow hash configuration is a mask of the flow hash options.
◆ flow_hash_config_t_
A flow hash configuration is a mask of the flow hash options.
Enumerator |
---|
foreach_flow_hash_bit | |
Definition at line 46 of file ip_flow_hash.h.
◆ ip_flow_hash_router_id_set()
void ip_flow_hash_router_id_set |
( |
u32 |
router_id | ) |
|
Definition at line 209 of file ip.c.
◆ ip_flow_hash_set()
◆ ip_flow_hash_router_id
u32 ip_flow_hash_router_id |
Definition at line 19 of file ip.c.