blob: 9eaabf79186a06f0931d7666977d135aa0cc8104 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <ddekit/semaphore.h>
struct arping_elem
{
struct arping_elem *next;
struct sk_buff *skb;
};
extern ddekit_sem_t *arping_semaphore;
extern struct arping_elem *arping_list;
#define mac_fmt "%02X:%02X:%02X:%02X:%02X:%02X"
#define mac_str(mac) (unsigned char)((mac)[0]), (unsigned char)((mac)[1]),(mac)[2],(mac)[3],(mac)[4],(mac)[5]
|