Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf npf_conn_conkey: fix a comment.



details:   https://anonhg.NetBSD.org/src/rev/ea49cb07a83c
branches:  trunk
changeset: 330993:ea49cb07a83c
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sat Jul 26 16:42:03 2014 +0000

description:
npf_conn_conkey: fix a comment.

diffstat:

 sys/net/npf/npf_conn.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 394615583410 -r ea49cb07a83c sys/net/npf/npf_conn.c
--- a/sys/net/npf/npf_conn.c    Sat Jul 26 14:27:40 2014 +0000
+++ b/sys/net/npf/npf_conn.c    Sat Jul 26 16:42:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_conn.c,v 1.8 2014/07/25 23:21:46 rmind Exp $       */
+/*     $NetBSD: npf_conn.c,v 1.9 2014/07/26 16:42:03 rmind Exp $       */
 
 /*-
  * Copyright (c) 2014 Mindaugas Rasiukevicius <rmind at netbsd org>
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.8 2014/07/25 23:21:46 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.9 2014/07/26 16:42:03 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -297,9 +297,9 @@
        /*
         * Construct a key formed out of 32-bit integers.  The key layout:
         *
-        * Field: | proto |  alen | src-id | dst-id | src-addr | dst-addr |
-        *        +-------+-------+--------+--------+----------+----------+
-        * Bits:  |   8   |   8   |   16   |   16   |  32-128  |  32-128  |
+        * Field: | proto  |  alen  | src-id | dst-id | src-addr | dst-addr |
+        *        +--------+--------+--------+--------+----------+----------+
+        * Bits:  |   16   |   16   |   16   |   16   |  32-128  |  32-128  |
         *
         * The source and destination are inverted if they key is for the
         * backwards stream (forw == false).  The address length depends



Home | Main Index | Thread Index | Old Index