Home
last modified time | relevance | path

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

/net/sched/
Dsch_cake.c210 u8 flow_mode; member
637 static bool cake_dsrc(int flow_mode) in cake_dsrc() argument
639 return (flow_mode & CAKE_FLOW_DUAL_SRC) == CAKE_FLOW_DUAL_SRC; in cake_dsrc()
642 static bool cake_ddst(int flow_mode) in cake_ddst() argument
644 return (flow_mode & CAKE_FLOW_DUAL_DST) == CAKE_FLOW_DUAL_DST; in cake_ddst()
648 int flow_mode, u16 flow_override, u16 host_override) in cake_hash() argument
650 bool hash_flows = (!flow_override && !!(flow_mode & CAKE_FLOW_FLOWS)); in cake_hash()
651 bool hash_hosts = (!host_override && !!(flow_mode & CAKE_FLOW_HOSTS)); in cake_hash()
652 bool nat_enabled = !!(flow_mode & CAKE_FLOW_NAT_FLAG); in cake_hash()
658 if (unlikely(flow_mode == CAKE_FLOW_NONE)) in cake_hash()
[all …]