From 3c11868be8eaea462c0b4f92b92d9e0decc10829 Mon Sep 17 00:00:00 2001 From: itojun Date: Fri, 7 Jun 2002 14:35:55 +0000 Subject: [PATCH] consistency --- sys/netinet6/in6_var.h | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index f2898e173897..f26939cdd186 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -1,4 +1,4 @@ -/* $NetBSD: in6_var.h,v 1.27 2002/05/29 07:53:41 itojun Exp $ */ +/* $NetBSD: in6_var.h,v 1.28 2002/06/07 14:35:55 itojun Exp $ */ /* $KAME: in6_var.h,v 1.53 2001/02/10 02:44:27 itojun Exp $ */ /* @@ -563,13 +563,13 @@ struct in6_multi *in6_addmulti __P((struct in6_addr *, struct ifnet *, void in6_delmulti __P((struct in6_multi *)); struct in6_multi_mship *in6_joingroup __P((struct ifnet *, struct in6_addr *, int *)); -int in6_leavegroup __P((struct in6_multi_mship *)); +int in6_leavegroup __P((struct in6_multi_mship *)); void in6_ifscrub __P((struct ifnet *, struct in6_ifaddr *)); -extern int in6_ifindex2scopeid __P((int)); -extern int in6_mask2len __P((struct in6_addr *)); -extern void in6_len2mask __P((struct in6_addr *, int)); -int in6_control __P((struct socket *, - u_long, caddr_t, struct ifnet *, struct proc *)); +int in6_ifindex2scopeid __P((int)); +int in6_mask2len __P((struct in6_addr *, u_char *)); +void in6_len2mask __P((struct in6_addr *, int)); +int in6_control __P((struct socket *, u_long, caddr_t, struct ifnet *, + struct proc *)); void in6_purgeaddr __P((struct ifaddr *, struct ifnet *)); int in6if_do_dad __P((struct ifnet *)); void in6_purgeif __P((struct ifnet *)); @@ -581,18 +581,14 @@ void in6_restoremkludge __P((struct in6_ifaddr *, struct ifnet *)); void in6_createmkludge __P((struct ifnet *)); void in6_purgemkludge __P((struct ifnet *)); struct in6_ifaddr *in6ifa_ifpforlinklocal __P((struct ifnet *, int)); -struct in6_ifaddr *in6ifa_ifpwithaddr __P((struct ifnet *, - struct in6_addr *)); +struct in6_ifaddr *in6ifa_ifpwithaddr __P((struct ifnet *, struct in6_addr *)); char *ip6_sprintf __P((const struct in6_addr *)); int in6_addr2scopeid __P((struct ifnet *, struct in6_addr *)); int in6_matchlen __P((struct in6_addr *, struct in6_addr *)); -int in6_are_prefix_equal __P((struct in6_addr *p1, struct in6_addr *p2, - int len)); -void in6_prefixlen2mask __P((struct in6_addr *maskp, int len)); -int in6_prefix_ioctl __P((struct socket *so, u_long cmd, caddr_t data, - struct ifnet *ifp)); -int in6_prefix_add_ifid __P((int iilen, struct in6_ifaddr *ia)); -void in6_prefix_remove_ifid __P((int iilen, struct in6_ifaddr *ia)); +int in6_are_prefix_equal __P((struct in6_addr *, struct in6_addr *, int)); +void in6_prefixlen2mask __P((struct in6_addr *, int)); +int in6_prefix_add_ifid __P((int, struct in6_ifaddr *)); +void in6_prefix_remove_ifid __P((int, struct in6_ifaddr *)); void in6_purgeprefix __P((struct ifnet *)); struct in6pcb;