Lines Matching defs:flow

8 #include "flow.h"
1598 OVS_NLERR(log, "IPv6 flow label %x is out of range (max=%x)",
1796 * ovs_nla_get_match - parses Netlink attributes into a flow key and
1797 * mask. In case the 'mask' is NULL, the flow is treated as exact match
1798 * flow. Otherwise, it is treated as a wildcarded flow, except the mask
1801 * @match: receives the extracted flow match information.
1804 * of this flow.
1806 * Netlink attribute specifies the mask field of the wildcarded flow.
1907 /* Initializes 'flow->ufid', returning true if 'attr' contains a valid UFID,
1944 * ovs_nla_get_flow_metadata - parses Netlink attributes into a flow key.
1955 * This parses a series of Netlink attributes that form a flow key, which must
1957 * get the metadata, that is, the parts of the flow key that cannot be
2100 * OVS_KEY_ATTR_ETHERTYPE in the flow key attribute, and
2295 int ovs_nla_put_identifier(const struct sw_flow *flow, struct sk_buff *skb)
2297 if (ovs_identifier_is_ufid(&flow->id))
2298 return nla_put(skb, OVS_FLOW_ATTR_UFID, flow->id.ufid_len,
2299 flow->id.ufid);
2301 return ovs_nla_put_key(flow->id.unmasked_key, flow->id.unmasked_key,
2306 int ovs_nla_put_masked_key(const struct sw_flow *flow, struct sk_buff *skb)
2308 return ovs_nla_put_key(&flow->key, &flow->key,
2313 int ovs_nla_put_mask(const struct sw_flow *flow, struct sk_buff *skb)
2315 return ovs_nla_put_key(&flow->key, &flow->mask->key,
2600 /* When both skb and flow may be changed, put the sample
2604 * Do this analysis at the flow installation time.
2843 * everything else will go away after flow setup. We can append
2967 /* Invalid bits in the flow label mask? */