Skip to content

Commit

Permalink
cosmetics: restore Copyright for files coming from old zebra code
Browse files Browse the repository at this point in the history
Important to give credits back to original author ! so Kunihiro, here we go.
I did some extensions and improvements, but to be honnest I just didnt
fully remind what and which part was modified...
  • Loading branch information
acassen committed Aug 14, 2024
1 parent f242d0a commit e6f07ae
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 502 deletions.
2 changes: 1 addition & 1 deletion lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CFLAGS = -g -O2 $(INCLUDES) -Werror -Wall -Wunused -Wstrict-prototypes
DEFS = -D_GNU_SOURCE
COMPILE = $(CC) $(CFLAGS) $(DEFS)

OBJS = memory.o mpool.o utils.o timer.o vector.o rbtree.o daemon.o \
OBJS = memory.o utils.o timer.o vector.o rbtree.o daemon.o \
scheduler.o md5.o list_head.o pidfile.o prefix.o rt_table.o \
signals.o process.o logger.o buffer.o command.o vty.o \
pkt_buffer.o json_reader.o json_writer.o
Expand Down
21 changes: 3 additions & 18 deletions lib/buffer.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/* SPDX-License-Identifier: AGPL-3.0-or-later */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Soft: The main goal of gtp-guard is to provide robust and secure
* extensions to GTP protocol (GPRS Tunneling Procol). GTP is
* widely used for data-plane in mobile core-network. gtp-guard
* implements a set of 3 main frameworks:
* A Proxy feature for data-plane tweaking, a Routing facility
* to inter-connect and a Firewall feature for filtering,
* rewriting and redirecting.
*
* Authors: Alexandre Cassen, <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public
* License Version 3.0 as published by the Free Software Foundation;
* either version 3.0 of the License, or (at your option) any later
* version.
*
* Copyright (C) 2023-2024 Alexandre Cassen, <[email protected]>
* Buffering of output and input.
* Copyright (C) 1998 Kunihiro Ishiguro
*/

#include <stddef.h>
Expand Down
21 changes: 3 additions & 18 deletions lib/buffer.h
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/* SPDX-License-Identifier: AGPL-3.0-or-later */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Soft: The main goal of gtp-guard is to provide robust and secure
* extensions to GTP protocol (GPRS Tunneling Procol). GTP is
* widely used for data-plane in mobile core-network. gtp-guard
* implements a set of 3 main frameworks:
* A Proxy feature for data-plane tweaking, a Routing facility
* to inter-connect and a Firewall feature for filtering,
* rewriting and redirecting.
*
* Authors: Alexandre Cassen, <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public
* License Version 3.0 as published by the Free Software Foundation;
* either version 3.0 of the License, or (at your option) any later
* version.
*
* Copyright (C) 2023-2024 Alexandre Cassen, <[email protected]>
* Buffering of output and input.
* Copyright (C) 1998 Kunihiro Ishiguro
*/

#ifndef _BUFFER_H
Expand Down
21 changes: 3 additions & 18 deletions lib/command.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/* SPDX-License-Identifier: AGPL-3.0-or-later */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Soft: The main goal of gtp-guard is to provide robust and secure
* extensions to GTP protocol (GPRS Tunneling Procol). GTP is
* widely used for data-plane in mobile core-network. gtp-guard
* implements a set of 3 main frameworks:
* A Proxy feature for data-plane tweaking, a Routing facility
* to inter-connect and a Firewall feature for filtering,
* rewriting and redirecting.
*
* Authors: Alexandre Cassen, <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public
* License Version 3.0 as published by the Free Software Foundation;
* either version 3.0 of the License, or (at your option) any later
* version.
*
* Copyright (C) 2023-2024 Alexandre Cassen, <[email protected]>
* Zebra configuration command interface routine
* Copyright (C) 1997, 98 Kunihiro Ishiguro
*/

#include <ctype.h>
Expand Down
21 changes: 3 additions & 18 deletions lib/command.h
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/* SPDX-License-Identifier: AGPL-3.0-or-later */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Soft: The main goal of gtp-guard is to provide robust and secure
* extensions to GTP protocol (GPRS Tunneling Procol). GTP is
* widely used for data-plane in mobile core-network. gtp-guard
* implements a set of 3 main frameworks:
* A Proxy feature for data-plane tweaking, a Routing facility
* to inter-connect and a Firewall feature for filtering,
* rewriting and redirecting.
*
* Authors: Alexandre Cassen, <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public
* License Version 3.0 as published by the Free Software Foundation;
* either version 3.0 of the License, or (at your option) any later
* version.
*
* Copyright (C) 2023-2024 Alexandre Cassen, <[email protected]>
* Zebra configuration command interface routine
* Copyright (C) 1997, 98 Kunihiro Ishiguro
*/

#ifndef _COMMAND_H
Expand Down
2 changes: 2 additions & 0 deletions lib/list_head.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* Copyright (C) 2023-2024 Alexandre Cassen, <[email protected]>
*/

/* This file is copied from the Linux kernel include/linux/list.h file */

#ifndef _LIST_HEAD_H
#define _LIST_HEAD_H

Expand Down
208 changes: 0 additions & 208 deletions lib/mpool.c

This file was deleted.

68 changes: 0 additions & 68 deletions lib/mpool.h

This file was deleted.

Loading

0 comments on commit e6f07ae

Please sign in to comment.