nat_t *nat_lookupinip(ipaddr, sport) struct in_addr ipaddr; u_short sport;
nat_lookupinip(ipaddr, sport) struct in_addr ipaddr; u_short sport;
nat_t *nat_lookupinip(ipaddr, sport)struct in_addr ipaddr;u_short sport;{	nat_t *nat;	nat = nat_table[0][ipaddr.s_addr % NAT_SIZE];	for (; nat; nat = nat->nat_next)		if (nat->nat_inip.s_addr == ipaddr.s_addr) {			if (nat->nat_inport && (sport != nat->nat_inport))				continue;			return nat;		}	return NULL;}