netsniff-ng: Store getgid() result in correct member of struct context
[netsniff-ng.git] / linktype.h
bloba78f8be43b8751b549bf1c33cc381f116219a4b4
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2009 - 2013 Daniel Borkmann.
4 * Subject to the GPL, version 2.
5 */
7 #ifndef LINKTYPE_H
8 #define LINKTYPE_H
10 #define LINKTYPE_NULL 0
11 #define LINKTYPE_EN10MB 1
12 #define LINKTYPE_EN3MB 2
13 #define LINKTYPE_AX25 3
14 #define LINKTYPE_PRONET 4
15 #define LINKTYPE_CHAOS 5
16 #define LINKTYPE_IEEE802 6
17 #define LINKTYPE_SLIP 8
18 #define LINKTYPE_PPP 9
19 #define LINKTYPE_FDDI 10
20 #define LINKTYPE_ATM_CLIP 19
21 #define LINKTYPE_C_HDLC 104
22 #define LINKTYPE_IEEE802_11 105
23 #define LINKTYPE_FRELAY 107
24 #define LINKTYPE_ECONET 115
25 #define LINKTYPE_IEEE802_11_RADIOTAP 127
26 #define LINKTYPE_ARCNET_LINUX 129
27 #define LINKTYPE_LINUX_IRDA 144
28 #define LINKTYPE_CAN20B 190
29 #define LINKTYPE_IEEE802_15_4_LINUX 191
30 #define LINKTYPE_INFINIBAND 247
31 #define LINKTYPE_NETLINK 253
32 #define LINKTYPE_MAX 254
34 #endif