Merge pull request #9123 from maribu/pack_structs
gnrc/netif/hdr.h: Optimized structure layout
This commit is contained in:
commit
d6f9be77b5
@ -85,8 +85,8 @@ typedef struct {
|
|||||||
uint8_t dst_l2addr_len; /**< length of l2 destination address in byte */
|
uint8_t dst_l2addr_len; /**< length of l2 destination address in byte */
|
||||||
kernel_pid_t if_pid; /**< PID of network interface */
|
kernel_pid_t if_pid; /**< PID of network interface */
|
||||||
uint8_t flags; /**< flags as defined above */
|
uint8_t flags; /**< flags as defined above */
|
||||||
int16_t rssi; /**< rssi of received packet in dBm (optional) */
|
|
||||||
uint8_t lqi; /**< lqi of received packet (optional) */
|
uint8_t lqi; /**< lqi of received packet (optional) */
|
||||||
|
int16_t rssi; /**< rssi of received packet in dBm (optional) */
|
||||||
} gnrc_netif_hdr_t;
|
} gnrc_netif_hdr_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user