|
libteam 1.32
|
Functions | |
| TEAM_EXPORT struct team_option * | team_get_option (struct team_handle *th, const char *fmt,...) |
| TEAM_EXPORT struct team_option * | team_get_next_option (struct team_handle *th, struct team_option *option) |
| TEAM_EXPORT bool | team_is_option_initialized (struct team_option *option) |
| TEAM_EXPORT char * | team_get_option_name (struct team_option *option) |
| TEAM_EXPORT uint32_t | team_get_option_port_ifindex (struct team_option *option) |
| TEAM_EXPORT bool | team_is_option_per_port (struct team_option *option) |
| TEAM_EXPORT uint32_t | team_get_option_array_index (struct team_option *option) |
| TEAM_EXPORT bool | team_is_option_array (struct team_option *option) |
| TEAM_EXPORT enum team_option_type | team_get_option_type (struct team_option *option) |
| TEAM_EXPORT bool | team_is_option_changed (struct team_option *option) |
| TEAM_EXPORT bool | team_is_option_changed_locally (struct team_option *option) |
| TEAM_EXPORT unsigned int | team_get_option_value_len (struct team_option *option) |
| TEAM_EXPORT uint32_t | team_get_option_value_u32 (struct team_option *option) |
| TEAM_EXPORT char * | team_get_option_value_string (struct team_option *option) |
| TEAM_EXPORT void * | team_get_option_value_binary (struct team_option *option) |
| TEAM_EXPORT bool | team_get_option_value_bool (struct team_option *option) |
| TEAM_EXPORT int32_t | team_get_option_value_s32 (struct team_option *option) |
| TEAM_EXPORT int | team_set_option_value_u32 (struct team_handle *th, struct team_option *option, uint32_t val) |
| TEAM_EXPORT int | team_set_option_value_string (struct team_handle *th, struct team_option *option, const char *str) |
| TEAM_EXPORT int | team_set_option_value_binary (struct team_handle *th, struct team_option *option, const void *data, unsigned int data_len) |
| TEAM_EXPORT int | team_set_option_value_bool (struct team_handle *th, struct team_option *option, bool val) |
| TEAM_EXPORT int | team_set_option_value_s32 (struct team_handle *th, struct team_option *option, int32_t val) |
| TEAM_EXPORT struct team_option * team_get_next_option | ( | struct team_handle * | th, |
| struct team_option * | option ) |
| th | libteam library context |
| Team options functions | option structure |
Get next option in list.
| TEAM_EXPORT struct team_option * team_get_option | ( | struct team_handle * | th, |
| const char * | fmt, | ||
| ... ) |
| th | libteam library context |
| fmt | format string |
Get option structure referred by format string.
| TEAM_EXPORT uint32_t team_get_option_array_index | ( | struct team_option * | option | ) |
| TEAM_EXPORT char * team_get_option_name | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option name.
| TEAM_EXPORT uint32_t team_get_option_port_ifindex | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option port ifindex.
| TEAM_EXPORT enum team_option_type team_get_option_type | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option type.
| TEAM_EXPORT void * team_get_option_value_binary | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option value as void pointer.
| TEAM_EXPORT bool team_get_option_value_bool | ( | struct team_option * | option | ) |
| TEAM_EXPORT unsigned int team_get_option_value_len | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option value length.
| TEAM_EXPORT int32_t team_get_option_value_s32 | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option value as signed 32-bit number.
| TEAM_EXPORT char * team_get_option_value_string | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option value as string.
| TEAM_EXPORT uint32_t team_get_option_value_u32 | ( | struct team_option * | option | ) |
| Team options functions | option structure |
Get option value as unsigned 32-bit number.
| TEAM_EXPORT bool team_is_option_array | ( | struct team_option * | option | ) |
| Team options functions | option structure |
See if option is array.
| TEAM_EXPORT bool team_is_option_changed | ( | struct team_option * | option | ) |
| Team options functions | option structure |
See if option values got changed.
| TEAM_EXPORT bool team_is_option_changed_locally | ( | struct team_option * | option | ) |
| Team options functions | option structure |
See if option values got changed locally.
| TEAM_EXPORT bool team_is_option_initialized | ( | struct team_option * | option | ) |
| Team options functions | option structure |
See if option values are initialized.
| TEAM_EXPORT bool team_is_option_per_port | ( | struct team_option * | option | ) |
| Team options functions | option structure |
See if option is per-port.
| TEAM_EXPORT int team_set_option_value_binary | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| const void * | data, | ||
| unsigned int | data_len ) |
| th | libteam library context |
| Team options functions | option structure |
| data | binary data to be set |
| data_len | binary data length |
Set binary type option.
| TEAM_EXPORT int team_set_option_value_bool | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| bool | val ) |
| th | libteam library context |
| Team options functions | option structure |
| val | value to be set |
Set bool type option.
| TEAM_EXPORT int team_set_option_value_s32 | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| int32_t | val ) |
| th | libteam library context |
| Team options functions | option structure |
| val | value to be set |
Set 32-bit signed number type option.
| TEAM_EXPORT int team_set_option_value_string | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| const char * | str ) |
| th | libteam library context |
| Team options functions | option structure |
| str | string to be set |
Set string type option.
| TEAM_EXPORT int team_set_option_value_u32 | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| uint32_t | val ) |
| th | libteam library context |
| Team options functions | option structure |
| val | value to be set |
Set 32-bit number type option.