mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
team: add signed 32-bit team option type
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4778e0be16
commit
69821638b2
2 changed files with 14 additions and 0 deletions
|
@ -130,6 +130,7 @@ enum team_option_type {
|
|||
TEAM_OPTION_TYPE_STRING,
|
||||
TEAM_OPTION_TYPE_BINARY,
|
||||
TEAM_OPTION_TYPE_BOOL,
|
||||
TEAM_OPTION_TYPE_S32,
|
||||
};
|
||||
|
||||
struct team_option_inst_info {
|
||||
|
@ -146,6 +147,7 @@ struct team_gsetter_ctx {
|
|||
u32 len;
|
||||
} bin_val;
|
||||
bool bool_val;
|
||||
s32 s32_val;
|
||||
} data;
|
||||
struct team_option_inst_info *info;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue