Home
last modified time | relevance | path

Searched refs:flow_mode (Results 1 – 1 of 1) sorted by relevance

/net/sched/
Dsch_cake.c209 u8 flow_mode; member
636 static bool cake_dsrc(int flow_mode) in cake_dsrc() argument
638 return (flow_mode & CAKE_FLOW_DUAL_SRC) == CAKE_FLOW_DUAL_SRC; in cake_dsrc()
641 static bool cake_ddst(int flow_mode) in cake_ddst() argument
643 return (flow_mode & CAKE_FLOW_DUAL_DST) == CAKE_FLOW_DUAL_DST; in cake_ddst()
647 int flow_mode, u16 flow_override, u16 host_override) in cake_hash() argument
649 bool hash_flows = (!flow_override && !!(flow_mode & CAKE_FLOW_FLOWS)); in cake_hash()
650 bool hash_hosts = (!host_override && !!(flow_mode & CAKE_FLOW_HOSTS)); in cake_hash()
651 bool nat_enabled = !!(flow_mode & CAKE_FLOW_NAT_FLAG); in cake_hash()
657 if (unlikely(flow_mode == CAKE_FLOW_NONE)) in cake_hash()
[all …]