Home
last modified time | relevance | path

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

/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DPrefixParser.cpp120 bool PrefixParser::add(vector<string> in, IP_FAM famHint) { in add() argument
125 if (!add(in[i], famHint)) in add()
131 bool PrefixParser::add(string in, IP_FAM famHint) { in add() argument
137 if (famHint == IP_FAM::INVALID) in add()
138 famHint = guessIPFamily(in); in add()
148 int mask = parseSubnetMask(subnet, famHint); in add()
149 if (!isMaskValid(mask, famHint)) { in add()
154 Prefix pre = makeBlankPrefix(famHint); in add()
156 if (famHint == IP_FAM::V4) { in add()
166 if (famHint == IP_FAM::V4 && !populateV4Mask(mask, pre)) { in add()
[all …]