Searched refs:MAX_IFACE_LEN (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/mpstat/
H A Drd_stats.h25 #define MAX_IFACE_LEN IFNAMSIZ macro
228 char interface[MAX_IFACE_LEN] __attribute__ ((aligned (8)));
244 char interface[MAX_IFACE_LEN] __attribute__ ((aligned (8)));
H A Drd_stats.c692 char iface[MAX_IFACE_LEN];
704 strncpy(iface, line, MINIMUM(pos, MAX_IFACE_LEN - 1));
705 iface[MINIMUM(pos, MAX_IFACE_LEN - 1)] = '\0';
740 char iface[MAX_IFACE_LEN];
752 strncpy(iface, line, MINIMUM(pos, MAX_IFACE_LEN - 1));
753 iface[MINIMUM(pos, MAX_IFACE_LEN - 1)] = '\0';

Completed in 116 milliseconds