Searched refs:plifreq (Results 1 – 1 of 1) sorted by relevance
294 struct lifreq *plifreq; in get_first_ethernet() local343 plifreq = lifc.lifc_req; in get_first_ethernet()345 for (i = lifc.lifc_len / sizeof(struct lifreq); i > 0; i--, plifreq++) { in get_first_ethernet()347 if (strchr(plifreq->lifr_name, ':') != NULL) in get_first_ethernet()351 strncpy(lifr.lifr_name, plifreq->lifr_name, sizeof(lifr.lifr_name)); in get_first_ethernet()