Lines Matching refs:addr
141 string addr; in add() local
143 if (!splitIntoAddrAndMask(in, addr, subnet)) { in add()
157 if (!parseV4Addr(addr, pre)) { in add()
158 mLastErr = "Failed to parse V4 Address(" + addr + ")"; in add()
161 } else if (!parseV6Addr(addr, pre)) { in add()
162 mLastErr = "Failed to parse V6 Address(" + addr + ")"; in add()
168 + ", " + addr + ")"; in add()
172 + ", " + addr + ")"; in add()
207 bool PrefixParser::splitIntoAddrAndMask(string in, string &addr, string &mask) { in splitIntoAddrAndMask() argument
212 addr = in.substr(0, pos); in splitIntoAddrAndMask()
215 addr = in; in splitIntoAddrAndMask()