Searched refs:famHint (Results 1 – 1 of 1) sorted by relevance
120 bool PrefixParser::add(vector<string> in, IP_FAM famHint) { in add() argument125 if (!add(in[i], famHint)) in add()131 bool PrefixParser::add(string in, IP_FAM famHint) { in add() argument137 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 …]