VSF Documented
packet.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_NETPACKET_PACKET_H__
2#define __VSF_LINUX_NETPACKET_PACKET_H__
3
5
6#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED
7# include "../sys/types.h"
8#else
9# include <sys/types.h>
10#endif
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
17 unsigned short sll_family;
18 unsigned short sll_protocol;
20 unsigned short sll_hatype;
21 unsigned char sll_pkttype;
22 unsigned char sll_halen;
23 unsigned char sll_addr[8];
24};
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif
Definition packet.h:16
unsigned char sll_addr[8]
Definition packet.h:23
unsigned short sll_family
Definition packet.h:17
unsigned char sll_pkttype
Definition packet.h:21
unsigned char sll_halen
Definition packet.h:22
unsigned short sll_hatype
Definition packet.h:20
int sll_ifindex
Definition packet.h:19
unsigned short sll_protocol
Definition packet.h:18