<commit_before>/**
 * @file
 * @brief
 *
 * @date 12.08.11
 * @author <NAME>
 */

#include <net/neighbour.h>
#include <errno.h>
#include <kernel/softirq_lock.h>
#include <mem/misc/pool.h>
#include <string.h>
#include <util/dlist.h>
#include <time.h>
#include <util/list.h>
#include <util/array.h>
#include <sys/time.h>
#include <kernel/time/ktime.h>
#include <kernel/time/timer.h>
#include <net/l0/net_tx.h>
#include <util/binalign.h>

#include <framework/mod/options.h>
#include <embox/unit.h>

#include <net/l3/arp.h>
#include <net/l3/ndp.h>
#include <kernel/printk.h>
#include <net/netdevice.h>
#include <net/inetdevice.h>

#define MODOPS_NEIGHBOUR_AMOUNT   OPTION_GET(NUMBER, neighbour_amount)
#define MODOPS_NEIGHBOUR_EXPIRE   OPTION_GET(NUMBER, neighbour_expire)
#define MODOPS_NEIGHBOUR_TMR_FREQ OPTION_GET(NUMBER, neighbour_tmr_freq)
#define MODOPS_NEIGHBOUR_RESEND   OPTION_GET(NUMBER, neighbour_resend)
#define MODOPS_NEIGHBOUR_ATTEMPT  OPTION_GET(NUMBER, neighbour_attempt)

EMBOX_UNIT_INIT(neighbour_init);

POOL_DEF(neighbour_pool, struct neighbour, MODOPS_NEIGHBOUR_AMOUNT);
static LIST_DEF(neighbour_list);
static struct sys_timer neighbour_tmr;
<commit_msg>net: neighbour: Remove dlist inclusion<commit_after>/**
 * @file
 * @brief
 *
 * @date 12.08.11
 * @author <NAME>
 */

#include <net/neighbour.h>
#include <errno.h>
#include <kernel/softirq_lock.h>
#include <mem/misc/pool.h>
#include <string.h>
#include <time.h>
#include <util/list.h>
#include <util/array.h>
#include <sys/time.h>
#include <kernel/time/ktime.h>
#include <kernel/time/timer.h>
#include <net/l0/net_tx.h>
#include <util/binalign.h>

#include <framework/mod/options.h>
#include <embox/unit.h>

#include <net/l3/arp.h>
#include <net/l3/ndp.h>
#include <kernel/printk.h>
#include <net/netdevice.h>
#include <net/inetdevice.h>

#define MODOPS_NEIGHBOUR_AMOUNT   OPTION_GET(NUMBER, neighbour_amount)
#define MODOPS_NEIGHBOUR_EXPIRE   OPTION_GET(NUMBER, neighbour_expire)
#define MODOPS_NEIGHBOUR_TMR_FREQ OPTION_GET(NUMBER, neighbour_tmr_freq)
#define MODOPS_NEIGHBOUR_RESEND   OPTION_GET(NUMBER, neighbour_resend)
#define MODOPS_NEIGHBOUR_ATTEMPT  OPTION_GET(NUMBER, neighbour_attempt)

EMBOX_UNIT_INIT(neighbour_init);

POOL_DEF(neighbour_pool, struct neighbour, MODOPS_NEIGHBOUR_AMOUNT);
static LIST_DEF(neighbour_list);
static struct sys_timer neighbour_tmr;

{'fraction_non_alphanumeric': 0.1367703451214316, 'fraction_numerical': 0.007669365146996165, 'mean_word_length': 6.54983922829582, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, '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': '1636273', 'n_tokens_mistral': 981, 'n_tokens_neox': 950, 'n_words': 162}