Home
last modified time | relevance | path

Searched refs:flow_key (Results 1 – 3 of 3) sorted by relevance

/net/openvswitch/
Dactions.c196 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 …]
Dflow.h41 #define TUN_METADATA_OPTS(flow_key, opt_len) \ argument
42 ((void *)((flow_key)->tun_opts + TUN_METADATA_OFFSET(opt_len)))
Dflow_netlink.c2838 const struct sw_flow_key *flow_key, in validate_set() argument
2900 if (ipv4_key->ipv4_proto != flow_key->ip.proto) in validate_set()
2903 if (ipv4_key->ipv4_frag != flow_key->ip.frag) in validate_set()
2927 if (ipv6_key->ipv6_proto != flow_key->ip.proto) in validate_set()
2930 if (ipv6_key->ipv6_frag != flow_key->ip.frag) in validate_set()
2941 flow_key->ip.proto != IPPROTO_TCP) in validate_set()
2949 flow_key->ip.proto != IPPROTO_UDP) in validate_set()
2962 flow_key->ip.proto != IPPROTO_SCTP) in validate_set()