Home
last modified time | relevance | path

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

/net/core/
Dflow_dissector.c795 static void __skb_flow_bpf_to_target(const struct bpf_flow_keys *flow_keys, in __skb_flow_bpf_to_target() argument
808 key_control->thoff = flow_keys->thoff; in __skb_flow_bpf_to_target()
809 if (flow_keys->is_frag) in __skb_flow_bpf_to_target()
811 if (flow_keys->is_first_frag) in __skb_flow_bpf_to_target()
813 if (flow_keys->is_encap) in __skb_flow_bpf_to_target()
819 key_basic->n_proto = flow_keys->n_proto; in __skb_flow_bpf_to_target()
820 key_basic->ip_proto = flow_keys->ip_proto; in __skb_flow_bpf_to_target()
822 if (flow_keys->addr_proto == ETH_P_IP && in __skb_flow_bpf_to_target()
827 key_addrs->v4addrs.src = flow_keys->ipv4_src; in __skb_flow_bpf_to_target()
828 key_addrs->v4addrs.dst = flow_keys->ipv4_dst; in __skb_flow_bpf_to_target()
[all …]
Dfilter.c7949 case bpf_ctx_range_ptr(struct __sk_buff, flow_keys): in bpf_skb_is_valid_access()
8662 case bpf_ctx_range_ptr(struct __sk_buff, flow_keys): in flow_dissector_is_valid_access()
8694 case offsetof(struct __sk_buff, flow_keys): in flow_dissector_convert_ctx_access()
8695 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_flow_dissector, flow_keys), in flow_dissector_convert_ctx_access()
8697 offsetof(struct bpf_flow_dissector, flow_keys)); in flow_dissector_convert_ctx_access()
/net/sched/
Dcls_flow.c66 static u32 flow_get_src(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_src()
76 static u32 flow_get_dst(const struct sk_buff *skb, const struct flow_keys *flow) in flow_get_dst()
87 const struct flow_keys *flow) in flow_get_proto()
93 const struct flow_keys *flow) in flow_get_proto_src()
102 const struct flow_keys *flow) in flow_get_proto_dst()
152 const struct flow_keys *flow) in flow_get_nfct_src()
165 const struct flow_keys *flow) in flow_get_nfct_dst()
178 const struct flow_keys *flow) in flow_get_nfct_proto_src()
186 const struct flow_keys *flow) in flow_get_nfct_proto_dst()
240 static u32 flow_key_get(struct sk_buff *skb, int key, struct flow_keys *flow) in flow_key_get()
[all …]
Dsch_choke.c152 struct flow_keys temp; in choke_match_flow()
Dsch_cake.c587 static bool cake_update_flowkeys(struct flow_keys *keys, in cake_update_flowkeys()
654 struct flow_keys keys, host_keys; in cake_hash()
/net/bpf/
Dtest_run.c858 struct bpf_flow_keys flow_keys; in bpf_prog_test_run_flow_dissector() local
895 ctx.flow_keys = &flow_keys; in bpf_prog_test_run_flow_dissector()
909 ret = bpf_test_finish(kattr, uattr, &flow_keys, sizeof(flow_keys), in bpf_prog_test_run_flow_dissector()
/net/ipv4/
Dnetfilter.c28 struct flow_keys flkeys; in ip_route_me_harder()
Droute.c1895 struct flow_keys *hash_keys) in ip_multipath_l3_keys()
1935 struct flow_keys keys, hash_keys; in fib_multipath_custom_hash_outer()
1964 struct flow_keys keys, hash_keys; in fib_multipath_custom_hash_inner()
2024 struct flow_keys hash_keys; in fib_multipath_custom_hash_fl4()
2047 const struct sk_buff *skb, struct flow_keys *flkeys) in fib_multipath_hash()
2050 struct flow_keys hash_keys; in fib_multipath_hash()
2069 struct flow_keys keys; in fib_multipath_hash()
2103 struct flow_keys keys; in fib_multipath_hash()
2149 struct flow_keys *hkeys) in ip_mkroute_input()
2235 struct flow_keys *flkeys = NULL, _flkeys; in ip_route_input_slow()
Dfib_frontend.c348 struct flow_keys flkeys; in __fib_validate_source()
/net/openvswitch/
Dactions.c75 static struct action_flow_keys __percpu *flow_keys; variable
83 struct action_flow_keys *keys = this_cpu_ptr(flow_keys); in clone_key()
1616 flow_keys = alloc_percpu(struct action_flow_keys); in action_fifos_init()
1617 if (!flow_keys) { in action_fifos_init()
1628 free_percpu(flow_keys); in action_fifos_exit()
/net/ipv6/
Dnetfilter.c28 struct flow_keys flkeys; in ip6_route_me_harder()
Droute.c2296 struct flow_keys *keys, in ip6_multipath_l3_keys()
2297 struct flow_keys *flkeys) in ip6_multipath_l3_keys()
2301 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys()
2345 struct flow_keys keys, hash_keys; in rt6_multipath_custom_hash_outer()
2376 struct flow_keys keys, hash_keys; in rt6_multipath_custom_hash_inner()
2436 struct flow_keys hash_keys; in rt6_multipath_custom_hash_fl6()
2461 const struct sk_buff *skb, struct flow_keys *flkeys) in rt6_multipath_hash()
2463 struct flow_keys hash_keys; in rt6_multipath_hash()
2483 struct flow_keys keys; in rt6_multipath_hash()
2516 struct flow_keys keys; in rt6_multipath_hash()
[all …]