Searched refs:IFNAMSIZ (Results 1 - 8 of 8) sorted by relevance
/system/netd/ |
H A D | SecondaryTableController.h | 24 #ifndef IFNAMSIZ 25 #define IFNAMSIZ 16 macro 48 char mInterfaceTable[INTERFACES_TRACKED][IFNAMSIZ + 1];
|
H A D | SecondaryTableController.cpp | 56 if (strncmp(iface, mInterfaceTable[i], IFNAMSIZ + 1) == 0) { 74 strncpy(mInterfaceTable[tableIndex], iface, IFNAMSIZ); 76 mInterfaceTable[tableIndex][IFNAMSIZ] = 0;
|
H A D | NatController.cpp | 91 if (strlen(iface) > IFNAMSIZ) return false;
|
/system/core/toolbox/ |
H A D | ifconfig.c | 75 strncpy(ifr.ifr_name, argv[0], IFNAMSIZ); 76 ifr.ifr_name[IFNAMSIZ-1] = 0;
|
H A D | iftop.c | 55 char name[IFNAMSIZ]; 143 ret = sscanf(p, "%" STR(IFNAMSIZ) "s", ifs->name);
|
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 102 char buffer[16 + IFNAMSIZ];
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 163 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 D | builtins.c | 173 strlcpy(ifr.ifr_name, interface, IFNAMSIZ);
|
Completed in 184 milliseconds