Searched refs:swkey (Results 1 – 2 of 2) sorted by relevance
832 static int ipv4_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_len, in ipv4_flow_from_nlattrs() argument839 switch (swkey->ip.proto) { in ipv4_flow_from_nlattrs()847 swkey->ipv4.tp.src = tcp_key->tcp_src; in ipv4_flow_from_nlattrs()848 swkey->ipv4.tp.dst = tcp_key->tcp_dst; in ipv4_flow_from_nlattrs()858 swkey->ipv4.tp.src = udp_key->udp_src; in ipv4_flow_from_nlattrs()859 swkey->ipv4.tp.dst = udp_key->udp_dst; in ipv4_flow_from_nlattrs()869 swkey->ipv4.tp.src = htons(icmp_key->icmp_type); in ipv4_flow_from_nlattrs()870 swkey->ipv4.tp.dst = htons(icmp_key->icmp_code); in ipv4_flow_from_nlattrs()877 static int ipv6_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_len, in ipv6_flow_from_nlattrs() argument884 switch (swkey->ip.proto) { in ipv6_flow_from_nlattrs()[all …]
159 int ovs_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp,