Skip to content

Commit

Permalink
- s/natpt_openIncomingV4Rule()/natpt_openTemporaryRule()/
Browse files Browse the repository at this point in the history
  • Loading branch information
fujisawa committed Dec 6, 2002
1 parent 299bbe1 commit 068051a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions kame/sys/netinet6/natpt_rule.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: natpt_rule.c,v 1.56 2002/12/02 13:59:29 fujisawa Exp $ */
/* $KAME: natpt_rule.c,v 1.57 2002/12/06 04:41:44 fujisawa Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 and 2001 WIDE Project.
Expand Down Expand Up @@ -405,7 +405,7 @@ natpt_setRules(caddr_t addr)


int
natpt_openIncomingV4Rule(int proto, struct pAddr *local, struct pAddr *remote)
natpt_openTemporaryRule(int proto, struct pAddr *local, struct pAddr *remote)
{
struct cSlot *cst;

Expand Down
6 changes: 3 additions & 3 deletions kame/sys/netinet6/natpt_trans.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: natpt_trans.c,v 1.153 2002/12/04 05:00:32 fujisawa Exp $ */
/* $KAME: natpt_trans.c,v 1.154 2002/12/06 04:41:44 fujisawa Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 and 2001 WIDE Project.
Expand Down Expand Up @@ -2252,7 +2252,7 @@ natpt_translateFTP6CommandTo4(struct pcv *cv4)
if (natpt_openIncomingV4Conn(IPPROTO_TCP, &remote, &local) == NULL)
return (0);
#else
if (natpt_openIncomingV4Rule(IPPROTO_TCP, &remote, &local) == 0)
if (natpt_openTemporaryRule(IPPROTO_TCP, &remote, &local) == 0)
return (0);
#endif

Expand Down Expand Up @@ -2381,7 +2381,7 @@ natpt_translateFTP4ReplyTo6(struct pcv *cv6)
remote.addr[0] = ats->local.addr[1]; /* 0: v4 client address */
/* 1: v4 server address */

if (natpt_openIncomingV4Rule(IPPROTO_TCP, &local, &remote) == 0)
if (natpt_openTemporaryRule(IPPROTO_TCP, &local, &remote) == 0)
return (0);

wp = Wow;
Expand Down
4 changes: 2 additions & 2 deletions kame/sys/netinet6/natpt_var.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: natpt_var.h,v 1.36 2002/08/21 23:34:37 fujisawa Exp $ */
/* $KAME: natpt_var.h,v 1.37 2002/12/06 04:41:44 fujisawa Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 and 2001 WIDE Project.
Expand Down Expand Up @@ -74,7 +74,7 @@ struct cSlot *natpt_lookForRule6 __P((struct pcv *));
struct sockaddr_in *natpt_reverseLookForRule6 __P((struct sockaddr_in6 *sin6));
struct cSlot *natpt_lookForRule4 __P((struct pcv *));
int natpt_setRules __P((caddr_t));
int natpt_openIncomingV4Rule __P((int, struct pAddr *, struct pAddr *));
int natpt_openTemporaryRule __P((int, struct pAddr *, struct pAddr *));
int natpt_prependRule __P((struct cSlot *));
int natpt_renumRules __P((caddr_t));
int natpt_rmRules __P((caddr_t));
Expand Down

0 comments on commit 068051a

Please sign in to comment.