diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-07-27 02:28:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-03 23:40:11 -0400 |
commit | 69821638b27407d8648cb04de01b06b30a291bde (patch) | |
tree | 114b3613dd57146fe4da2b55947649c29c8b14da /include/linux/if_team.h | |
parent | 4778e0be16c291ba6d9d55eeff3a6764fc84a071 (diff) |
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>
Diffstat (limited to 'include/linux/if_team.h')
-rw-r--r-- | include/linux/if_team.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index 6960fc1841a7..e5571c420800 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h | |||
@@ -130,6 +130,7 @@ enum team_option_type { | |||
130 | TEAM_OPTION_TYPE_STRING, | 130 | TEAM_OPTION_TYPE_STRING, |
131 | TEAM_OPTION_TYPE_BINARY, | 131 | TEAM_OPTION_TYPE_BINARY, |
132 | TEAM_OPTION_TYPE_BOOL, | 132 | TEAM_OPTION_TYPE_BOOL, |
133 | TEAM_OPTION_TYPE_S32, | ||
133 | }; | 134 | }; |
134 | 135 | ||
135 | struct team_option_inst_info { | 136 | struct team_option_inst_info { |
@@ -146,6 +147,7 @@ struct team_gsetter_ctx { | |||
146 | u32 len; | 147 | u32 len; |
147 | } bin_val; | 148 | } bin_val; |
148 | bool bool_val; | 149 | bool bool_val; |
150 | s32 s32_val; | ||
149 | } data; | 151 | } data; |
150 | struct team_option_inst_info *info; | 152 | struct team_option_inst_info *info; |
151 | }; | 153 | }; |