| OLD | NEW |
| 1 #ifndef _NETPACKET_PACKET_H | 1 #ifndef _NETPACKET_PACKET_H |
| 2 #define _NETPACKET_PACKET_H | 2 #define _NETPACKET_PACKET_H |
| 3 | 3 |
| 4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
| 5 extern "C" { | 5 extern "C" { |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 struct sockaddr_ll { | 8 struct sockaddr_ll { |
| 9 unsigned short sll_family, sll_protocol; | 9 unsigned short sll_family, sll_protocol; |
| 10 int sll_ifindex; | 10 int sll_ifindex; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #define PACKET_OTHERHOST 3 | 25 #define PACKET_OTHERHOST 3 |
| 26 #define PACKET_OUTGOING 4 | 26 #define PACKET_OUTGOING 4 |
| 27 #define PACKET_LOOPBACK 5 | 27 #define PACKET_LOOPBACK 5 |
| 28 #define PACKET_FASTROUTE 6 | 28 #define PACKET_FASTROUTE 6 |
| 29 | 29 |
| 30 #define PACKET_ADD_MEMBERSHIP 1 | 30 #define PACKET_ADD_MEMBERSHIP 1 |
| 31 #define PACKET_DROP_MEMBERSHIP 2 | 31 #define PACKET_DROP_MEMBERSHIP 2 |
| 32 #define PACKET_RECV_OUTPUT 3 | 32 #define PACKET_RECV_OUTPUT 3 |
| 33 #define PACKET_RX_RING 5 | 33 #define PACKET_RX_RING 5 |
| 34 #define PACKET_STATISTICS 6 | 34 #define PACKET_STATISTICS 6 |
| 35 #define PACKET_COPY_THRESH 7 |
| 36 #define PACKET_AUXDATA 8 |
| 37 #define PACKET_ORIGDEV 9 |
| 38 #define PACKET_VERSION 10 |
| 39 #define PACKET_HDRLEN 11 |
| 40 #define PACKET_RESERVE 12 |
| 41 #define PACKET_TX_RING 13 |
| 42 #define PACKET_LOSS 14 |
| 43 #define PACKET_VNET_HDR 15 |
| 44 #define PACKET_TX_TIMESTAMP 16 |
| 45 #define PACKET_TIMESTAMP 17 |
| 46 #define PACKET_FANOUT 18 |
| 47 #define PACKET_TX_HAS_OFF 19 |
| 48 #define PACKET_QDISC_BYPASS 20 |
| 49 #define PACKET_ROLLOVER_STATS 21 |
| 50 #define PACKET_FANOUT_DATA 22 |
| 35 | 51 |
| 36 #define PACKET_MR_MULTICAST 0 | 52 #define PACKET_MR_MULTICAST 0 |
| 37 #define PACKET_MR_PROMISC 1 | 53 #define PACKET_MR_PROMISC 1 |
| 38 #define PACKET_MR_ALLMULTI 2 | 54 #define PACKET_MR_ALLMULTI 2 |
| 55 #define PACKET_MR_UNICAST 3 |
| 39 | 56 |
| 40 #ifdef __cplusplus | 57 #ifdef __cplusplus |
| 41 } | 58 } |
| 42 #endif | 59 #endif |
| 43 | 60 |
| 44 #endif | 61 #endif |
| OLD | NEW |