Searched refs:IFNAMSIZ (Results 1 - 8 of 8) sorted by relevance

/system/netd/
H A DSecondaryTableController.h24 #ifndef IFNAMSIZ
25 #define IFNAMSIZ 16 macro
48 char mInterfaceTable[INTERFACES_TRACKED][IFNAMSIZ + 1];
H A DSecondaryTableController.cpp56 if (strncmp(iface, mInterfaceTable[i], IFNAMSIZ + 1) == 0) {
74 strncpy(mInterfaceTable[tableIndex], iface, IFNAMSIZ);
76 mInterfaceTable[tableIndex][IFNAMSIZ] = 0;
H A DNatController.cpp91 if (strlen(iface) > IFNAMSIZ) return false;
/system/core/toolbox/
H A Difconfig.c75 strncpy(ifr.ifr_name, argv[0], IFNAMSIZ);
76 ifr.ifr_name[IFNAMSIZ-1] = 0;
H A Diftop.c55 char name[IFNAMSIZ];
143 ret = sscanf(p, "%" STR(IFNAMSIZ) "s", ifs->name);
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp102 char buffer[16 + IFNAMSIZ];
/system/core/libnetutils/
H A Difc_utils.c163 strncpy(ifr->ifr_name, name, IFNAMSIZ);
164 ifr->ifr_name[IFNAMSIZ - 1] = 0;
352 char ifname[64]; // Currently, IFNAMSIZ = 16.
/system/core/init/
H A Dbuiltins.c173 strlcpy(ifr.ifr_name, interface, IFNAMSIZ);

Completed in 184 milliseconds