Home
last modified time | relevance | path

Searched refs:ipn_dsize (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/ipf/tools/
H A Dipfs.c610 in = (nat_save_t *)malloc(ipn.ipn_dsize);
614 if (ipn.ipn_dsize > sizeof(ipn)) {
615 n = ipn.ipn_dsize - sizeof(ipn);
678 obj.ipfo_size = in->ipn_dsize;
753 ipnp->ipn_dsize = ng.ng_sz;
766 ipnp->ipn_next, ipnp->ipn_dsize, ng.ng_sz);
767 if (write(nfd, ipnp, ipnp->ipn_dsize) != ipnp->ipn_dsize) {
/titanic_44/usr/src/uts/common/inet/ipf/
H A Dip_compat.c188 int ipn_dsize; member
251 nsp->ipn_dsize = nsc.ipn_dsize;
H A Dip_nat.c1271 if ((ipns.ipn_dsize < sizeof(ipns)) || (ipns.ipn_dsize > 81920))
1274 KMALLOCS(ipn, nat_save_t *, ipns.ipn_dsize);
1278 ipn->ipn_dsize = ipns.ipn_dsize;
1329 outsize = ipn->ipn_dsize - sizeof(*ipn) + sizeof(ipn->ipn_data);
1348 error = fr_outobjsz(data, ipn, IPFOBJ_NATSAVE, ipns.ipn_dsize);
1353 KFREES(ipn, ipns.ipn_dsize);
1609 if (ipn.ipn_dsize > sizeof(ipn)) {
1610 if (ipn.ipn_dsize > 81920) {
1615 KMALLOCS(ipnn, nat_save_t *, ipn.ipn_dsize);
1619 error = fr_inobjsz(data, ipnn, IPFOBJ_NATSAVE, ipn.ipn_dsize);
[all …]
/titanic_44/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h303 int ipn_dsize; member