The function ba_get_interface_config() is passed the following argument:
|
interface |
Pointer to a character string that contains the name of the managed interface. For example, le0, hme0. |
Structures of type ba_interface_t are defined as follows:
typedef struct {
ba_name_t name_suffix;
uint_t activate;
uint_t rate;
} ba_interface_t;
Where suffix is either in to indicate that the interface handles incoming traffic, or out to indicate that it handles outgoing traffic.