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
1023
struct sw_flow_key *flow_key,
net/openvswitch/actions.c
1043
struct sw_flow_key *flow_key,
net/openvswitch/actions.c
1052
flow_key->phy.priority = skb->priority;
net/openvswitch/actions.c
1057
flow_key->phy.skb_mark = skb->mark;
net/openvswitch/actions.c
1066
err = set_eth_addr(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1071
err = set_ipv4(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1076
err = set_ipv6(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1081
err = set_tcp(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1086
err = set_udp(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1091
err = set_sctp(skb, flow_key, nla_data(a),
net/openvswitch/actions.c
1096
err = set_mpls(skb, flow_key, nla_data(a), get_mask(a,
net/openvswitch/actions.c
162
static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
178
flow_key->mpls.lse[0] = lse;
net/openvswitch/actions.c
225
static int set_eth_addr(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
244
ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source);
net/openvswitch/actions.c
245
ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest);
net/openvswitch/actions.c
453
static int set_ipv4(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
477
flow_key->ipv4.addr.src = new_addr;
net/openvswitch/actions.c
485
flow_key->ipv4.addr.dst = new_addr;
net/openvswitch/actions.c
490
flow_key->ip.tos = nh->tos;
net/openvswitch/actions.c
494
flow_key->ip.ttl = nh->ttl;
net/openvswitch/actions.c
505
static int set_ipv6(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
530
set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked,
net/openvswitch/actions.c
532
memcpy(&flow_key->ipv6.addr.src, masked,
net/openvswitch/actions.c
533
sizeof(flow_key->ipv6.addr.src));
net/openvswitch/actions.c
552
set_ipv6_addr(skb, flow_key->ip.proto, daddr, masked,
net/openvswitch/actions.c
554
memcpy(&flow_key->ipv6.addr.dst, masked,
net/openvswitch/actions.c
555
sizeof(flow_key->ipv6.addr.dst));
net/openvswitch/actions.c
560
flow_key->ip.tos = ipv6_get_dsfield(nh);
net/openvswitch/actions.c
565
flow_key->ipv6.label =
net/openvswitch/actions.c
570
flow_key->ip.ttl = nh->hop_limit;
net/openvswitch/actions.c
584
static int set_udp(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
605
flow_key->tp.src = src;
net/openvswitch/actions.c
609
flow_key->tp.dst = dst;
net/openvswitch/actions.c
617
flow_key->tp.src = src;
net/openvswitch/actions.c
618
flow_key->tp.dst = dst;
net/openvswitch/actions.c
627
static int set_tcp(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
644
flow_key->tp.src = src;
net/openvswitch/actions.c
649
flow_key->tp.dst = dst;
net/openvswitch/actions.c
656
static int set_sctp(struct sk_buff *skb, struct sw_flow_key *flow_key,
net/openvswitch/actions.c
684
flow_key->tp.src = sh->source;
net/openvswitch/actions.c
685
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
2836
const struct sw_flow_key *flow_key,
net/openvswitch/flow_netlink.c
2899
if (ipv4_key->ipv4_proto != flow_key->ip.proto)
net/openvswitch/flow_netlink.c
2902
if (ipv4_key->ipv4_frag != flow_key->ip.frag)
net/openvswitch/flow_netlink.c
2926
if (ipv6_key->ipv6_proto != flow_key->ip.proto)
net/openvswitch/flow_netlink.c
2929
if (ipv6_key->ipv6_frag != flow_key->ip.frag)
net/openvswitch/flow_netlink.c
2940
flow_key->ip.proto != IPPROTO_TCP)
net/openvswitch/flow_netlink.c
2948
flow_key->ip.proto != IPPROTO_UDP)
net/openvswitch/flow_netlink.c
2963
flow_key->ip.proto != IPPROTO_SCTP)
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);