Searched refs:flow_key (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/net/openvswitch/ |
D | actions.c | 196 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls() argument 212 flow_key->mpls.lse[0] = lse; in set_mpls() 255 static int set_eth_addr(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_eth_addr() argument 274 ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source); in set_eth_addr() 275 ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); in set_eth_addr() 476 static int set_ipv4(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_ipv4() argument 500 flow_key->ipv4.addr.src = new_addr; in set_ipv4() 508 flow_key->ipv4.addr.dst = new_addr; in set_ipv4() 513 flow_key->ip.tos = nh->tos; in set_ipv4() 517 flow_key->ip.ttl = nh->ttl; in set_ipv4() [all …]
|
D | flow.h | 54 #define TUN_METADATA_OPTS(flow_key, opt_len) \ argument 55 ((void *)((flow_key)->tun_opts + TUN_METADATA_OFFSET(opt_len)))
|
D | flow_netlink.c | 2859 const struct sw_flow_key *flow_key, in validate_set() argument 2921 if (ipv4_key->ipv4_proto != flow_key->ip.proto) in validate_set() 2924 if (ipv4_key->ipv4_frag != flow_key->ip.frag) in validate_set() 2948 if (ipv6_key->ipv6_proto != flow_key->ip.proto) in validate_set() 2951 if (ipv6_key->ipv6_frag != flow_key->ip.frag) in validate_set() 2962 flow_key->ip.proto != IPPROTO_TCP) in validate_set() 2970 flow_key->ip.proto != IPPROTO_UDP) in validate_set() 2983 flow_key->ip.proto != IPPROTO_SCTP) in validate_set()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 105 struct flow_key { struct 122 struct flow_key flow; argument 178 __type(key, struct flow_key);
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | niu.c | 5074 err = niu_set_flow_key(np, i, parent->flow_key[index]); in niu_init_classifier_hw() 7026 static u64 niu_flowkey_to_ethflow(u64 flow_key) in niu_flowkey_to_ethflow() argument 7030 if (flow_key & FLOW_KEY_L2DA) in niu_flowkey_to_ethflow() 7032 if (flow_key & FLOW_KEY_VLAN) in niu_flowkey_to_ethflow() 7034 if (flow_key & FLOW_KEY_IPSA) in niu_flowkey_to_ethflow() 7036 if (flow_key & FLOW_KEY_IPDA) in niu_flowkey_to_ethflow() 7038 if (flow_key & FLOW_KEY_PROTO) in niu_flowkey_to_ethflow() 7040 if (flow_key & (FLOW_KEY_L4_BYTE12 << FLOW_KEY_L4_0_SHIFT)) in niu_flowkey_to_ethflow() 7042 if (flow_key & (FLOW_KEY_L4_BYTE12 << FLOW_KEY_L4_1_SHIFT)) in niu_flowkey_to_ethflow() 7049 static int niu_ethflow_to_flowkey(u64 ethflow, u64 *flow_key) in niu_ethflow_to_flowkey() argument [all …]
|
D | niu.h | 3123 u64 flow_key[12]; member
|