Lines Matching defs:key
65 struct ip_tunnel_key tun_key; /* Encapsulating tunnel key. */
155 static inline bool sw_flow_key_is_nd(const struct sw_flow_key *key)
157 return key->eth.type == htons(ETH_P_IPV6) &&
158 key->ip.proto == NEXTHDR_ICMP &&
159 key->tp.dst == 0 &&
160 (key->tp.src == htons(NDISC_NEIGHBOUR_SOLICITATION) ||
161 key->tp.src == htons(NDISC_NEIGHBOUR_ADVERTISEMENT));
173 struct sw_flow_key key;
177 struct sw_flow_key *key;
216 struct sw_flow_key key;
242 static inline u8 ovs_key_mac_proto(const struct sw_flow_key *key)
244 return key->mac_proto & ~SW_FLOW_KEY_INVALID;
252 static inline u16 ovs_mac_header_len(const struct sw_flow_key *key)
254 return __ovs_mac_header_len(ovs_key_mac_proto(key));
274 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key);
275 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key);
278 struct sw_flow_key *key);
279 /* Extract key from packet coming from userspace. */
282 struct sw_flow_key *key, bool log);