Lines Matching refs:nat_ref
1956 if (nat->nat_ref > 1) {
1957 nat->nat_ref--;
1961 return (nat->nat_ref);
1965 nat->nat_ref = 0;
2800 nat->nat_ref = 1;
5168 /* IF nat_ref == 1 when this function is called, then we have an orphan nat */
5169 /* structure *because* it only gets called on paths _after_ nat_ref has been*/
5170 /* incremented. If nat_ref == 1 then we shouldn't decrement it here */
5171 /* because nat_delete() will do that and send nat_ref to -1. */
5186 if (nat->nat_ref > 1) {
5187 nat->nat_ref--;
5577 nextnat->nat_ref++;