1
#ifndef _NETPACKET_PACKET_H
2
#define _NETPACKET_PACKET_H
9
unsigned short sll_family, sll_protocol;
11
unsigned short sll_hatype;
12
unsigned char sll_pkttype, sll_halen;
13
unsigned char sll_addr[8];
18
unsigned short int mr_type, mr_alen;
19
unsigned char mr_address[8];
23
#define PACKET_BROADCAST 1
24
#define PACKET_MULTICAST 2
25
#define PACKET_OTHERHOST 3
26
#define PACKET_OUTGOING 4
27
#define PACKET_LOOPBACK 5
28
#define PACKET_FASTROUTE 6
30
#define PACKET_ADD_MEMBERSHIP 1
31
#define PACKET_DROP_MEMBERSHIP 2
32
#define PACKET_RECV_OUTPUT 3
33
#define PACKET_RX_RING 5
34
#define PACKET_STATISTICS 6
36
#define PACKET_MR_MULTICAST 0
37
#define PACKET_MR_PROMISC 1
38
#define PACKET_MR_ALLMULTI 2