Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Fix comment, M_LOOP is not used for sta...
details: https://anonhg.NetBSD.org/src/rev/c89d3bf5e171
branches: trunk
changeset: 318687:c89d3bf5e171
user: maxv <maxv%NetBSD.org@localhost>
date: Thu May 03 08:14:29 2018 +0000
description:
Fix comment, M_LOOP is not used for statistics, it's mostly used to avoid
recomputing the checksum when the packet is received on loopback.
diffstat:
sys/sys/mbuf.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r af39d6c03bad -r c89d3bf5e171 sys/sys/mbuf.h
--- a/sys/sys/mbuf.h Thu May 03 07:46:17 2018 +0000
+++ b/sys/sys/mbuf.h Thu May 03 08:14:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbuf.h,v 1.202 2018/05/03 07:25:49 maxv Exp $ */
+/* $NetBSD: mbuf.h,v 1.203 2018/05/03 08:14:29 maxv Exp $ */
/*
* Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
@@ -345,7 +345,7 @@
/* mbuf pkthdr flags, also in m_flags */
#define M_AUTHIPHDR 0x00000010 /* authenticated (IPsec) */
#define M_DECRYPTED 0x00000020 /* decrypted (IPsec) */
-#define M_LOOP 0x00000040 /* for Mbuf statistics */
+#define M_LOOP 0x00000040 /* received on loopback */
#define M_BCAST 0x00000100 /* send/received as L2 broadcast */
#define M_MCAST 0x00000200 /* send/received as L2 multicast */
#define M_CANFASTFWD 0x00000400 /* packet can be fast-forwarded */
Home |
Main Index |
Thread Index |
Old Index