Permalink
Browse files

Copyright update

  • Loading branch information...
cardigliano committed Jan 7, 2019
1 parent 80b0ff8 commit 3dfc9af511b0117ee7021d3c43742b460e321e6b
Showing with 94 additions and 94 deletions.
  1. +1 −1 kernel/linux/pf_ring.h
  2. +1 −1 kernel/pf_ring.c
  3. +1 −1 userland/examples/alldevs.c
  4. +1 −1 userland/examples/pcap2nspcap.c
  5. +2 −2 userland/examples/pcount.c
  6. +1 −1 userland/examples/pfbridge.c
  7. +2 −2 userland/examples/pfcount.c
  8. +1 −1 userland/examples/pfcount_82599.c
  9. +1 −1 userland/examples/pfcount_multichannel.c
  10. +1 −1 userland/examples/pfdump.c
  11. +2 −2 userland/examples/pfflow_offload.c
  12. +1 −1 userland/examples/pflatency.c
  13. +2 −2 userland/examples/pfsend.c
  14. +1 −1 userland/examples/pfsystest.c
  15. +1 −1 userland/examples/pftimeline.c
  16. +1 −1 userland/examples/pfutils.c
  17. +2 −2 userland/examples/pfwrite.c
  18. +1 −1 userland/examples/preflect.c
  19. +1 −1 userland/examples_ft/ftutils.c
  20. +2 −2 userland/examples_zc/zbalance.c
  21. +1 −1 userland/examples_zc/zbalance_DC_ipc.c
  22. +2 −2 userland/examples_zc/zbalance_ipc.c
  23. +2 −2 userland/examples_zc/zbounce.c
  24. +2 −2 userland/examples_zc/zbounce_ipc.c
  25. +2 −2 userland/examples_zc/zcount.c
  26. +2 −2 userland/examples_zc/zcount_ipc.c
  27. +2 −2 userland/examples_zc/zfanout_ipc.c
  28. +2 −2 userland/examples_zc/zfifo.c
  29. +2 −2 userland/examples_zc/zpipeline.c
  30. +2 −2 userland/examples_zc/zpipeline_ipc.c
  31. +2 −2 userland/examples_zc/zreplicator.c
  32. +3 −3 userland/examples_zc/zsend.c
  33. +1 −1 userland/examples_zc/zutils.c
  34. +1 −1 userland/lib/pfring.c
  35. +1 −1 userland/lib/pfring.h
  36. +1 −1 userland/lib/pfring_hw_filtering.c
  37. +1 −1 userland/lib/pfring_hw_filtering.h
  38. +1 −1 userland/lib/pfring_hw_timestamp.c
  39. +1 −1 userland/lib/pfring_hw_timestamp.h
  40. +1 −1 userland/lib/pfring_i82599.c
  41. +1 −1 userland/lib/pfring_mod.c
  42. +1 −1 userland/lib/pfring_mod.h
  43. +1 −1 userland/lib/pfring_mod_stack.c
  44. +1 −1 userland/lib/pfring_mod_stack.h
  45. +1 −1 userland/lib/pfring_mod_sysdig.c
  46. +1 −1 userland/lib/pfring_mod_sysdig.h
  47. +1 −1 userland/lib/pfring_redirector.c
  48. +1 −1 userland/lib/pfring_utils.c
  49. +1 −1 userland/lib/pfring_utils.h
  50. +1 −1 userland/lib/pfring_zc.h
  51. +1 −1 userland/nbpf/list.h
  52. +1 −1 userland/nbpf/nbpf.h
  53. +1 −1 userland/nbpf/nbpf_mod_fiberblaze.c
  54. +1 −1 userland/nbpf/nbpf_mod_fiberblaze.h
  55. +1 −1 userland/nbpf/nbpf_mod_napatech.c
  56. +1 −1 userland/nbpf/nbpf_mod_napatech.h
  57. +1 −1 userland/nbpf/nbpf_mod_rdif.c
  58. +1 −1 userland/nbpf/nbpf_mod_rdif.h
  59. +1 −1 userland/nbpf/nbpftest.c
  60. +1 −1 userland/nbpf/parser.c
  61. +1 −1 userland/nbpf/parser.h
  62. +1 −1 userland/nbpf/rules.c
  63. +1 −1 userland/nbpf/tree_match.c
  64. +1 −1 userland/nbroker/cli/nbroker-cli.c
  65. +1 −1 userland/nbroker/nbrokerd/cmdtest.c
  66. +2 −2 userland/nbroker/nbrokerd/daemon.c
  67. +1 −1 userland/nbroker/nbrokerd/rules_hash.c
  68. +1 −1 userland/nbroker/nbrokerd/rules_hash.h
  69. +1 −1 userland/nbroker/nbrokerd/utils.c
  70. +1 −1 userland/nbroker/nbrokerd/utils.h
  71. +1 −1 userland/nbroker/nbrokerlib/common.h
  72. +1 −1 userland/nbroker/nbrokerlib/nbroker_api.c
  73. +1 −1 userland/nbroker/nbrokerlib/nbroker_api.h
  74. +1 −1 userland/nbroker/nbrokerlib/parser.c
  75. +1 −1 userland/nbroker/nbrokerlib/parser.h
