RDK Documentation (Open Sourced RDK Components)
connectivity.h
1
#ifndef CONNECTIVITY_H_
2
#define CONNECTIVITY_H_
3
4
#include <vector>
5
#include <string>
6
7
/*
8
* returns connectivity test endpoints as a vector of strings
9
* endpoints are read from the file /opt/persistent/connectivity_test_endpoints
10
* - this file must list endpoints separated by whitespace or newline
11
* - if this file is empty or has only spaces/tabs, defaults will be populated
12
*/
13
int
get_connectivity_test_endpoints(std::vector<std::string>& endpoints);
14
15
bool
set_connectivity_test_endpoints(
const
std::vector<std::string>& endpoints);
16
17
bool
test_connectivity(
long
timeout_ms);
18
19
#endif
/* CONNECTIVITY_H_ */
components
generic
netsrvmgr
src
main
include
connectivity.h
Generated on Thu Feb 9 2023 06:32:33 for RDK Documentation (Open Sourced RDK Components) by
1.8.17