Searched refs:flow_keys (Results 1 – 10 of 10) sorted by relevance
/net/core/ |
D | flow_dissector.c | 784 static void __skb_flow_bpf_to_target(const struct bpf_flow_keys *flow_keys, in __skb_flow_bpf_to_target() argument 797 key_control->thoff = flow_keys->thoff; in __skb_flow_bpf_to_target() 798 if (flow_keys->is_frag) in __skb_flow_bpf_to_target() 800 if (flow_keys->is_first_frag) in __skb_flow_bpf_to_target() 802 if (flow_keys->is_encap) in __skb_flow_bpf_to_target() 808 key_basic->n_proto = flow_keys->n_proto; in __skb_flow_bpf_to_target() 809 key_basic->ip_proto = flow_keys->ip_proto; in __skb_flow_bpf_to_target() 811 if (flow_keys->addr_proto == ETH_P_IP && in __skb_flow_bpf_to_target() 816 key_addrs->v4addrs.src = flow_keys->ipv4_src; in __skb_flow_bpf_to_target() 817 key_addrs->v4addrs.dst = flow_keys->ipv4_dst; in __skb_flow_bpf_to_target() [all …]
|
D | filter.c | 7560 case bpf_ctx_range_ptr(struct __sk_buff, flow_keys): in bpf_skb_is_valid_access() 8273 case bpf_ctx_range_ptr(struct __sk_buff, flow_keys): in flow_dissector_is_valid_access() 8305 case offsetof(struct __sk_buff, flow_keys): in flow_dissector_convert_ctx_access() 8306 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_flow_dissector, flow_keys), in flow_dissector_convert_ctx_access() 8308 offsetof(struct bpf_flow_dissector, flow_keys)); in flow_dissector_convert_ctx_access()
|
/net/sched/ |
D | cls_flow.c | 66 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 …]
|
D | sch_choke.c | 152 struct flow_keys temp; in choke_match_flow()
|
D | sch_cake.c | 587 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/ |
D | test_run.c | 740 struct bpf_flow_keys flow_keys; in bpf_prog_test_run_flow_dissector() local 777 ctx.flow_keys = &flow_keys; in bpf_prog_test_run_flow_dissector() 791 ret = bpf_test_finish(kattr, uattr, &flow_keys, sizeof(flow_keys), in bpf_prog_test_run_flow_dissector()
|
/net/openvswitch/ |
D | actions.c | 74 static struct action_flow_keys __percpu *flow_keys; variable 82 struct action_flow_keys *keys = this_cpu_ptr(flow_keys); in clone_key() 1608 flow_keys = alloc_percpu(struct action_flow_keys); in action_fifos_init() 1609 if (!flow_keys) { in action_fifos_init() 1620 free_percpu(flow_keys); in action_fifos_exit()
|
/net/ipv4/ |
D | route.c | 1925 struct flow_keys *hash_keys) in ip_multipath_l3_keys() 1962 const struct sk_buff *skb, struct flow_keys *flkeys) in fib_multipath_hash() 1965 struct flow_keys hash_keys; in fib_multipath_hash() 1983 struct flow_keys keys; in fib_multipath_hash() 2016 struct flow_keys keys; in fib_multipath_hash() 2056 struct flow_keys *hkeys) in ip_mkroute_input() 2142 struct flow_keys *flkeys = NULL, _flkeys; in ip_route_input_slow()
|
D | fib_frontend.c | 348 struct flow_keys flkeys; in __fib_validate_source()
|
/net/ipv6/ |
D | route.c | 2297 struct flow_keys *keys, in ip6_multipath_l3_keys() 2298 struct flow_keys *flkeys) in ip6_multipath_l3_keys() 2302 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys() 2343 const struct sk_buff *skb, struct flow_keys *flkeys) in rt6_multipath_hash() 2345 struct flow_keys hash_keys; in rt6_multipath_hash() 2364 struct flow_keys keys; in rt6_multipath_hash() 2396 struct flow_keys keys; in rt6_multipath_hash() 2449 struct flow_keys *flkeys = NULL, _flkeys; in ip6_route_input()
|