@@ -2,7 +2,7 @@
*
* Definitions for packet ring
*
* 2004-2018 - ntop.org
* 2004-2019 - ntop.org
*
*/

@@ -1,6 +1,6 @@
/* ***************************************************************
*
* (C) 2004-2018 - ntop.org
* (C) 2004-2019 - ntop.org
*
* This code includes contributions courtesy of
* - Amit D. Chaudhary <amit_ml@rajgad.com>
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -315,7 +315,7 @@ void printHelp(void) {
char errbuf[PCAP_ERRBUF_SIZE];
pcap_if_t *devpointer;

printf("pcount\n(C) 2003-2018 Deri Luca <deri@ntop.org>\n");
printf("pcount\n(C) 2003-2019 Deri Luca <deri@ntop.org>\n");
printf("-h [Print help]\n");
printf("-i <device> [Device name]\n");
printf("-f <filter> [pcap filter]\n");
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -648,7 +648,7 @@ void printDevs() {
/* *************************************** */

void printHelp(void) {
printf("pfcount - (C) 2005-2018 ntop.org\n\n");
printf("pfcount - (C) 2005-2019 ntop.org\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name. Use:\n"
" - ethX@Y for channels\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2017-2018 - ntop
* (C) 2017-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -149,7 +149,7 @@ void processBuffer(const struct pfring_pkthdr *h,
/* *************************************** */

void printHelp(void) {
printf("pfflow_offload - (C) 2017-2018 ntop.org\n");
printf("pfflow_offload - (C) 2017-2019 ntop.org\n");
printf("Flow processing based on hardware offload\n\n");
printf("-h Print this help\n");
printf("-i <device> Device name. Use:\n");
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -223,7 +223,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfsend - (C) 2011-2018 ntop.org\n");
printf("pfsend - (C) 2011-2019 ntop.org\n");
printf("Replay synthetic traffic, or a pcap, or a packet in hex format from standard input.\n\n");
printf("pfsend -i out_dev [-a] [-f <.pcap file>] [-g <core_id>] [-h]\n"
" [-l <length>] [-n <num>] "
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -99,7 +99,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("pfwrite - (C) 2003-2018 Deri Luca <deri@ntop.org>\n");
printf("pfwrite - (C) 2003-2019 Deri Luca <deri@ntop.org>\n");
printf("-h [Print help]\n");
printf("-i <device> [Device name]\n");
printf("-w <dump file> [Dump file path]\n");
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -160,7 +160,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbalance - (C) 2014-2018 ntop.org\n");
printf("zbalance - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master thread balancing packets to multiple consumer threads counting packets.\n\n");
printf("Usage: zbalance -i <device> -c <cluster id> -g <id:id...>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -383,7 +383,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbalance_ipc - (C) 2014-2018 ntop.org\n");
printf("zbalance_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master process balancing packets to multiple consumer processes.\n\n");
printf("Usage: zbalance_ipc -i <device> -c <cluster id> -n <num inst>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -150,7 +150,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbounce - (C) 2014-2018 ntop.org\n");
printf("zbounce - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A packet forwarder application between interfaces.\n\n");
printf("Usage: zbounce -i <device> -o <device> -c <cluster id> [-b]\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -134,7 +134,7 @@ void my_sigalarm(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zbounce_ipc - (C) 2014-2018 ntop.org\n");
printf("zbounce_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A packet forwarder application between sw queues.\n\n");
printf("Usage: zbounce_ipc -i <queue id> -o <queue id> -c <cluster id>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -163,7 +163,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zcount - (C) 2014-2018 ntop.org\n");
printf("zcount - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A simple packet counter application.\n\n");
printf("Usage: zcount -i <device> -c <cluster id>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -139,7 +139,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zcount_ipc - (C) 2014-2018 ntop.org\n");
printf("zcount_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A simple packet counter application consuming packets from a sw queue.\n\n");
printf("Usage: zcount_ipc -i <queue id> -c <cluster id>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -187,7 +187,7 @@ void sigproc(int sig) {
/* ******************************** */

void printHelp(void) {
printf("zfanout_ipc - (C) 2014-2018 ntop.org\n");
printf("zfanout_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master process sending all ingress packets to all the consumer processes (e.g. zcount_ipc -c <cluster id> -i <consumer id>).\n");
printf("Note: this is an alternative to zbalance -m 2\n\n");
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -179,7 +179,7 @@ void sigproc(int sig) {
/* ******************************** */

void printHelp(void) {
printf("zfifo - (C) 2014-2018 ntop.org\n");
printf("zfifo - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master thread reordering packets from multiple interfaces with\n"
"hw timestamps support, and delivering them to a consumer thread. (experimental)\n\n");
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -129,7 +129,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zpipeline - (C) 2014-2018 ntop.org\n");
printf("zpipeline - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A pipeline of threads sending ingress packets to the next thread.\n\n");
printf("Usage: zpipeline -i <device> -c <cluster id> -g <id:id...>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -154,7 +154,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zpipeline_ipc - (C) 2014-2018 ntop.org\n");
printf("zpipeline_ipc - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A master process sending packets from a source interface to a sw queue and from a sw queue to a destination interface (first and last stage of a pipeline)\n\n");
printf("Usage: zpipeline_ipc -i <device>;<queue> -o <device>;<queue> -n <num queues>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -163,7 +163,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zreplicator - (C) 2014-2018 ntop.org\n");
printf("zreplicator - (C) 2014-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("Read packets from multiple ingress devices and replicate it on multipe egress devices.\n\n");
printf("Usage: zreplicator -i <device> -o <device> -c <cluster id> [-h] [-g <core id>] [-a]\n\n");
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -193,7 +193,7 @@ static void forge_udp_packet(u_char *buffer, u_int idx) {
struct udp_header *udp_header;
u_int32_t src_ip = 0x0A000000; /* 10.0.0.0 */
u_int32_t dst_ip = 0xC0A80001; /* 192.168.0.1 */
u_int16_t src_port = 2014-2018, dst_port = 3000;
u_int16_t src_port = 2014-2019, dst_port = 3000;

if (num_ips == 0) {
src_ip |= idx & 0xFFFFFF;
@@ -355,7 +355,7 @@ void sigproc(int sig) {
/* *************************************** */

void printHelp(void) {
printf("zsend - (C) 2014-2018-2018 ntop.org\n");
printf("zsend - (C) 2014-2019-2019 ntop.org\n");
printf("Using PFRING_ZC v.%s\n", pfring_zc_version());
printf("A traffic generator able to replay synthetic udp packets or hex from standard input.\n");
printf("Usage: zsend -i <device> -c <cluster id>\n"
@@ -1,5 +1,5 @@
/*
* (C) 2003-2018 - ntop
* (C) 2003-2019 - ntop
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Oops, something went wrong.

0 comments on commit 3dfc9af

Please sign in to comment.