Lines Matching refs:ipn
151 nat_save_t ipn; in changenatif() local
162 nat = &ipn.ipn_nat; in changenatif()
173 for (pos = 0; read(fd, &ipn, sizeof(ipn)) == sizeof(ipn); ) { in changenatif()
188 if (write(fd, &ipn, sizeof(ipn)) != sizeof(ipn)) { in changenatif()
536 nat_save_t ipn, *in, *ipnhead = NULL, *in1, *ipntail = NULL; in readnat() local
558 bzero((char *)&ipn, sizeof(ipn)); in readnat()
564 i = read(nfd, &ipn, sizeof(ipn)); in readnat()
571 if (i != sizeof(ipn)) { in readnat()
573 i, (int)sizeof(ipn)); in readnat()
577 in = (nat_save_t *)malloc(ipn.ipn_dsize); in readnat()
583 if (ipn.ipn_dsize > sizeof(ipn)) { in readnat()
584 n = ipn.ipn_dsize - sizeof(ipn); in readnat()
598 bcopy((char *)&ipn, (char *)in, sizeof(ipn)); in readnat()