Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
src: Remove whitespaces/tabs, and one non-ASCII character.
details: https://anonhg.NetBSD.org/src/rev/0a0daa9a9e41
branches: trunk
changeset: 318056:0a0daa9a9e41
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Apr 11 08:29:19 2018 +0000
description:
Remove whitespaces/tabs, and one non-ASCII character.
diffstat:
sys/netinet/ip_flow.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 6169ddaae60b -r 0a0daa9a9e41 sys/netinet/ip_flow.c
--- a/sys/netinet/ip_flow.c Wed Apr 11 08:11:20 2018 +0000
+++ b/sys/netinet/ip_flow.c Wed Apr 11 08:29:19 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_flow.c,v 1.81 2017/11/17 07:37:12 ozaki-r Exp $ */
+/* $NetBSD: ip_flow.c,v 1.82 2018/04/11 08:29:19 maxv Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_flow.c,v 1.81 2017/11/17 07:37:12 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_flow.c,v 1.82 2018/04/11 08:29:19 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -64,7 +64,7 @@
/*
* Similar code is very well commented in netinet6/ip6_flow.c
- */
+ */
#define IPFLOW_HASHBITS 6 /* should not be a multiple of 8 */
@@ -113,7 +113,7 @@
static struct workqueue *ipflow_slowtimo_wq;
static struct work ipflow_slowtimo_wk;
-static size_t
+static size_t
ipflow_hash(const struct ip *ip)
{
size_t hash = ip->ip_tos;
@@ -364,7 +364,7 @@
mutex_exit(&ipflow_lock);
return ret;
}
-
+
static void
ipflow_addstats(struct ipflow *ipf)
{
@@ -376,7 +376,7 @@
rt->rt_use += ipf->ipf_uses;
rtcache_unref(rt, &ipf->ipf_ro);
}
-
+
ips = IP_STAT_GETREF();
ips[IP_STAT_CANTFORWARD] += ipf->ipf_errors + ipf->ipf_dropped;
ips[IP_STAT_TOTAL] += ipf->ipf_uses;
@@ -646,7 +646,7 @@
} else {
/*
* EINVAL if not a power of 2
- */
+ */
error = EINVAL;
}
Home |
Main Index |
Thread Index |
Old Index