Lines Matching refs:ifname
49 #define DSCP_CONFIGFILE "/var/run/dscp.ifname"
249 char ifname[LIFNAMSIZ];
261 if (get_ifname(ifname) != 0) {
276 (void) strncpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
295 (void) strncpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
359 get_ifname(char *ifname)
373 (void) memset(ifname, 0, LIFNAMSIZ);
395 i = read(fd, &ifname[count], size - count);
414 if (isalnum(ifname[i]) != 0) {
427 if (isalnum(ifname[i]) == 0) {
438 (void) memmove(ifname, &ifname[begin], len);
443 (void) memset(&ifname[len], 0, size - len);