Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c1383 long nnet; in irp_unmarshall_nw() local
1438 nnet = 0; in irp_unmarshall_nw()
1439 bits = inet_net_pton(naddrtype, tmpbuf, &nnet, sizeof nnet); in irp_unmarshall_nw()
1450 ne->n_addr = malloc(sizeof nnet); in irp_unmarshall_nw()
1455 memcpy(ne->n_addr, &nnet, sizeof nnet); in irp_unmarshall_nw()
1557 long nnet; in irp_unmarshall_ne() local
1612 bits = inet_net_pton(naddrtype, tmpbuf, &nnet, sizeof nnet); in irp_unmarshall_ne()
1616 nnet = ntohl(nnet); in irp_unmarshall_ne()
1621 ne->n_net = nnet; in irp_unmarshall_ne()
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c2603 int nnet, naddr, err = 0, j; in add_net_for_linkid() local
2614 nnet = 0; /* number of net resources */ in add_net_for_linkid()
2618 nnet++; in add_net_for_linkid()
2621 zlen = nnet * (INET6_ADDRSTRLEN + 1); in add_net_for_linkid()
2622 astr = calloc(1, nnet * sizeof (uintptr_t)); in add_net_for_linkid()
2695 assert(naddr <= nnet); in add_net_for_linkid()
2765 routes = calloc(1, nnet * sizeof (*routes)); in add_net_for_linkid()
2793 assert(j <= nnet); in add_net_for_linkid()