Lines Matching refs:key
169 static inline bool sw_flow_key_is_nd(const struct sw_flow_key *key) in sw_flow_key_is_nd() argument
171 return key->eth.type == htons(ETH_P_IPV6) && in sw_flow_key_is_nd()
172 key->ip.proto == NEXTHDR_ICMP && in sw_flow_key_is_nd()
173 key->tp.dst == 0 && in sw_flow_key_is_nd()
174 (key->tp.src == htons(NDISC_NEIGHBOUR_SOLICITATION) || in sw_flow_key_is_nd()
175 key->tp.src == htons(NDISC_NEIGHBOUR_ADVERTISEMENT)); in sw_flow_key_is_nd()
187 struct sw_flow_key key; member
191 struct sw_flow_key *key; member
230 struct sw_flow_key key; member
256 static inline u8 ovs_key_mac_proto(const struct sw_flow_key *key) in ovs_key_mac_proto() argument
258 return key->mac_proto & ~SW_FLOW_KEY_INVALID; in ovs_key_mac_proto()
266 static inline u16 ovs_mac_header_len(const struct sw_flow_key *key) in ovs_mac_header_len() argument
268 return __ovs_mac_header_len(ovs_key_mac_proto(key)); in ovs_mac_header_len()
288 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key);
289 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key);
292 struct sw_flow_key *key);
296 struct sw_flow_key *key, bool log);