diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/netinet/ip_mroute.c | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/netinet/ip_mroute.c')
-rw-r--r-- | sys/netinet/ip_mroute.c | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 72d092cb3ca..44ae469845b 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_mroute.c,v 1.23 2001/09/26 17:37:52 deraadt Exp $ */ +/* $OpenBSD: ip_mroute.c,v 1.24 2002/03/14 01:27:11 millert Exp $ */ /* $NetBSD: ip_mroute.c,v 1.27 1996/05/07 02:40:50 thorpej Exp $ */ /* @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * @(#)ip_mroute.c 8.2 (Berkeley) 11/15/93 - * $Id: ip_mroute.c,v 1.23 2001/09/26 17:37:52 deraadt Exp $ + * $Id: ip_mroute.c,v 1.24 2002/03/14 01:27:11 millert Exp $ */ /* @@ -135,41 +135,41 @@ struct timeout tbf_timeout; struct pkt_queue qtable[MAXVIFS][MAXQSIZE]; -static int get_sg_cnt __P((struct sioc_sg_req *)); -static int get_vif_cnt __P((struct sioc_vif_req *)); -static int ip_mrouter_init __P((struct socket *, struct mbuf *)); -static int get_version __P((struct mbuf *)); -static int set_assert __P((struct mbuf *)); -static int get_assert __P((struct mbuf *)); -static int add_vif __P((struct mbuf *)); -static int del_vif __P((struct mbuf *)); -static void update_mfc __P((struct mfcctl *, struct mfc *)); -static void expire_mfc __P((struct mfc *)); -static int add_mfc __P((struct mbuf *)); +static int get_sg_cnt(struct sioc_sg_req *); +static int get_vif_cnt(struct sioc_vif_req *); +static int ip_mrouter_init(struct socket *, struct mbuf *); +static int get_version(struct mbuf *); +static int set_assert(struct mbuf *); +static int get_assert(struct mbuf *); +static int add_vif(struct mbuf *); +static int del_vif(struct mbuf *); +static void update_mfc(struct mfcctl *, struct mfc *); +static void expire_mfc(struct mfc *); +static int add_mfc(struct mbuf *); #ifdef UPCALL_TIMING -static void collate __P((struct timeval *)); +static void collate(struct timeval *); #endif -static int del_mfc __P((struct mbuf *)); -static int socket_send __P((struct socket *, struct mbuf *, - struct sockaddr_in *)); -static void expire_upcalls __P((void *)); +static int del_mfc(struct mbuf *); +static int socket_send(struct socket *, struct mbuf *, + struct sockaddr_in *); +static void expire_upcalls(void *); #ifdef RSVP_ISI -static int ip_mdq __P((struct mbuf *, struct ifnet *, struct mfc *, vifi_t)); +static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *, vifi_t); #else -static int ip_mdq __P((struct mbuf *, struct ifnet *, struct mfc *)); +static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *); #endif -static void phyint_send __P((struct ip *, struct vif *, struct mbuf *)); -static void encap_send __P((struct ip *, struct vif *, struct mbuf *)); -static void tbf_control __P((struct vif *, struct mbuf *, struct ip *, - u_int32_t)); -static void tbf_queue __P((struct vif *, struct mbuf *, struct ip *)); -static void tbf_process_q __P((struct vif *)); -static void tbf_dequeue __P((struct vif *, int)); -static void tbf_reprocess_q __P((void *)); -static int tbf_dq_sel __P((struct vif *, struct ip *)); -static void tbf_send_packet __P((struct vif *, struct mbuf *)); -static void tbf_update_tokens __P((struct vif *)); -static int priority __P((struct vif *, struct ip *)); +static void phyint_send(struct ip *, struct vif *, struct mbuf *); +static void encap_send(struct ip *, struct vif *, struct mbuf *); +static void tbf_control(struct vif *, struct mbuf *, struct ip *, + u_int32_t); +static void tbf_queue(struct vif *, struct mbuf *, struct ip *); +static void tbf_process_q(struct vif *); +static void tbf_dequeue(struct vif *, int); +static void tbf_reprocess_q(void *); +static int tbf_dq_sel(struct vif *, struct ip *); +static void tbf_send_packet(struct vif *, struct mbuf *); +static void tbf_update_tokens(struct vif *); +static int priority(struct vif *, struct ip *); /* * 'Interfaces' associated with decapsulator (so we can tell |