dedup.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
27 #ifndef NET_GNRC_NETIF_DEDUP_H
28 #define NET_GNRC_NETIF_DEDUP_H
29 
30 #include <stdint.h>
31 
32 #include "net/gnrc/netif/conf.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
41 typedef struct {
42  uint8_t src[GNRC_NETIF_L2ADDR_MAXLEN];
43  uint16_t seq;
44  uint8_t src_len;
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* NET_GNRC_NETIF_DEDUP_H */
52 
GNRC_NETIF_L2ADDR_MAXLEN
#define GNRC_NETIF_L2ADDR_MAXLEN
Maximum length of the link-layer address.
Definition: conf.h:153
gnrc_netif_dedup_t
Structure to store information on the last broadcast packet received.
Definition: dedup.h:41
conf.h
Configuration macros for Network interface API.
gnrc_netif_dedup_t::src_len
uint8_t src_len
length of gnrc_netif_dedup_t:src
Definition: dedup.h:44
gnrc_netif_dedup_t::seq
uint16_t seq
link-layer sequence number
Definition: dedup.h:43