|
static RouteNetworkMgr * | getInstance () |
|
static gboolean | storeRouteDetails (unsigned int messageLength) |
| This is invoked when there is a new gateway data. More...
|
|
static gboolean | checkExistingRouteValid () |
|
static gboolean | delRouteList () |
|
static gboolean | setRoute () |
|
static gboolean | sendCurrentRouteData () |
|
|
static bool | getGatewayResults (char *gatewayResults, unsigned int messageLength) |
| This function used IARM Bus call to get XUPNP device information and returns the result as a string. More...
|
|
static gboolean | init_gwydata (GwyDeviceData *gwydata) |
|
static gboolean | free_gwydata (GwyDeviceData *gwydata) |
|
static gboolean | delGatewayList () |
|
static gboolean | printGatewayList () |
|
static gboolean | parse_store_gateway_data (char *array) |
|
static gboolean | getRouteInterface (char *routeIf) |
|
static gboolean | readDevFile (char *deviceFile, char *mocaIface, char *wifiIface) |
|
static int | getipaddress (char *ifname, char *ipAddressBuffer, gboolean ipv6Enabled) |
| This function is used to get the IP address based on IPv6 or IPv4 is enabled. More...
|
|
static gboolean | checkAddRouteInfo (char *ipAddr, bool isIPv4, char *ipv6Pfix) |
|
static gboolean | addRouteToList (char *ipAddr, bool isIPv4, char *ipv6Pfix) |
|
static gboolean | checkRemoveRouteInfo (char *ipAddr, bool isIPv4) |
|
static gboolean | removeRouteFromList (routeInfo *routeInfoData) |
|
static gboolean | printExistingRouteValid () |
|
static guint | g_list_find_ip (routeInfo *gwData, gconstpointer *ip) |
|
static guint | g_list_find_gw (GwyDeviceData *gwData, gconstpointer *ip) |
|
static gboolean | getCurrentRoute (char *routeIp, gboolean *isIpv4) |
|
static IARM_Result_t | getCurrentRouteData (void *arg) |
|
|
static bool | instanceIsReady = false |
|
static RouteNetworkMgr * | instance = NULL |
|
Definition at line 48 of file routeSrvMgr.h.
◆ storeRouteDetails()
gboolean RouteNetworkMgr::storeRouteDetails |
( |
unsigned int |
messageLength | ) |
|
|
static |
This is invoked when there is a new gateway data.
- Parameters
-
[in] | messageLength | Length of buffer. |
- Returns
- None.
Definition at line 226 of file routeSrvMgr.cpp.
◆ getGatewayResults()
bool RouteNetworkMgr::getGatewayResults |
( |
char * |
gatewayResults, |
|
|
unsigned int |
messageLength |
|
) |
| |
|
staticprivate |
This function used IARM Bus call to get XUPNP device information and returns the result as a string.
- Parameters
-
[out] | gatewayResults | String to store discovery results. |
[in] | messageLength | Unsigned integer variable representing buffer length. |
- Returns
- None.
Definition at line 165 of file routeSrvMgr.cpp.
◆ getipaddress()
int RouteNetworkMgr::getipaddress |
( |
char * |
ifname, |
|
|
char * |
ipAddressBuffer, |
|
|
gboolean |
ipv6Enabled |
|
) |
| |
|
staticprivate |
This function is used to get the IP address based on IPv6 or IPv4 is enabled.
- Parameters
-
[in] | ifname | Name of the network interface. |
[out] | ipAddressBuffer | Character buffer to hold the IP address. |
[in] | ipv6Enabled | Flag to check whether IPV6 is enabled |
- Returns
- Returns an integer value '1' if successfully gets the IP address else returns '0'.
Definition at line 819 of file routeSrvMgr.cpp.
The documentation for this class was generated from the following files: