Home
last modified time | relevance | path

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

/packages/modules/Connectivity/netbpfload/
Dloader.cpp402 size_t sizeOfBpfProgDef) { in readProgDefs() argument
407 if (pdData.size() % sizeOfBpfProgDef) { in readProgDefs()
409 pdData.size(), sizeOfBpfProgDef); in readProgDefs()
413 int progCount = pdData.size() / sizeOfBpfProgDef; in readProgDefs()
415 size_t trimmedSize = std::min(sizeOfBpfProgDef, sizeof(struct bpf_prog_def)); in readProgDefs()
426 dataPtr += sizeOfBpfProgDef; in readProgDefs()
477 static int readCodeSections(ifstream& elfFile, vector<codeSection>& cs, size_t sizeOfBpfProgDef) { in readCodeSections() argument
486 ret = readProgDefs(elfFile, pd, sizeOfBpfProgDef); in readCodeSections()
1131 size_t sizeOfBpfProgDef = in loadProg() local
1170 if (sizeOfBpfProgDef < DEFAULT_SIZEOF_BPF_PROG_DEF) { in loadProg()
[all …]