Skip to content

Commit

Permalink
Added ndpi_find_protocol_qoe() API call
Browse files Browse the repository at this point in the history
Updated (C)
  • Loading branch information
lucaderi committed Feb 10, 2025
1 parent 64d5367 commit 1577955
Show file tree
Hide file tree
Showing 95 changed files with 545 additions and 517 deletions.
2 changes: 1 addition & 1 deletion example/ndpiReader.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpiReader.c
*
* Copyright (C) 2011-24 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion example/ndpiSimpleIntegration.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion example/reader_util.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* reader_util.c
*
* Copyright (C) 2011-24 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion example/reader_util.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_util.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion influxdb/metric_anomaly.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* metric_anomaly.c
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rrdtool/rrd_anomaly.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* rrd_anomaly.c
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion rrdtool/rrd_similarity.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* rrd_similarity.c
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
12 changes: 11 additions & 1 deletion src/include/ndpi_api.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_api.h
*
* Copyright (C) 2011-24 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down Expand Up @@ -587,6 +587,16 @@ extern "C" {
void ndpi_set_proto_category(struct ndpi_detection_module_struct *ndpi_mod,
u_int16_t protoId, ndpi_protocol_category_t protoCategory);

/**
* Find the QoE category for the specified protocol
*
* @par ndpi_mod = the detection module
* @par protoId = the protocol identifier we're searhing
*
*/
ndpi_protocol_qoe_category_t ndpi_find_protocol_qoe(struct ndpi_detection_module_struct *ndpi_str,
u_int16_t protoId);

/**
* Check if subprotocols of the specified master protocol are just
* informative (and not real)
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_includes.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_includes.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_includes_OpenBSD.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_includes_OpenBSD.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_main.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_main.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_patricia_typedefs.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_patricia_typedef.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_private.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2011-24 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_protocol_ids.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_protocol_ids.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_typedefs.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_typedefs.h
*
* Copyright (C) 2011-23 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_unix.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_unix.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/include/ndpi_win32.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_win32.h
*
* Copyright (C) 2011-22 - ntop.org
* Copyright (C) 2011-25 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ndpi_binary_bitmap.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_binary_bitmap.c
*
* Copyright (C) 2011-23 - ntop.org and contributors
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
5 changes: 1 addition & 4 deletions src/lib/ndpi_bitmap.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* ndpi_bitmap.c
*
* Copyright (C) 2011-24 - ntop.org and contributors
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ndpi_bitmap64_fuse.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_bitmap64_fuse.c
*
* Copyright (C) 2011-24 - ntop.org and contributors
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
5 changes: 1 addition & 4 deletions src/lib/ndpi_cache.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* ndpi_main.c
*
* Copyright (C) 2011-24 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
* Copyright (C) 2011-25 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
5 changes: 1 addition & 4 deletions src/lib/ndpi_community_id.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* ndpi_community_id.c
*
* Copyright (C) 2011-23 - ntop.org and contributors
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ndpi_domain_classify.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_domain_classify.c
*
* Copyright (C) 2011-24 - ntop.org and contributors
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ndpi_domains.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* ndpi_domains.c
*
* Copyright (C) 2011-24 - ntop.org and contributors
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
5 changes: 1 addition & 4 deletions src/lib/ndpi_filter.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* ndpi_filter.c
*
* Copyright (C) 2011-23 - ntop.org and contributors
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
5 changes: 1 addition & 4 deletions src/lib/ndpi_hash.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* ndpi_bitmap.c
*
* Copyright (C) 2011-23 - ntop.org and contributors
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
* Copyright (C) 2011-25 - ntop.org and contributors
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
Loading

0 comments on commit 1577955

Please sign in to comment.