Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/ipf/netinet Update comments to match previo...



details:   https://anonhg.NetBSD.org/src/rev/0b377b8bd18f
branches:  trunk
changeset: 340852:0b377b8bd18f
user:      prlw1 <prlw1%NetBSD.org@localhost>
date:      Tue Oct 06 10:21:08 2015 +0000

description:
Update comments to match previous change (avoid panic in SIOCGNATL)

diffstat:

 sys/external/bsd/ipf/netinet/ip_nat.c  |  9 +++++----
 sys/external/bsd/ipf/netinet/ip_nat6.c |  7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 009798b83814 -r 0b377b8bd18f sys/external/bsd/ipf/netinet/ip_nat.c
--- a/sys/external/bsd/ipf/netinet/ip_nat.c     Tue Oct 06 09:44:31 2015 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_nat.c     Tue Oct 06 10:21:08 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_nat.c,v 1.14 2015/08/07 17:31:12 prlw1 Exp $        */
+/*     $NetBSD: ip_nat.c,v 1.15 2015/10/06 10:21:08 prlw1 Exp $        */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -113,7 +113,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.14 2015/08/07 17:31:12 prlw1 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.15 2015/10/06 10:21:08 prlw1 Exp $");
 #else
 static const char sccsid[] = "@(#)ip_nat.c     1.11 6/5/96 (C) 1995 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_nat.c,v 1.1.1.2 2012/07/22 13:45:27 darrenr Exp";
@@ -4558,8 +4558,9 @@
 /* Function:    ipf_nat_lookupredir                                         */
 /* Returns:     nat_t* - NULL == no match,                                  */
 /*                       else pointer to matching NAT entry                 */
-/* Parameters:  np(I) - pointer to description of packet to find NAT table  */
-/*                      entry for.                                          */
+/* Parameters:  softc(I) - pointer to soft context main structure           */
+/*              np(I)    - pointer to description of packet to find NAT     */
+/*                         table entry for.                                 */
 /*                                                                          */
 /* Lookup the NAT tables to search for a matching redirect                  */
 /* The contents of natlookup_t should imitate those found in a packet that  */
diff -r 009798b83814 -r 0b377b8bd18f sys/external/bsd/ipf/netinet/ip_nat6.c
--- a/sys/external/bsd/ipf/netinet/ip_nat6.c    Tue Oct 06 09:44:31 2015 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_nat6.c    Tue Oct 06 10:21:08 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_nat6.c,v 1.8 2015/08/07 17:31:12 prlw1 Exp $        */
+/*     $NetBSD: ip_nat6.c,v 1.9 2015/10/06 10:21:08 prlw1 Exp $        */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -2398,8 +2398,9 @@
 /* Function:    ipf_nat6_lookupredir                                        */
 /* Returns:     nat6_t* - NULL == no match,                                 */
 /*                       else pointer to matching NAT entry                 */
-/* Parameters:  np(I) - pointer to description of packet to find NAT table  */
-/*                      entry for.                                          */
+/* Parameters:  softc(I) - pointer to soft context main structure           */
+/*              np(I)    - pointer to description of packet to find NAT     */
+/*                         table entry for.                                 */
 /*                                                                          */
 /* Lookup the NAT tables to search for a matching redirect                  */
 /* The contents of natlookup_t should imitate those found in a packet that  */



Home | Main Index | Thread Index | Old Index