This commit is contained in:
itojun 2003-05-02 03:15:23 +00:00
parent e6eb2671ed
commit 860a851ea8
7 changed files with 23 additions and 25 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_arcsubr.c,v 1.41 2003/01/19 23:13:46 simonb Exp $ */
/* $NetBSD: if_arcsubr.c,v 1.42 2003/05/02 03:15:23 itojun Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.41 2003/01/19 23:13:46 simonb Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.42 2003/05/02 03:15:23 itojun Exp $");
#include "opt_inet.h"
@ -209,8 +209,7 @@ arc_output(ifp, m0, dst, rt0)
arph->ar_hrd = htons(ARPHRD_ARCNET);
switch(ntohs(arph->ar_op)) {
switch (ntohs(arph->ar_op)) {
case ARPOP_REVREQUEST:
case ARPOP_REVREPLY:
if (!(ifp->if_flags & IFF_LINK0)) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ethersubr.c,v 1.106 2003/03/25 13:29:39 bouyer Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.107 2003/05/02 03:15:23 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.106 2003/03/25 13:29:39 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.107 2003/05/02 03:15:23 itojun Exp $");
#include "opt_inet.h"
#include "opt_atalk.h"
@ -281,7 +281,7 @@ ether_output(struct ifnet *ifp, struct mbuf *m0, struct sockaddr *dst,
ah->ar_hrd = htons(ARPHRD_ETHER);
switch(ntohs(ah->ar_op)) {
switch (ntohs(ah->ar_op)) {
case ARPOP_REVREQUEST:
case ARPOP_REVREPLY:
etype = htons(ETHERTYPE_REVARP);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ppp.c,v 1.83 2003/03/27 17:50:28 christos Exp $ */
/* $NetBSD: if_ppp.c,v 1.84 2003/05/02 03:15:24 itojun Exp $ */
/* Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp */
/*
@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.83 2003/03/27 17:50:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.84 2003/05/02 03:15:24 itojun Exp $");
#include "ppp.h"
@ -706,7 +706,7 @@ pppsioctl(ifp, cmd, data)
error = EAFNOSUPPORT;
break;
}
switch(ifr->ifr_addr.sa_family) {
switch (ifr->ifr_addr.sa_family) {
#ifdef INET
case AF_INET:
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_tokensubr.c,v 1.20 2003/05/01 02:34:20 itojun Exp $ */
/* $NetBSD: if_tokensubr.c,v 1.21 2003/05/02 03:15:24 itojun Exp $ */
/*
* Copyright (c) 1997-1999
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.20 2003/05/01 02:34:20 itojun Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.21 2003/05/02 03:15:24 itojun Exp $");
#include "opt_inet.h"
#include "opt_atalk.h"
@ -237,7 +237,7 @@ token_output(ifp, m0, dst, rt0)
ah = mtod(m, struct arphdr *);
ah->ar_hrd = htons(ARPHRD_IEEE802);
switch(ntohs(ah->ar_op)) {
switch (ntohs(ah->ar_op)) {
case ARPOP_REVREQUEST:
case ARPOP_REVREPLY:
etype = htons(ETHERTYPE_REVARP);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_tun.c,v 1.60 2003/05/01 07:52:59 itojun Exp $ */
/* $NetBSD: if_tun.c,v 1.61 2003/05/02 03:15:24 itojun Exp $ */
/*
* Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
@ -15,7 +15,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.60 2003/05/01 07:52:59 itojun Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.61 2003/05/02 03:15:24 itojun Exp $");
#include "tun.h"
@ -372,7 +372,7 @@ tun_ioctl(ifp, cmd, data)
simple_lock(&tp->tun_lock);
s = splnet();
switch(cmd) {
switch (cmd) {
case SIOCSIFADDR:
tuninit((struct tun_softc *)(ifp->if_softc));
TUNDEBUG("%s: address set\n", ifp->if_xname);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtsock.c,v 1.58 2003/02/26 06:31:13 matt Exp $ */
/* $NetBSD: rtsock.c,v 1.59 2003/05/02 03:15:25 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.58 2003/02/26 06:31:13 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.59 2003/05/02 03:15:25 itojun Exp $");
#include "opt_inet.h"
@ -311,8 +311,7 @@ route_output(m, va_alist)
rt = (struct rtentry *)rn;
rt->rt_refcnt++;
switch(rtm->rtm_type) {
switch (rtm->rtm_type) {
case RTM_GET:
report:
dst = rt_key(rt);
@ -921,7 +920,7 @@ sysctl_iflist(af, w, type)
continue;
ifa = TAILQ_FIRST(&ifp->if_addrlist);
ifpaddr = ifa->ifa_addr;
switch(type) {
switch (type) {
case NET_RT_IFLIST:
error =
rt_msg2(RTM_IFINFO, &info, (caddr_t)0, w, &len);
@ -939,7 +938,7 @@ sysctl_iflist(af, w, type)
return (error);
ifpaddr = 0;
if (w->w_where && w->w_tmem && w->w_needed <= 0) {
switch(type) {
switch (type) {
case NET_RT_IFLIST: {
struct if_msghdr *ifm;

View File

@ -1,4 +1,4 @@
/* $NetBSD: slcompress.c,v 1.23 2001/11/12 23:49:49 lukem Exp $ */
/* $NetBSD: slcompress.c,v 1.24 2003/05/02 03:15:25 itojun Exp $ */
/* Id: slcompress.c,v 1.3 1996/05/24 07:04:47 paulus Exp */
/*
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: slcompress.c,v 1.23 2001/11/12 23:49:49 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: slcompress.c,v 1.24 2003/05/02 03:15:25 itojun Exp $");
#include <sys/param.h>
#include <sys/mbuf.h>
@ -334,7 +334,7 @@ sl_compress_tcp(m, ip, comp, compress_cid)
changes |= NEW_S;
}
switch(changes) {
switch (changes) {
case 0:
/*