Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Style, and remove prototype of udp_sysctl (does ...



details:   https://anonhg.NetBSD.org/src/rev/10fd244034d5
branches:  trunk
changeset: 829676:10fd244034d5
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Feb 08 10:30:30 2018 +0000

description:
Style, and remove prototype of udp_sysctl (does not exist).

diffstat:

 sys/netinet/udp_var.h |  23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)

diffs (39 lines):

diff -r 30e9b86d3ec6 -r 10fd244034d5 sys/netinet/udp_var.h
--- a/sys/netinet/udp_var.h     Thu Feb 08 10:24:46 2018 +0000
+++ b/sys/netinet/udp_var.h     Thu Feb 08 10:30:30 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp_var.h,v 1.42 2017/08/10 04:31:58 ryo Exp $ */
+/*     $NetBSD: udp_var.h,v 1.43 2018/02/08 10:30:30 maxv Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -88,20 +88,17 @@
 
 #ifdef _KERNEL
 
-extern struct  inpcbtable udbtable;
+extern struct inpcbtable udbtable;
 extern const struct pr_usrreqs udp_usrreqs;
 
-void    *udp_ctlinput(int, const struct sockaddr *, void *);
-int     udp_ctloutput(int, struct socket *, struct sockopt *);
-void    udp_init(void);
-void    udp_init_common(void);
-void    udp_input(struct mbuf *, ...);
-int     udp_output(struct mbuf *, struct inpcb *, struct mbuf *, struct lwp *);
-int     udp_sysctl(int *, u_int, void *, size_t *, void *, size_t);
-
-int    udp_input_checksum(int af, struct mbuf *, const struct udphdr *, int,
-           int);
-void   udp_statinc(u_int);
+void *udp_ctlinput(int, const struct sockaddr *, void *);
+int udp_ctloutput(int, struct socket *, struct sockopt *);
+void udp_init(void);
+void udp_init_common(void);
+void udp_input(struct mbuf *, ...);
+int udp_output(struct mbuf *, struct inpcb *, struct mbuf *, struct lwp *);
+int udp_input_checksum(int af, struct mbuf *, const struct udphdr *, int, int);
+void udp_statinc(u_int);
 #endif /* _KERNEL */
 
 #endif /* !_NETINET_UDP_VAR_H_ */



Home | Main Index | Thread Index | Old Index