Lines Matching refs:netconfig
58 static struct netconfig *fgetnetconfig(FILE *, char *);
59 static void netconfig_free(struct netconfig *);
62 static struct netconfig **getnetlist(void);
67 static void netlist_free(struct netconfig ***);
69 static struct netconfig *netconfig_dup(struct netconfig *);
91 static struct netconfig **netpp = NULL;
175 struct netconfig *
179 struct netconfig *retp; /* holds the return value */ in getnetconfig()
219 struct netconfig *
222 struct netconfig **tpp; in getnetconfigent()
253 freenetconfigent(struct netconfig *netp) in freenetconfigent()
265 static struct netconfig **
270 struct netconfig **listpp; /* the beginning of the netconfig list */ in getnetlist()
271 struct netconfig **tpp; /* used to traverse the netconfig list */ in getnetlist()
293 sizeof (struct netconfig *))) == NULL) { in getnetlist()
323 static struct netconfig *
327 struct netconfig *netconfigp; /* holds the new netconfig structure */ in fgetnetconfig()
354 if ((netconfigp = calloc(1, sizeof (struct netconfig))) == NULL) { in fgetnetconfig()
397 struct netconfig **curr_pp; /* scans the list from NETPATH */ in setnetpath()
398 struct netconfig **tpp; /* scans the list from netconfig file */ in setnetpath()
399 struct netconfig **rnetpp; /* the list of entries from NETPATH */ in setnetpath()
489 sizeof (struct netconfig *))) == NULL) { in setnetpath()
553 struct netconfig *
558 struct netconfig *retp; /* holds the return value */ in getnetpath()
880 netlist_free(struct netconfig ***netppp) in netlist_free()
882 struct netconfig **tpp; in netlist_free()
892 netconfig_free(struct netconfig *netconfigp) in netconfig_free()
909 static struct netconfig *
910 netconfig_dup(struct netconfig *netconfigp) in netconfig_dup()
912 struct netconfig *nconf; in netconfig_dup()
915 nconf = calloc(1, sizeof (struct netconfig)); in netconfig_dup()