Home
last modified time | relevance | path

Searched refs:netconfigp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libnsl/netselect/
H A Dnetselect.c327 struct netconfig *netconfigp; /* holds the new netconfig structure */ in fgetnetconfig() local
354 if ((netconfigp = calloc(1, sizeof (struct netconfig))) == NULL) { in fgetnetconfig()
361 netconfigp->nc_netid = entnetid; in fgetnetconfig()
363 ((netconfigp->nc_semantics = in fgetnetconfig()
366 ((netconfigp->nc_flag = getflag(tok2)) == FAILURE) || in fgetnetconfig()
367 ((netconfigp->nc_protofmly = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
368 ((netconfigp->nc_proto = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
369 ((netconfigp->nc_device = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
371 (((netconfigp->nc_nlookups = getnlookups(tok3)) != 0) && in fgetnetconfig()
372 ((netconfigp->nc_lookups = getlookups(tok3)) == NULL))) { in fgetnetconfig()
[all …]
/titanic_41/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c85 _netdir_getbyname(struct netconfig *netconfigp, in _netdir_getbyname() argument
101 if (searchhost(netconfigp, nd_hostservp->h_host, FIELD2, in _netdir_getbyname()
123 if (searchserv(netconfigp, nd_hostservp->h_serv, FIELD1, in _netdir_getbyname()
173 _netdir_getbyaddr(struct netconfig *netconfigp, struct netbuf *netbufp) in _netdir_getbyaddr() argument
203 nhost = searchhost(netconfigp, hostname, FIELD1, hostbuf); in _netdir_getbyaddr()
221 if (searchserv(netconfigp, servname, FIELD2, servbuf) == 0) { in _netdir_getbyaddr()
222 serv = _taddr2uaddr(netconfigp, netbufp); in _netdir_getbyaddr()
281 _taddr2uaddr(struct netconfig *netconfigp, struct netbuf *netbufp) in _taddr2uaddr() argument
326 _uaddr2taddr(struct netconfig *netconfigp, char *uaddr) in _uaddr2taddr() argument
377 _netdir_options(struct netconfig *netconfigp, int option, int fd, void *par) in _netdir_options() argument
[all …]