mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
openvswitch: Rename LABEL->LABELS
Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name
for these to be consistent with conntrack.
Fixes: c2ac667
"openvswitch: Allow matching on conntrack label"
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e9193d60d3
commit
33db4125ec
6 changed files with 55 additions and 55 deletions
|
@ -326,7 +326,7 @@ enum ovs_key_attr {
|
|||
OVS_KEY_ATTR_CT_STATE, /* u8 bitmask of OVS_CS_F_* */
|
||||
OVS_KEY_ATTR_CT_ZONE, /* u16 connection tracking zone. */
|
||||
OVS_KEY_ATTR_CT_MARK, /* u32 connection tracking mark */
|
||||
OVS_KEY_ATTR_CT_LABEL, /* 16-octet connection tracking label */
|
||||
OVS_KEY_ATTR_CT_LABELS, /* 16-octet connection tracking label */
|
||||
|
||||
#ifdef __KERNEL__
|
||||
OVS_KEY_ATTR_TUNNEL_INFO, /* struct ip_tunnel_info */
|
||||
|
@ -439,9 +439,9 @@ struct ovs_key_nd {
|
|||
__u8 nd_tll[ETH_ALEN];
|
||||
};
|
||||
|
||||
#define OVS_CT_LABEL_LEN 16
|
||||
struct ovs_key_ct_label {
|
||||
__u8 ct_label[OVS_CT_LABEL_LEN];
|
||||
#define OVS_CT_LABELS_LEN 16
|
||||
struct ovs_key_ct_labels {
|
||||
__u8 ct_labels[OVS_CT_LABELS_LEN];
|
||||
};
|
||||
|
||||
/* OVS_KEY_ATTR_CT_STATE flags */
|
||||
|
@ -623,7 +623,7 @@ struct ovs_action_hash {
|
|||
* @OVS_CT_ATTR_MARK: u32 value followed by u32 mask. For each bit set in the
|
||||
* mask, the corresponding bit in the value is copied to the connection
|
||||
* tracking mark field in the connection.
|
||||
* @OVS_CT_ATTR_LABEL: %OVS_CT_LABEL_LEN value followed by %OVS_CT_LABEL_LEN
|
||||
* @OVS_CT_ATTR_LABEL: %OVS_CT_LABELS_LEN value followed by %OVS_CT_LABELS_LEN
|
||||
* mask. For each bit set in the mask, the corresponding bit in the value is
|
||||
* copied to the connection tracking label field in the connection.
|
||||
* @OVS_CT_ATTR_HELPER: variable length string defining conntrack ALG.
|
||||
|
@ -633,7 +633,7 @@ enum ovs_ct_attr {
|
|||
OVS_CT_ATTR_FLAGS, /* u8 bitmask of OVS_CT_F_*. */
|
||||
OVS_CT_ATTR_ZONE, /* u16 zone id. */
|
||||
OVS_CT_ATTR_MARK, /* mark to associate with this connection. */
|
||||
OVS_CT_ATTR_LABEL, /* label to associate with this connection. */
|
||||
OVS_CT_ATTR_LABELS, /* labels to associate with this connection. */
|
||||
OVS_CT_ATTR_HELPER, /* netlink helper to assist detection of
|
||||
related connections. */
|
||||
__OVS_CT_ATTR_MAX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue