RDK-B
|
Functions | |
int | updateBridgeInfo (bridgeDetails *bridgeInfo, char *ifNameToBeUpdated, int Opr, int type) |
Provides generic changes which needs to be configured after creating/updating/deleting bridge. More... | |
int | checkIfExists (char *iface_name) |
Check if interface is created. More... | |
void | removeIfaceFromList (char *str, const char *sub) |
Remove interface from the list of interfaces. More... | |
int | checkIfExistsInBridge (char *iface_name, char *bridge_name) |
Check if interface is attached to bridge. More... | |
int | HandlePreConfigVendor (bridgeDetails *bridgeInfo, int Config) |
Provides OEM/SOC specific changes which needs to be configured before creating/updating/deleting bridge. More... | |
int | HandlePostConfigVendor (bridgeDetails *bridgeInfo, int Config) |
Provides OEM/SOC specific changes which needs to be configured after creating/updating/deleting bridge. More... | |
char * | getVendorIfaces () |
Provides vendor interface information for creating/updating/deleting bridge. More... | |
int updateBridgeInfo | ( | bridgeDetails * | bridgeInfo, |
char * | ifNameToBeUpdated, | ||
int | Opr, | ||
int | type | ||
) |
Provides generic changes which needs to be configured after creating/updating/deleting bridge.
bridgeDetails | *bridgeInfo - Pointer to Bridge information structure. |
char* | ifNameToBeUpdated - Interface to be deleted and updated, applicable only during sync. |
int | Opr - Information about operations whether the request creating/updating/deleting bridge. |
int | type - Interface type, in case of sync delete value is set to unknown/other. |
0 | on success or a negative error code. |
int checkIfExists | ( | char * | iface_name | ) |
Check if interface is created.
char* | iface_name - Interface name. |
0 | on success or a negative error code. |
void removeIfaceFromList | ( | char * | str, |
const char * | sub | ||
) |
Remove interface from the list of interfaces.
char | *str - Interface which needs to be removed from list. |
const | char *sub - List of interfaces name. |
void |
int checkIfExistsInBridge | ( | char * | iface_name, |
char * | bridge_name | ||
) |
Check if interface is attached to bridge.
char* | iface_name - Interface name. |
char | *bridge_name - Bridge name. |
0 | on success or a negative error code. |
int HandlePreConfigVendor | ( | bridgeDetails * | bridgeInfo, |
int | Config | ||
) |
Provides OEM/SOC specific changes which needs to be configured before creating/updating/deleting bridge.
bridgeDetails | *bridgeInfo - Pointer to Bridge info structure. |
int | InstanceNumber - Instance number for configuration. |
0 | on success or a negative error code. |
int HandlePostConfigVendor | ( | bridgeDetails * | bridgeInfo, |
int | Config | ||
) |
Provides OEM/SOC specific changes which needs to be configured after creating/updating/deleting bridge.
bridgeDetails | *bridgeInfo - Pointer to Bridge info structure. |
int | InstanceNumber - Instance number for configuration. |
0 | on success or a negative error code. |
char* getVendorIfaces | ( | ) |
Provides vendor interface information for creating/updating/deleting bridge.
<None> |
vendor | interface or NULL. |