// SPDX-License-Identifier: GPL-2.0/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors: * * Edo Monticelli, Antonio Quartulli */#include"tp_meter.h"#include"main.h"#include<linux/atomic.h>#include<linux/build_bug.h>#include<linux/byteorder/generic.h>#include<linux/cache.h>#include<linux/compiler.h>#include<linux/err.h>#include<linux/etherdevice.h>#include<linux/gfp.h>#include<linux/if_ether.h>#include<linux/init.h>#include<linux/jiffies.h>#include<linux/kernel.h>#include<linux/kref.h>#include<linux/kthread.h>#include<linux/limits.h>#include<linux/list.h>#include<linux/netdevice.h>#include<linux/param.h>#include<linux/printk.h>#include<linux/random.h>#include<linux/rculist.h>#include<linux/rcupdate.h>#include<linux/sched.h>#include<linux/skbuff.h>#include<linux/slab.h>#include<linux/spinlock.h>#include<linux/stddef.h>#include<linux/string.h>#include<linux/timer.h>#include<linux/wait.h>#include<linux/workqueue.h>#include<uapi/linux/batadv_packet.h>#include<uapi/linux/batman_adv.h>#include"hard-interface.h"#include"log.h"#include"netlink.h"#include"originator.h"#include"send.h"/** * BATADV_TP_DEF_TEST_LENGTH - Default test length if not specified by the user * in milliseconds */#define BATADV_TP_DEF_TEST_LENGTH 10000/** * BAT