diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-04-20 00:11:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-20 12:43:24 -0700 |
commit | eec517cdb4810b3843eb7707971de3164088bff1 (patch) | |
tree | 082f3cf957cf9da4dfba2d2f57b36387faa8e9dc /include/uapi/linux/if.h | |
parent | 749d22e8f6d5645ed066ec434c0ce5327987c699 (diff) | |
download | linux-stable-eec517cdb4810b3843eb7707971de3164088bff1.tar.gz linux-stable-eec517cdb4810b3843eb7707971de3164088bff1.tar.bz2 linux-stable-eec517cdb4810b3843eb7707971de3164088bff1.zip |
net: Add IF_OPER_TESTING
RFC 2863 defines the operational state testing. Add support for this
state, both as a IF_LINK_MODE_ and __LINK_STATE_.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if.h')
-rw-r--r-- | include/uapi/linux/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index be714cd8c826..797ba2c1562a 100644 --- a/include/uapi/linux/if.h +++ b/include/uapi/linux/if.h @@ -178,6 +178,7 @@ enum { enum { IF_LINK_MODE_DEFAULT, IF_LINK_MODE_DORMANT, /* limit upward transition to dormant */ + IF_LINK_MODE_TESTING, /* limit upward transition to testing */ }; /* |