Home
last modified time | relevance | path

Searched refs:readSectionUint (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/native/src/
DBpfCompatTest.cpp34 EXPECT_EQ(mapSz, readSectionUint("size_of_bpf_map_def", elfFile, 0)); in doBpfStructSizeTest()
35 EXPECT_EQ(progSz, readSectionUint("size_of_bpf_prog_def", elfFile, 0)); in doBpfStructSizeTest()
/packages/modules/Connectivity/netbpfload/
Dloader.cpp310 unsigned int readSectionUint(const char* name, ifstream& elfFile, unsigned int defVal) { in readSectionUint() function
1122 readSectionUint("bpfloader_min_ver", elfFile, DEFAULT_BPFLOADER_MIN_VER); in loadProg()
1124 readSectionUint("bpfloader_max_ver", elfFile, DEFAULT_BPFLOADER_MAX_VER); in loadProg()
1126 readSectionUint("bpfloader_min_required_ver", elfFile, 0); in loadProg()
1128 readSectionUint("netbpfload_min_ver", elfFile, 0); in loadProg()
1130 readSectionUint("size_of_bpf_map_def", elfFile, DEFAULT_SIZEOF_BPF_MAP_DEF); in loadProg()
1132 readSectionUint("size_of_bpf_prog_def", elfFile, DEFAULT_SIZEOF_BPF_PROG_DEF); in loadProg()
Dloader.h77 unsigned int readSectionUint(const char* name, std::ifstream& elfFile, unsigned int defVal);