From d4c477aa017127d9c30279211c9d3a43a337f674 Mon Sep 17 00:00:00 2001 From: Simon Brummer Date: Mon, 6 Feb 2017 18:26:45 +0100 Subject: [PATCH] gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments --- sys/include/net/gnrc/tcp.h | 4 ++-- sys/include/net/gnrc/tcp/config.h | 4 ++-- sys/include/net/gnrc/tcp/tcb.h | 4 ++-- sys/include/net/tcp.h | 2 +- sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c | 4 ++-- sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c | 2 +- sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c | 2 +- sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c | 2 +- sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c | 2 +- sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c | 2 +- sys/net/gnrc/transport_layer/tcp/internal/common.h | 2 +- sys/net/gnrc/transport_layer/tcp/internal/eventloop.h | 4 ++-- sys/net/gnrc/transport_layer/tcp/internal/fsm.h | 4 ++-- sys/net/gnrc/transport_layer/tcp/internal/option.h | 4 ++-- sys/net/gnrc/transport_layer/tcp/internal/pkt.h | 4 ++-- sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h | 2 +- tests/gnrc_tcp_client/main.c | 3 ++- tests/gnrc_tcp_server/main.c | 3 ++- 18 files changed, 28 insertions(+), 26 deletions(-) diff --git a/sys/include/net/gnrc/tcp.h b/sys/include/net/gnrc/tcp.h index 69758496fc..27bf39d57d 100644 --- a/sys/include/net/gnrc/tcp.h +++ b/sys/include/net/gnrc/tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief Gnrc TCP API + * @brief GNRC TCP API * * @author Simon Brummer */ diff --git a/sys/include/net/gnrc/tcp/config.h b/sys/include/net/gnrc/tcp/config.h index 70935fd0c1..9088c83686 100644 --- a/sys/include/net/gnrc/tcp/config.h +++ b/sys/include/net/gnrc/tcp/config.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief Gnrc tcp's configuration + * @brief GNRC TCP configuration * * @author Simon Brummer */ diff --git a/sys/include/net/gnrc/tcp/tcb.h b/sys/include/net/gnrc/tcp/tcb.h index 51cd8d5229..ffa11bbe89 100644 --- a/sys/include/net/gnrc/tcp/tcb.h +++ b/sys/include/net/gnrc/tcp/tcb.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief Gnrc tcp's transmission control block + * @brief GNRC TCP transmission control block * * @author Simon Brummer */ diff --git a/sys/include/net/tcp.h b/sys/include/net/tcp.h index 2a6a9756af..603b7bb98c 100644 --- a/sys/include/net/tcp.h +++ b/sys/include/net/tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c index 29d1d07a44..a15ee68515 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -11,7 +11,7 @@ * @{ * * @file - * @brief Gnrc tcp's API implementation + * @brief GNRC TCP API implementation * * @author Simon Brummer * @} diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c index 127784f4d4..bd182c2066 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c index 0e9dcc0bee..11df306639 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_fsm.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c index a76a15132a..9ed5063ac0 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_option.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c index f5ddf9e742..bbcc46f534 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_pkt.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c index 093c425024..adbf9e4459 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_rcvbuf.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/internal/common.h b/sys/net/gnrc/transport_layer/tcp/internal/common.h index 0f4354eddb..fcfaa20f5b 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/common.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/common.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h b/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h index fb93f2e909..febe85c535 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief Gnrc TCP's event processing loop delarations + * @brief TCP event loop delarations * * @author Simon Brummer */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/fsm.h b/sys/net/gnrc/transport_layer/tcp/internal/fsm.h index 9da82795a2..59788176af 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/fsm.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/fsm.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief Gnrc TCP's FSM declarations + * @brief TCP finite state maschine declarations * * @author Simon Brummer */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/option.h b/sys/net/gnrc/transport_layer/tcp/internal/option.h index 02b66add46..098a227e99 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/option.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/option.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief TCP option handling function declaration + * @brief TCP option handling declarations * * @author Simon Brummer */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/pkt.h b/sys/net/gnrc/transport_layer/tcp/internal/pkt.h index e168d8b9dd..0d18b720fa 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/pkt.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/pkt.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -14,7 +14,7 @@ * @{ * * @file - * @brief Gnrc tcb's paket handling declarations + * @brief TCP paket handling declarations * * @author Simon Brummer */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h b/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h index cab284de3b..451635453b 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level diff --git a/tests/gnrc_tcp_client/main.c b/tests/gnrc_tcp_client/main.c index 80d9cf799d..c9b34222cf 100644 --- a/tests/gnrc_tcp_client/main.c +++ b/tests/gnrc_tcp_client/main.c @@ -1,10 +1,11 @@ /* - * Copyright (C) 2015 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ + #include #include #include "net/af.h" diff --git a/tests/gnrc_tcp_server/main.c b/tests/gnrc_tcp_server/main.c index f958b92fa8..f94993fb30 100644 --- a/tests/gnrc_tcp_server/main.c +++ b/tests/gnrc_tcp_server/main.c @@ -1,10 +1,11 @@ /* - * Copyright (C) 2015 Simon Brummer + * Copyright (C) 2015-2017 Simon Brummer * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ + #include #include #include "thread.h"