From 8ff6e012f4c71ee0a397bbc7e004a7d31741c04f Mon Sep 17 00:00:00 2001 From: niklas Date: Mon, 24 Feb 1997 14:06:33 +0000 Subject: [PATCH] OpenBSD tags + some prototyping police --- sys/netinet/icmp_var.h | 1 + sys/netinet/if_arc.h | 1 + sys/netinet/igmp.h | 1 + sys/netinet/in_cksum.c | 1 + sys/netinet/in_systm.h | 1 + sys/netinet/ip.h | 1 + sys/netinet/ip_ah.c | 3 +++ sys/netinet/ip_ah.h | 2 ++ sys/netinet/ip_ahhmacmd5.c | 2 ++ sys/netinet/ip_ahhmacsha1.c | 2 ++ sys/netinet/ip_ahmd5.c | 2 ++ sys/netinet/ip_esp.c | 4 ++++ sys/netinet/ip_esp.h | 2 ++ sys/netinet/ip_esp3desmd5.c | 2 ++ sys/netinet/ip_espdes.c | 2 ++ sys/netinet/ip_espdesmd5.c | 2 ++ sys/netinet/ip_ip4.c | 4 +++- sys/netinet/ip_ip4.h | 2 ++ sys/netinet/ip_ipsp.c | 5 +++++ sys/netinet/ip_ipsp.h | 2 ++ sys/netinet/ip_md5.h | 2 ++ sys/netinet/ip_md5c.c | 2 ++ sys/netinet/ip_sha1.c | 2 ++ sys/netinet/ip_sha1.h | 2 ++ sys/netinet/libdeslite/Makefile | 2 ++ sys/netinet/libdeslite/des.h | 2 ++ sys/netinet/libdeslite/des_locl.h | 2 ++ sys/netinet/libdeslite/ecb_enc.c | 2 ++ sys/netinet/libdeslite/podd.h | 2 ++ sys/netinet/libdeslite/set_key.c | 2 ++ sys/netinet/libdeslite/sk.h | 2 ++ sys/netinet/libdeslite/spr.h | 2 ++ sys/netinet/tcp.h | 1 + sys/netinet/tcp_debug.h | 1 + sys/netinet/tcp_fsm.h | 1 + sys/netinet/tcp_seq.h | 1 + sys/netinet/tcp_timer.h | 1 + sys/netinet/tcpip.h | 1 + sys/netinet/udp.h | 1 + 39 files changed, 72 insertions(+), 1 deletion(-) diff --git a/sys/netinet/icmp_var.h b/sys/netinet/icmp_var.h index 5ecb9b21713..5f0303cab7f 100644 --- a/sys/netinet/icmp_var.h +++ b/sys/netinet/icmp_var.h @@ -1,3 +1,4 @@ +/* $OpenBSD: icmp_var.h,v 1.2 1997/02/24 14:06:33 niklas Exp $ */ /* $NetBSD: icmp_var.h,v 1.8 1995/03/26 20:32:19 jtc Exp $ */ /* diff --git a/sys/netinet/if_arc.h b/sys/netinet/if_arc.h index 53fdaa8fd20..4a7648fa99f 100644 --- a/sys/netinet/if_arc.h +++ b/sys/netinet/if_arc.h @@ -1,3 +1,4 @@ +/* $OpenBSD: if_arc.h,v 1.2 1997/02/24 14:06:34 niklas Exp $ */ /* $NetBSD: if_arc.h,v 1.5 1995/06/07 00:14:04 cgd Exp $ */ /* diff --git a/sys/netinet/igmp.h b/sys/netinet/igmp.h index a66b3d3e27f..d04dfcf8188 100644 --- a/sys/netinet/igmp.h +++ b/sys/netinet/igmp.h @@ -1,3 +1,4 @@ +/* $OpenBSD: igmp.h,v 1.2 1997/02/24 14:06:34 niklas Exp $ */ /* $NetBSD: igmp.h,v 1.6 1995/05/31 06:08:21 mycroft Exp $ */ /* diff --git a/sys/netinet/in_cksum.c b/sys/netinet/in_cksum.c index 9c76d43a4ed..d4855172ce0 100644 --- a/sys/netinet/in_cksum.c +++ b/sys/netinet/in_cksum.c @@ -1,3 +1,4 @@ +/* $OpenBSD: in_cksum.c,v 1.3 1997/02/24 14:06:35 niklas Exp $ */ /* $NetBSD: in_cksum.c,v 1.11 1996/04/08 19:55:37 jonathan Exp $ */ /* diff --git a/sys/netinet/in_systm.h b/sys/netinet/in_systm.h index 0523ec2dd6a..8cf64aaccb2 100644 --- a/sys/netinet/in_systm.h +++ b/sys/netinet/in_systm.h @@ -1,3 +1,4 @@ +/* $OpenBSD: in_systm.h,v 1.2 1997/02/24 14:06:35 niklas Exp $ */ /* $NetBSD: in_systm.h,v 1.8 1995/04/13 06:29:22 cgd Exp $ */ /* diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index fb866314786..b3326f17066 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -1,3 +1,4 @@ +/* $OpenBSD: ip.h,v 1.4 1997/02/24 14:06:36 niklas Exp $ */ /* $NetBSD: ip.h,v 1.9 1995/05/15 01:22:44 cgd Exp $ */ /* diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c index e08f4c22fdb..bbc07dbde18 100644 --- a/sys/netinet/ip_ah.c +++ b/sys/netinet/ip_ah.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ah.c,v 1.2 1997/02/24 14:06:36 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). @@ -57,6 +59,7 @@ #include #include +void ah_input __P((struct mbuf *, int)); /* * ah_input gets called when we receive an packet with an AH. diff --git a/sys/netinet/ip_ah.h b/sys/netinet/ip_ah.h index 4ac4334dd36..1234e95a050 100644 --- a/sys/netinet/ip_ah.h +++ b/sys/netinet/ip_ah.h @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ah.h,v 1.2 1997/02/24 14:06:37 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_ahhmacmd5.c b/sys/netinet/ip_ahhmacmd5.c index 1ee56be908f..a8b77e8fb54 100644 --- a/sys/netinet/ip_ahhmacmd5.c +++ b/sys/netinet/ip_ahhmacmd5.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ahhmacmd5.c,v 1.4 1997/02/24 14:06:37 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_ahhmacsha1.c b/sys/netinet/ip_ahhmacsha1.c index 9a9d4e33f9c..c3b80b18c53 100644 --- a/sys/netinet/ip_ahhmacsha1.c +++ b/sys/netinet/ip_ahhmacsha1.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ahhmacsha1.c,v 1.4 1997/02/24 14:06:38 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_ahmd5.c b/sys/netinet/ip_ahmd5.c index 27429cb5fa1..5e693834fdd 100644 --- a/sys/netinet/ip_ahmd5.c +++ b/sys/netinet/ip_ahmd5.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ahmd5.c,v 1.2 1997/02/24 14:06:38 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c index 13541d3b59e..ac87a3f4ea8 100644 --- a/sys/netinet/ip_esp.c +++ b/sys/netinet/ip_esp.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_esp.c,v 1.2 1997/02/24 14:06:39 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). @@ -57,6 +59,8 @@ #include #include +void esp_input __P((struct mbuf *, int)); + /* * esp_input gets called when we receive an packet with an ESP. */ diff --git a/sys/netinet/ip_esp.h b/sys/netinet/ip_esp.h index e76dccb15d0..cf46afcdda4 100644 --- a/sys/netinet/ip_esp.h +++ b/sys/netinet/ip_esp.h @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_esp.h,v 1.3 1997/02/24 14:06:39 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_esp3desmd5.c b/sys/netinet/ip_esp3desmd5.c index d0d5b204ac3..d62cadee289 100644 --- a/sys/netinet/ip_esp3desmd5.c +++ b/sys/netinet/ip_esp3desmd5.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_esp3desmd5.c,v 1.2 1997/02/24 14:06:39 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_espdes.c b/sys/netinet/ip_espdes.c index b034a3e78db..66f77f04f09 100644 --- a/sys/netinet/ip_espdes.c +++ b/sys/netinet/ip_espdes.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_espdes.c,v 1.2 1997/02/24 14:06:40 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_espdesmd5.c b/sys/netinet/ip_espdesmd5.c index ed1b2c9845a..77412949efa 100644 --- a/sys/netinet/ip_espdesmd5.c +++ b/sys/netinet/ip_espdesmd5.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_espdesmd5.c,v 1.2 1997/02/24 14:06:40 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_ip4.c b/sys/netinet/ip_ip4.c index be4bfe18e7c..602f9b4c449 100644 --- a/sys/netinet/ip_ip4.c +++ b/sys/netinet/ip_ip4.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ip4.c,v 1.4 1997/02/24 14:06:41 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). @@ -58,7 +60,7 @@ #include #include - +void ip4_input __P((struct mbuf *, int)); /* * ip4_input gets called when we receive an encapsulated packet, diff --git a/sys/netinet/ip_ip4.h b/sys/netinet/ip_ip4.h index ec6b2144b9a..d1a9f56c61e 100644 --- a/sys/netinet/ip_ip4.h +++ b/sys/netinet/ip_ip4.h @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ip4.h,v 1.3 1997/02/24 14:06:41 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index 7d8357ef1ab..fb6c10cf97c 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ipsp.c,v 1.6 1997/02/24 14:06:42 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). @@ -55,6 +57,9 @@ #include #include +int tdb_init __P((struct tdb *, struct mbuf *)); +int ipsp_kern __P((int, char **, int)); + #ifdef ENCDEBUG int encdebug = 1; #endif diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 8fecdb7ff84..ca220baf5da 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_ipsp.h,v 1.3 1997/02/24 14:06:42 niklas Exp $ */ + /* * The author of this code is John Ioannidis, ji@tla.org, * (except when noted otherwise). diff --git a/sys/netinet/ip_md5.h b/sys/netinet/ip_md5.h index 2e102c8fcdc..aec667eb63f 100644 --- a/sys/netinet/ip_md5.h +++ b/sys/netinet/ip_md5.h @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_md5.h,v 1.2 1997/02/24 14:06:43 niklas Exp $ */ + /* GLOBAL.H - RSAREF types and constants */ diff --git a/sys/netinet/ip_md5c.c b/sys/netinet/ip_md5c.c index 809f60c4765..8b98141f2c1 100644 --- a/sys/netinet/ip_md5c.c +++ b/sys/netinet/ip_md5c.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_md5c.c,v 1.3 1997/02/24 14:06:43 niklas Exp $ */ + /* * The rest of the code is derived from MD5C.C by RSADSI. Minor cosmetic * changes to accomodate it in the kernel by ji. diff --git a/sys/netinet/ip_sha1.c b/sys/netinet/ip_sha1.c index 1668049ced8..727159dbbcd 100644 --- a/sys/netinet/ip_sha1.c +++ b/sys/netinet/ip_sha1.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_sha1.c,v 1.3 1997/02/24 14:06:44 niklas Exp $ */ + /* SHA-1 in C By Steve Reid diff --git a/sys/netinet/ip_sha1.h b/sys/netinet/ip_sha1.h index e4fd065782c..2a0cec5777f 100644 --- a/sys/netinet/ip_sha1.h +++ b/sys/netinet/ip_sha1.h @@ -1,3 +1,5 @@ +/* $OpenBSD: ip_sha1.h,v 1.2 1997/02/24 14:06:44 niklas Exp $ */ + /* SHA-1 in C By Steve Reid diff --git a/sys/netinet/libdeslite/Makefile b/sys/netinet/libdeslite/Makefile index 2e8a6d10645..ab6867e0d70 100644 --- a/sys/netinet/libdeslite/Makefile +++ b/sys/netinet/libdeslite/Makefile @@ -1,3 +1,5 @@ +# $OpenBSD: Makefile,v 1.2 1997/02/24 14:06:50 niklas Exp $ + # # This is the "lite" portion of libdes -- just the routines needed # to do CBC DES and 3DES for IPSP. diff --git a/sys/netinet/libdeslite/des.h b/sys/netinet/libdeslite/des.h index c49eeb0f408..ffcd3c1515d 100644 --- a/sys/netinet/libdeslite/des.h +++ b/sys/netinet/libdeslite/des.h @@ -1,3 +1,5 @@ +/* $OpenBSD: des.h,v 1.3 1997/02/24 14:06:51 niklas Exp $ */ + /* lib/des/des.h */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/libdeslite/des_locl.h b/sys/netinet/libdeslite/des_locl.h index ce0cabb927b..c220e392588 100644 --- a/sys/netinet/libdeslite/des_locl.h +++ b/sys/netinet/libdeslite/des_locl.h @@ -1,3 +1,5 @@ +/* $OpenBSD: des_locl.h,v 1.3 1997/02/24 14:06:51 niklas Exp $ */ + /* lib/des/des_locl.h */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/libdeslite/ecb_enc.c b/sys/netinet/libdeslite/ecb_enc.c index 526a615f0ab..1b7ce7e6fb8 100644 --- a/sys/netinet/libdeslite/ecb_enc.c +++ b/sys/netinet/libdeslite/ecb_enc.c @@ -1,3 +1,5 @@ +/* $OpenBSD: ecb_enc.c,v 1.2 1997/02/24 14:06:52 niklas Exp $ */ + /* lib/des/ecb_enc.c */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/libdeslite/podd.h b/sys/netinet/libdeslite/podd.h index 96846d24ca4..e0d61df2e26 100644 --- a/sys/netinet/libdeslite/podd.h +++ b/sys/netinet/libdeslite/podd.h @@ -1,3 +1,5 @@ +/* $OpenBSD: podd.h,v 1.2 1997/02/24 14:06:52 niklas Exp $ */ + /* lib/des/podd.h */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/libdeslite/set_key.c b/sys/netinet/libdeslite/set_key.c index a97542cf2c1..6569e272f60 100644 --- a/sys/netinet/libdeslite/set_key.c +++ b/sys/netinet/libdeslite/set_key.c @@ -1,3 +1,5 @@ +/* $OpenBSD: set_key.c,v 1.3 1997/02/24 14:06:53 niklas Exp $ */ + /* lib/des/set_key.c */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/libdeslite/sk.h b/sys/netinet/libdeslite/sk.h index e5997d93af6..50125ffecd7 100644 --- a/sys/netinet/libdeslite/sk.h +++ b/sys/netinet/libdeslite/sk.h @@ -1,3 +1,5 @@ +/* $OpenBSD: sk.h,v 1.2 1997/02/24 14:06:53 niklas Exp $ */ + /* lib/des/sk.h */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/libdeslite/spr.h b/sys/netinet/libdeslite/spr.h index d9b81ce919d..84d9395ce4f 100644 --- a/sys/netinet/libdeslite/spr.h +++ b/sys/netinet/libdeslite/spr.h @@ -1,3 +1,5 @@ +/* $OpenBSD: spr.h,v 1.2 1997/02/24 14:06:54 niklas Exp $ */ + /* lib/des/spr.h */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) * All rights reserved. diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h index 5cb1a735447..57069c1a682 100644 --- a/sys/netinet/tcp.h +++ b/sys/netinet/tcp.h @@ -1,3 +1,4 @@ +/* $OpenBSD: tcp.h,v 1.2 1997/02/24 14:06:44 niklas Exp $ */ /* $NetBSD: tcp.h,v 1.8 1995/04/17 05:32:58 cgd Exp $ */ /* diff --git a/sys/netinet/tcp_debug.h b/sys/netinet/tcp_debug.h index d0ca9100b3a..5c29983dc78 100644 --- a/sys/netinet/tcp_debug.h +++ b/sys/netinet/tcp_debug.h @@ -1,3 +1,4 @@ +/* $OpenBSD: tcp_debug.h,v 1.2 1997/02/24 14:06:45 niklas Exp $ */ /* $NetBSD: tcp_debug.h,v 1.5 1994/06/29 06:38:38 cgd Exp $ */ /* diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h index da5e3bb5b0b..5c4d2a170cb 100644 --- a/sys/netinet/tcp_fsm.h +++ b/sys/netinet/tcp_fsm.h @@ -1,3 +1,4 @@ +/* $OpenBSD: tcp_fsm.h,v 1.2 1997/02/24 14:06:45 niklas Exp $ */ /* $NetBSD: tcp_fsm.h,v 1.6 1994/10/14 16:01:48 mycroft Exp $ */ /* diff --git a/sys/netinet/tcp_seq.h b/sys/netinet/tcp_seq.h index a055ae5cbb3..a9aa1abc025 100644 --- a/sys/netinet/tcp_seq.h +++ b/sys/netinet/tcp_seq.h @@ -1,3 +1,4 @@ +/* $OpenBSD: tcp_seq.h,v 1.2 1997/02/24 14:06:46 niklas Exp $ */ /* $NetBSD: tcp_seq.h,v 1.6 1995/03/26 20:32:35 jtc Exp $ */ /* diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h index b5576a58f6d..807cec54ba0 100644 --- a/sys/netinet/tcp_timer.h +++ b/sys/netinet/tcp_timer.h @@ -1,3 +1,4 @@ +/* $OpenBSD: tcp_timer.h,v 1.3 1997/02/24 14:06:46 niklas Exp $ */ /* $NetBSD: tcp_timer.h,v 1.6 1995/03/26 20:32:37 jtc Exp $ */ /* diff --git a/sys/netinet/tcpip.h b/sys/netinet/tcpip.h index ba09485816c..ff94d4502b3 100644 --- a/sys/netinet/tcpip.h +++ b/sys/netinet/tcpip.h @@ -1,3 +1,4 @@ +/* $OpenBSD: tcpip.h,v 1.3 1997/02/24 14:06:47 niklas Exp $ */ /* $NetBSD: tcpip.h,v 1.6 1995/11/21 01:07:44 cgd Exp $ */ /* diff --git a/sys/netinet/udp.h b/sys/netinet/udp.h index 95bc044f7d9..3d5c73edf81 100644 --- a/sys/netinet/udp.h +++ b/sys/netinet/udp.h @@ -1,3 +1,4 @@ +/* $OpenBSD: udp.h,v 1.3 1997/02/24 14:06:47 niklas Exp $ */ /* $NetBSD: udp.h,v 1.6 1995/04/13 06:37:10 cgd Exp $ */ /* -- 2.20.1