Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet install the header.



details:   https://anonhg.NetBSD.org/src/rev/328e2ed4fd67
branches:  trunk
changeset: 769825:328e2ed4fd67
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 24 17:54:19 2011 +0000

description:
install the header.

diffstat:

 sys/netinet/Makefile  |  4 ++--
 sys/netinet/rfc6056.h |  4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 693acac02d2f -r 328e2ed4fd67 sys/netinet/Makefile
--- a/sys/netinet/Makefile      Sat Sep 24 17:22:14 2011 +0000
+++ b/sys/netinet/Makefile      Sat Sep 24 17:54:19 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2011/05/03 18:28:45 dyoung Exp $
+#      $NetBSD: Makefile,v 1.21 2011/09/24 17:54:19 christos Exp $
 
 INCSDIR= /usr/include/netinet
 
@@ -6,7 +6,7 @@
        igmp_var.h in.h in_gif.h in_pcb.h in_pcb_hdr.h \
        in_selsrc.h in_systm.h \
        in_var.h ip.h ip_carp.h ip6.h ip_ecn.h ip_encap.h \
-       ip_icmp.h ip_mroute.h ip_var.h pim.h pim_var.h \
+       ip_icmp.h ip_mroute.h ip_var.h pim.h pim_var.h rfc6056.h \
        tcp.h tcp_debug.h tcp_fsm.h tcp_seq.h tcp_timer.h tcp_var.h \
        tcpip.h udp.h udp_var.h \
        tcp_vtw.h
diff -r 693acac02d2f -r 328e2ed4fd67 sys/netinet/rfc6056.h
--- a/sys/netinet/rfc6056.h     Sat Sep 24 17:22:14 2011 +0000
+++ b/sys/netinet/rfc6056.h     Sat Sep 24 17:54:19 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rfc6056.h,v 1.1 2011/09/24 17:18:17 christos Exp $     */
+/*     $NetBSD: rfc6056.h,v 1.2 2011/09/24 17:54:19 christos Exp $     */
 
 /*
  * Copyright 2011 Vlad Balan
@@ -30,6 +30,7 @@
 #ifndef _NETINET_RFC6056_H_
 #define _NETINET_RFC6056_H_
 
+#ifdef _KERNEL
 #include <sys/sysctl.h>
 
 int rfc6056_randport(uint16_t *, struct inpcb_hdr *, kauth_cred_t);
@@ -39,6 +40,7 @@
 int rfc6056_algo_index_select(struct inpcb_hdr *, int);
 
 #define        RFC6056_MAXLEN       16
+#endif /* _KERNEL */
 
 /*
  * User-settable options (used with setsockopt).



Home | Main Index | Thread Index | Old Index