Searched refs:prefixlen (Results 1 - 5 of 5) sorted by relevance
/system/core/include/netutils/ |
H A D | ifc.h | 46 int prefixlen); 48 int prefixlen);
|
/system/netd/server/ |
H A D | NetdConstants.h | 41 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen);
|
H A D | NetdConstants.cpp | 177 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen) { argument 178 if (!prefix || !family || !address || !prefixlen) { 195 *prefixlen = templen; 217 if (*prefixlen > 32) { 226 if (*prefixlen > 128) {
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 253 int prefixlen) { 309 req.r.ifa_prefixlen = prefixlen; 342 int ifc_add_address(const char *name, const char *address, int prefixlen) { argument 343 return ifc_act_on_address(RTM_NEWADDR, name, address, prefixlen); 346 int ifc_del_address(const char *name, const char * address, int prefixlen) { argument 347 return ifc_act_on_address(RTM_DELADDR, name, address, prefixlen); 355 unsigned int prefixlen; local 366 rawaddrstr, &prefixlen, ifname) == 3) { 387 ret = ifc_del_address(ifname, addrstr, prefixlen); 389 ALOGE("Deleting address %s/%d on %s: %s", addrstr, prefixlen, ifnam 252 ifc_act_on_address(int action, const char *name, const char *address, int prefixlen) argument [all...] |
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 520 /* If the string between 'str' and 'end' begins with 'prefixlen' characters 521 * from the 'prefix' array, then return 'str + prefixlen', otherwise return 525 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) argument 527 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 528 return str + prefixlen;
|
Completed in 56 milliseconds