Searched refs:etherf (Results 1 – 1 of 1) sorted by relevance
49 static FILE *etherf = NULL; variable57 if (etherf == NULL) in setethertypeent()58 etherf = fopen(XT_PATH_ETHERTYPES, "r"); in setethertypeent()60 rewind(etherf); in setethertypeent()66 if (etherf) { in endethertypeent()67 fclose(etherf); in endethertypeent()68 etherf = NULL; in endethertypeent()80 if (etherf == NULL in getethertypeent()81 && (etherf = fopen(XT_PATH_ETHERTYPES, "r")) == NULL) { in getethertypeent()86 if ((e = fgets(line, BUFSIZ, etherf)) == NULL) { in getethertypeent()