aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2007-10-07 20:44:24 +0000
committerMike Silbersack <silby@FreeBSD.org>2007-10-07 20:44:24 +0000
commit4b421e2daaa3e23db6b5a51f8ca5b2da0d894a56 (patch)
tree8e3792980e630c5b6535da499049111f6278a9f5 /sys/netinet
parentdc9250f55c1d6f219c5dcbd5dc8d933fe838232c (diff)
downloadsrc-4b421e2daaa3e23db6b5a51f8ca5b2da0d894a56.tar.gz
src-4b421e2daaa3e23db6b5a51f8ca5b2da0d894a56.zip
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/accf_data.c5
-rw-r--r--sys/netinet/accf_http.c5
-rw-r--r--sys/netinet/if_ether.c4
-rw-r--r--sys/netinet/igmp.c4
-rw-r--r--sys/netinet/in.c4
-rw-r--r--sys/netinet/in_cksum.c4
-rw-r--r--sys/netinet/in_gif.c4
-rw-r--r--sys/netinet/in_pcb.c4
-rw-r--r--sys/netinet/in_proto.c4
-rw-r--r--sys/netinet/in_rmx.c5
-rw-r--r--sys/netinet/ip_carp.c5
-rw-r--r--sys/netinet/ip_divert.c5
-rw-r--r--sys/netinet/ip_dummynet.c5
-rw-r--r--sys/netinet/ip_ecn.c4
-rw-r--r--sys/netinet/ip_encap.c4
-rw-r--r--sys/netinet/ip_fastfwd.c5
-rw-r--r--sys/netinet/ip_fw2.c5
-rw-r--r--sys/netinet/ip_fw_pfil.c5
-rw-r--r--sys/netinet/ip_gre.c4
-rw-r--r--sys/netinet/ip_icmp.c4
-rw-r--r--sys/netinet/ip_id.c5
-rw-r--r--sys/netinet/ip_input.c4
-rw-r--r--sys/netinet/ip_ipsec.c5
-rw-r--r--sys/netinet/ip_mroute.c5
-rw-r--r--sys/netinet/ip_options.c5
-rw-r--r--sys/netinet/ip_output.c4
-rw-r--r--sys/netinet/raw_ip.c4
-rw-r--r--sys/netinet/tcp_debug.c4
-rw-r--r--sys/netinet/tcp_hostcache.c5
-rw-r--r--sys/netinet/tcp_input.c4
-rw-r--r--sys/netinet/tcp_output.c4
-rw-r--r--sys/netinet/tcp_reass.c4
-rw-r--r--sys/netinet/tcp_subr.c4
-rw-r--r--sys/netinet/tcp_syncache.c5
-rw-r--r--sys/netinet/tcp_timer.c4
-rw-r--r--sys/netinet/tcp_timewait.c4
-rw-r--r--sys/netinet/tcp_usrreq.c4
-rw-r--r--sys/netinet/udp_usrreq.c4
38 files changed, 114 insertions, 53 deletions
diff --git a/sys/netinet/accf_data.c b/sys/netinet/accf_data.c
index 4694e8e68960..1bbd3fee0b8d 100644
--- a/sys/netinet/accf_data.c
+++ b/sys/netinet/accf_data.c
@@ -22,10 +22,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#define ACCEPT_FILTER_MOD
#include <sys/param.h>
diff --git a/sys/netinet/accf_http.c b/sys/netinet/accf_http.c
index dc146d0b5202..19ad380e4280 100644
--- a/sys/netinet/accf_http.c
+++ b/sys/netinet/accf_http.c
@@ -23,10 +23,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#define ACCEPT_FILTER_MOD
#include <sys/param.h>
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 6b5ada9e53ed..36f50546d879 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -27,7 +27,6 @@
* SUCH DAMAGE.
*
* @(#)if_ether.c 8.1 (Berkeley) 6/10/93
- * $FreeBSD$
*/
/*
@@ -36,6 +35,9 @@
* add "inuse/lock" bit (or ref. count) along with valid bit
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_mac.h"
#include "opt_carp.h"
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index d74bc9cb280d..1b26bfc834ea 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -31,7 +31,6 @@
* SUCH DAMAGE.
*
* @(#)igmp.c 8.1 (Berkeley) 7/19/93
- * $FreeBSD$
*/
/*
@@ -45,6 +44,9 @@
* MULTICAST Revision: 3.5.1.4
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_mac.h"
#include <sys/param.h>
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index 50d1bbd6c328..f0bb08dbbf84 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -28,9 +28,11 @@
* SUCH DAMAGE.
*
* @(#)in.c 8.4 (Berkeley) 1/9/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_carp.h"
#include <sys/param.h>
diff --git a/sys/netinet/in_cksum.c b/sys/netinet/in_cksum.c
index 89283943fcd2..8fe05d9f96b2 100644
--- a/sys/netinet/in_cksum.c
+++ b/sys/netinet/in_cksum.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)in_cksum.c 8.1 (Berkeley) 6/10/93
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/mbuf.h>
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 33631058f7c1..69a34f8eeaf3 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $KAME: in_gif.c,v 1.54 2001/05/14 14:02:16 itojun Exp $ */
/*-
@@ -30,6 +29,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_mrouting.h"
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 5e174ea664ca..d85251ee67a2 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -29,9 +29,11 @@
* SUCH DAMAGE.
*
* @(#)in_pcb.c 8.4 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ddb.h"
#include "opt_ipsec.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index 0d08d532033e..480da0e203d3 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)in_proto.c 8.2 (Berkeley) 2/9/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipx.h"
#include "opt_mrouting.h"
#include "opt_ipsec.h"
diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c
index fd025a8133fa..d1c26afb5b23 100644
--- a/sys/netinet/in_rmx.c
+++ b/sys/netinet/in_rmx.c
@@ -25,8 +25,6 @@
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*
@@ -42,6 +40,9 @@
* indefinitely. See in_rtqtimo() below for the exact mechanism.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 172b3ca9bb0b..3b98187a8ceb 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,5 +1,3 @@
-/* $FreeBSD$ */
-
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
* Copyright (c) 2003 Ryan McBride. All rights reserved.
@@ -26,6 +24,9 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_carp.h"
#include "opt_bpf.h"
#include "opt_inet.h"
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index 05eadc40fc90..35208ff1c541 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -25,10 +25,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if !defined(KLD_MODULE)
#include "opt_inet.h"
#include "opt_ipfw.h"
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c
index 1e79a3abe9a3..995124834ff3 100644
--- a/sys/netinet/ip_dummynet.c
+++ b/sys/netinet/ip_dummynet.c
@@ -23,10 +23,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#define DUMMYNET_DEBUG
#include "opt_inet6.h"
diff --git a/sys/netinet/ip_ecn.c b/sys/netinet/ip_ecn.c
index c511ba73a69d..9fce01d7cd68 100644
--- a/sys/netinet/ip_ecn.c
+++ b/sys/netinet/ip_ecn.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $KAME: ip_ecn.c,v 1.12 2002/01/07 11:34:47 kjc Exp $ */
/*-
@@ -35,6 +34,9 @@
* http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c
index 81b272041af6..0efd22aaf0d9 100644
--- a/sys/netinet/ip_encap.c
+++ b/sys/netinet/ip_encap.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $KAME: ip_encap.c,v 1.41 2001/03/15 08:35:08 itojun Exp $ */
/*-
@@ -57,6 +56,9 @@
*/
/* XXX is M_NETADDR correct? */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_mrouting.h"
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c
index 12b606aad002..97b823f4a1d7 100644
--- a/sys/netinet/ip_fastfwd.c
+++ b/sys/netinet/ip_fastfwd.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*
@@ -75,6 +73,9 @@
* is being followed here.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipfw.h"
#include "opt_ipstealth.h"
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 310c635b10f4..2519519599a1 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -21,10 +21,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#define DEB(x)
#define DDB(x) x
diff --git a/sys/netinet/ip_fw_pfil.c b/sys/netinet/ip_fw_pfil.c
index d8285b541f9a..3d7f2a760ffb 100644
--- a/sys/netinet/ip_fw_pfil.c
+++ b/sys/netinet/ip_fw_pfil.c
@@ -22,10 +22,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#if !defined(KLD_MODULE)
#include "opt_ipfw.h"
#include "opt_ipdn.h"
diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c
index 17cb3f5b4d3f..e985006d9189 100644
--- a/sys/netinet/ip_gre.c
+++ b/sys/netinet/ip_gre.c
@@ -1,5 +1,4 @@
/* $NetBSD: ip_gre.c,v 1.29 2003/09/05 23:02:43 itojun Exp $ */
-/* $FreeBSD$ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -45,6 +44,9 @@
* This currently handles IPPROTO_GRE, IPPROTO_MOBILE
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_atalk.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 36cc020b167d..f5843a071015 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipsec.h"
#include "opt_mac.h"
diff --git a/sys/netinet/ip_id.c b/sys/netinet/ip_id.c
index 0fe4f3822c8e..606164bc9e82 100644
--- a/sys/netinet/ip_id.c
+++ b/sys/netinet/ip_id.c
@@ -33,8 +33,6 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*-
@@ -57,6 +55,9 @@
* caused by reseeding.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_pf.h"
#include <sys/param.h>
#include <sys/time.h>
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 3d7276f68d76..20bdd6fffdfd 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_bootp.h"
#include "opt_ipfw.h"
#include "opt_ipstealth.h"
diff --git a/sys/netinet/ip_ipsec.c b/sys/netinet/ip_ipsec.c
index 7db0cdddb282..b15a6dca5712 100644
--- a/sys/netinet/ip_ipsec.c
+++ b/sys/netinet/ip_ipsec.c
@@ -25,10 +25,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipsec.h"
#include <sys/param.h>
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index e9b1a31cf073..6e0e1244b815 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -51,10 +51,11 @@
* MROUTING Revision: 3.5
* and PIM-SMv2 and PIM-DM support, advanced API support,
* bandwidth metering and signaling
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_mac.h"
diff --git a/sys/netinet/ip_options.c b/sys/netinet/ip_options.c
index 1f8c27fddc8c..d1c05940231f 100644
--- a/sys/netinet/ip_options.c
+++ b/sys/netinet/ip_options.c
@@ -27,10 +27,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipstealth.h"
#include "opt_mac.h"
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index a93571d7021a..261a15fcd880 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipfw.h"
#include "opt_ipsec.h"
#include "opt_mac.h"
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 85b010ddf751..1d0ced5d8eca 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)raw_ip.c 8.7 (Berkeley) 5/15/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet6.h"
#include "opt_ipsec.h"
#include "opt_mac.h"
diff --git a/sys/netinet/tcp_debug.c b/sys/netinet/tcp_debug.c
index 595799347618..aaeac9dfaf62 100644
--- a/sys/netinet/tcp_debug.c
+++ b/sys/netinet/tcp_debug.c
@@ -28,9 +28,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_debug.c 8.1 (Berkeley) 6/10/93
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_tcpdebug.h"
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c
index 97b9f466f0dd..3a686078417c 100644
--- a/sys/netinet/tcp_hostcache.c
+++ b/sys/netinet/tcp_hostcache.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*
@@ -64,6 +62,9 @@
* followed here.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet6.h"
#include <sys/param.h>
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 34ae0268ab95..4e69016fa785 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipfw.h" /* for ipfw_fwd */
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 6d552d9505f2..c554ffb36562 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_output.c 8.4 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index 2cb9b6902770..d011878e4b83 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_tcpdebug.h"
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 0514fa0132a6..64d18359bfff 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_compat.h"
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index b549a53e523a..d5cfddf4a797 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -28,10 +28,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index e0d86d043c10..2a7847710e44 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_timer.c 8.2 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet6.h"
#include "opt_tcpdebug.h"
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 7f4f4fb0f478..d31e99c053ee 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -27,9 +27,11 @@
* SUCH DAMAGE.
*
* @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_mac.h"
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index de44d618232f..438bcf819d9f 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -29,9 +29,11 @@
* SUCH DAMAGE.
*
* From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ddb.h"
#include "opt_inet.h"
#include "opt_inet6.h"
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 89bc42065f88..3e122bfddc07 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -28,9 +28,11 @@
* SUCH DAMAGE.
*
* @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_ipfw.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"