<commit_before>#include <errno.h>
#include <getopt.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wordexp.h>

#include <rte_branch_prediction.h>
#include <rte_common.h>
#include <rte_config.h>
#include <rte_cycles.h>
#include <rte_eal.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
#include <rte_launch.h>
#include <rte_lcore.h>
#include <rte_log.h>
#include <rte_mbuf.h>
#include <rte_mempool.h>
#include <rte_pci.h>
#include <rte_prefetch.h>

#include <pcap/pcap.h>

#include "common.h"
#include "dpdk.h"
#include "ethernet.h"
#include "je_utils.h"
#include "re_utils.h"
#include "sdn_sensor.h"
#include "sensor_conf.h"
#include "tcp.h"

/* GLOBAL VARIABLES */

pcap_t*        ss_pcap = NULL;
ss_conf_t*     ss_conf = NULL;
rte_mempool_t* ss_pool[SOCKET_COUNT] = { NULL };

/* ethernet addresses of ports */
struct ether_addr port_eth_addrs[RTE_MAX_ETHPORTS];

//const char* icmp_payload = "mhallmhallmhallmhallmhallmhallmhallmhall!!!!!!!!";

static mbuf_table_entry_t mbuf_table[RTE_MAX_ETHPORTS][RTE_MAX_LCORE];<commit_msg>sdn_sensor.c: remove unused code<commit_after>#include <errno.h>
#include <getopt.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <wordexp.h>

#include <rte_branch_prediction.h>
#include <rte_common.h>
#include <rte_config.h>
#include <rte_cycles.h>
#include <rte_eal.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
#include <rte_launch.h>
#include <rte_lcore.h>
#include <rte_log.h>
#include <rte_mbuf.h>
#include <rte_mempool.h>
#include <rte_pci.h>
#include <rte_prefetch.h>

#include <pcap/pcap.h>

#include "common.h"
#include "dpdk.h"
#include "ethernet.h"
#include "je_utils.h"
#include "re_utils.h"
#include "sdn_sensor.h"
#include "sensor_conf.h"
#include "tcp.h"

/* GLOBAL VARIABLES */

pcap_t*        ss_pcap = NULL;
ss_conf_t*     ss_conf = NULL;
rte_mempool_t* ss_pool[SOCKET_COUNT] = { NULL };

/* ethernet addresses of ports */
struct ether_addr port_eth_addrs[RTE_MAX_ETHPORTS];

static mbuf_table_entry_t mbuf_table[RTE_MAX_ETHPORTS][RTE_MAX_LCORE];
{'fraction_non_alphanumeric': 0.15643747115828335, 'fraction_numerical': 0.0, 'mean_word_length': 6.016181229773463, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4845916', 'n_tokens_mistral': 977, 'n_tokens_neox': 967, 'n_words': 176}