RDK-B
|
For CCSP Component: VLAN_Provisioning_and_management. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | _vlan_vlanidconfiguration |
Macros | |
#define | ULONG unsigned long |
#define | BOOL unsigned char |
#define | CHAR char |
#define | UCHAR unsigned char |
#define | INT int |
#define | UINT unsigned int |
#define | TRUE 1 |
#define | FALSE 0 |
#define | ENABLE 1 |
#define | RETURN_OK 0 |
#define | RETURN_ERR -1 |
#define | VLAN_HAL_MAJOR_VERSION 1 |
#define | VLAN_HAL_MINOR_VERSION 0 |
#define | VLAN_HAL_MAINTENANCE_VERSION 1 |
#define | VLAN_HAL_MAX_VLANGROUP_TEXT_LENGTH 32 |
#define | VLAN_HAL_MAX_VLANID_TEXT_LENGTH 32 |
#define | VLAN_HAL_MAX_INTERFACE_NAME_TEXT_LENGTH 32 |
#define | VLAN_HAL_MAX_LINE_BUFFER_LENGTH 120 |
Typedefs | |
typedef struct _vlan_vlanidconfiguration | vlan_vlanidconfiguration_t |
Functions | |
int | vlan_hal_addGroup (const char *groupName, const char *default_vlanID) |
int | vlan_hal_delGroup (const char *groupName) |
int | vlan_hal_addInterface (const char *groupName, const char *ifName, const char *vlanID) |
int | vlan_hal_delInterface (const char *groupName, const char *ifName, const char *vlanID) |
int | vlan_hal_printGroup (const char *groupName) |
int | vlan_hal_printAllGroup () |
int | vlan_hal_delete_all_Interfaces (const char *groupName) |
int | _is_this_group_available_in_linux_bridge (char *br_name) |
int | _is_this_interface_available_in_linux_bridge (char *if_name, char *vlanID) |
int | _is_this_interface_available_in_given_linux_bridge (char *if_name, char *br_name, char *vlanID) |
void | _get_shell_outputbuffer (char *cmd, char *out, int len) |
int | insert_VLAN_ConfigEntry (char *groupName, char *vlanID) |
int | delete_VLAN_ConfigEntry (char *groupName) |
int | get_vlanId_for_GroupName (const char *groupName, char *vlanID) |
int | print_all_vlanId_Configuration (void) |
For CCSP Component: VLAN_Provisioning_and_management.
Definition in file vlan_hal.h.
#define ULONG unsigned long |
Definition at line 66 of file vlan_hal.h.
#define BOOL unsigned char |
Definition at line 70 of file vlan_hal.h.
#define CHAR char |
Definition at line 74 of file vlan_hal.h.
#define UCHAR unsigned char |
Definition at line 78 of file vlan_hal.h.
#define INT int |
Definition at line 82 of file vlan_hal.h.
#define UINT unsigned int |
Definition at line 86 of file vlan_hal.h.
#define TRUE 1 |
Definition at line 90 of file vlan_hal.h.
#define FALSE 0 |
Definition at line 94 of file vlan_hal.h.
#define ENABLE 1 |
Definition at line 98 of file vlan_hal.h.
#define RETURN_OK 0 |
Definition at line 102 of file vlan_hal.h.
#define RETURN_ERR -1 |
Definition at line 106 of file vlan_hal.h.