Symbol: flow_key
drivers/net/ethernet/sun/niu.c
5071
err = niu_set_flow_key(np, i, parent->flow_key[index]);
drivers/net/ethernet/sun/niu.c
7046
static u64 niu_flowkey_to_ethflow(u64 flow_key)
drivers/net/ethernet/sun/niu.c
7050
if (flow_key & FLOW_KEY_L2DA)
drivers/net/ethernet/sun/niu.c
7052
if (flow_key & FLOW_KEY_VLAN)
drivers/net/ethernet/sun/niu.c
7054
if (flow_key & FLOW_KEY_IPSA)
drivers/net/ethernet/sun/niu.c
7056
if (flow_key & FLOW_KEY_IPDA)
drivers/net/ethernet/sun/niu.c
7058
if (flow_key & FLOW_KEY_PROTO)
drivers/net/ethernet/sun/niu.c
7060
if (flow_key & (FLOW_KEY_L4_BYTE12 << FLOW_KEY_L4_0_SHIFT))
drivers/net/ethernet/sun/niu.c
7062
if (flow_key & (FLOW_KEY_L4_BYTE12 << FLOW_KEY_L4_1_SHIFT))
drivers/net/ethernet/sun/niu.c
7069
static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key)
drivers/net/ethernet/sun/niu.c
7088
*flow_key = key;
drivers/net/ethernet/sun/niu.c
7109
nfc->data = niu_flowkey_to_ethflow(np->parent->flow_key[class -
drivers/net/ethernet/sun/niu.c
7339
u64 flow_key = 0;
drivers/net/ethernet/sun/niu.c
7351
flow_key = np->parent->tcam_key[class -
drivers/net/ethernet/sun/niu.c
7353
flow_key |= TCAM_KEY_DISC;
drivers/net/ethernet/sun/niu.c
7354
nw64(TCAM_KEY(class - CLASS_CODE_USER_PROG1), flow_key);
drivers/net/ethernet/sun/niu.c
7355
np->parent->tcam_key[class - CLASS_CODE_USER_PROG1] = flow_key;
drivers/net/ethernet/sun/niu.c
7363
flow_key = np->parent->tcam_key[class -
drivers/net/ethernet/sun/niu.c
7365
flow_key &= ~TCAM_KEY_DISC;
drivers/net/ethernet/sun/niu.c
7367
flow_key);
drivers/net/ethernet/sun/niu.c
7369
flow_key;
drivers/net/ethernet/sun/niu.c
7374
if (!niu_ethflow_to_flowkey(nfc->data, &flow_key))
drivers/net/ethernet/sun/niu.c
7378
nw64(FLOW_KEY(class - CLASS_CODE_USER_PROG1), flow_key);
drivers/net/ethernet/sun/niu.c
7379
np->parent->flow_key[class - CLASS_CODE_USER_PROG1] = flow_key;
drivers/net/ethernet/sun/niu.c
9540
p->flow_key[index] = (FLOW_KEY_IPSA |
drivers/net/ethernet/sun/niu.h
3126
u64 flow_key[12];
net/openvswitch/actions.c
1020
struct sw_flow_key *flow_key,
net/openvswitch/actions.c
1040
struct sw_flow_key *flow_key,
net/openvswitch/actions.c
1049
flow_key->phy.priority = skb->priority;
net/openvswitch/actions.c
1054
flow_key->phy.skb_mark = skb->mark;
net/openvswitch/actions.c
1063
err = set_eth_addr(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1068
err = set_ipv4(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1073
err = set_ipv6(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1078
err = set_tcp(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1083
err = set_udp(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1088
err = set_sctp(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1093
err = set_mpls(skb, flow_key, nla_data(a), get_mask(a,
net/openvswitch/actions.c
163
static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
179
flow_key->mpls.lse[0] = lse;
net/openvswitch/actions.c
226
static int set_eth_addr(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
245
ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source);
net/openvswitch/actions.c
246
ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest);
net/openvswitch/actions.c
454
static int set_ipv4(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
478
flow_key->ipv4.addr.src = new_addr;
net/openvswitch/actions.c
486
flow_key->ipv4.addr.dst = new_addr;
net/openvswitch/actions.c
491
flow_key->ip.tos = nh->tos;
net/openvswitch/actions.c
495
flow_key->ip.ttl = nh->ttl;
net/openvswitch/actions.c
506
static int set_ipv6(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
531
set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked,
net/openvswitch/actions.c
533
memcpy(&flow_key->ipv6.addr.src, masked,
net/openvswitch/actions.c
534
sizeof(flow_key->ipv6.addr.src));
net/openvswitch/actions.c
553
set_ipv6_addr(skb, flow_key->ip.proto, daddr, masked,
net/openvswitch/actions.c
555
memcpy(&flow_key->ipv6.addr.dst, masked,
net/openvswitch/actions.c
556
sizeof(flow_key->ipv6.addr.dst));
net/openvswitch/actions.c
561
flow_key->ip.tos = ipv6_get_dsfield(nh);
net/openvswitch/actions.c
566
flow_key->ipv6.label =
net/openvswitch/actions.c
571
flow_key->ip.ttl = nh->hop_limit;
net/openvswitch/actions.c
585
static int set_udp(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
606
flow_key->tp.src = src;
net/openvswitch/actions.c
610
flow_key->tp.dst = dst;
net/openvswitch/actions.c
618
flow_key->tp.src = src;
net/openvswitch/actions.c
619
flow_key->tp.dst = dst;
net/openvswitch/actions.c
628
static int set_tcp(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
645
flow_key->tp.src = src;
net/openvswitch/actions.c
650
flow_key->tp.dst = dst;
net/openvswitch/actions.c
657
static int set_sctp(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
685
flow_key->tp.src = sh->source;
net/openvswitch/actions.c
686
flow_key->tp.dst = sh->dest;
net/openvswitch/flow.h
54
#define TUN_METADATA_OPTS(flow_key, opt_len) \
net/openvswitch/flow.h
55
((void *)((flow_key)->tun_opts + TUN_METADATA_OFFSET(opt_len)))
net/openvswitch/flow_netlink.c
2920
const struct sw_flow_key *flow_key,
net/openvswitch/flow_netlink.c
2983
if (ipv4_key->ipv4_proto != flow_key->ip.proto)
net/openvswitch/flow_netlink.c
2986
if (ipv4_key->ipv4_frag != flow_key->ip.frag)
net/openvswitch/flow_netlink.c
3010
if (ipv6_key->ipv6_proto != flow_key->ip.proto)
net/openvswitch/flow_netlink.c
3013
if (ipv6_key->ipv6_frag != flow_key->ip.frag)
net/openvswitch/flow_netlink.c
3024
flow_key->ip.proto != IPPROTO_TCP)
net/openvswitch/flow_netlink.c
3032
flow_key->ip.proto != IPPROTO_UDP)
net/openvswitch/flow_netlink.c
3047
flow_key->ip.proto != IPPROTO_SCTP)
tools/testing/selftests/bpf/benchs/bench_xdp_lb.c
382
static void build_flow_key(struct flow_key *fk, const struct test_scenario *sc)
tools/testing/selftests/bpf/benchs/bench_xdp_lb.c
544
sizeof(struct flow_key),
tools/testing/selftests/bpf/benchs/bench_xdp_lb.c
577
struct flow_key fk;
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
123
struct flow_key flow;
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
179
__type(key, struct flow_key);
tools/testing/selftests/bpf/progs/xdp_lb_bench.c
106
__type(key, struct flow_key);
tools/testing/selftests/bpf/progs/xdp_lb_bench.c
298
struct flow_key *flow,
tools/testing/selftests/bpf/progs/xdp_lb_bench.c
324
static __always_inline bool get_packet_dst(struct real_definition **real, struct flow_key *flow,
tools/testing/selftests/bpf/progs/xdp_lb_bench.c
401
struct flow_key flow = {};