Lines Matching refs:nnp
500 register struct netconfig *nnp; local
503 nnp = (struct netconfig *)malloc(sizeof (struct netconfig));
504 if (nnp) {
505 nnp->nc_netid = strdup(onp->nc_netid);
506 nnp->nc_semantics = onp->nc_semantics;
507 nnp->nc_flag = onp->nc_flag;
508 nnp->nc_protofmly = strdup(onp->nc_protofmly);
509 nnp->nc_proto = strdup(onp->nc_proto);
510 nnp->nc_device = strdup(onp->nc_device);
511 nnp->nc_nlookups = onp->nc_nlookups;
513 nnp->nc_lookups = (char **)0;
517 nnp->nc_lookups = (char **)malloc(onp->nc_nlookups *
519 if (nnp->nc_lookups)
521 nnp->nc_lookups[i] =
526 return (nnp);