forked from russdill/ncsvc-socks-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ioctl_sockios.c
77 lines (76 loc) · 1.97 KB
/
ioctl_sockios.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#include "preload.h"
const struct ioctl_names ioctl_sockios[] = {
{0x890B, "SIOCADDRT"},
{0x890C, "SIOCDELRT"},
{0x890D, "SIOCRTMSG"},
{0x8910, "SIOCGIFNAME"},
{0x8911, "SIOCSIFLINK"},
{0x8912, "SIOCGIFCONF"},
{0x8913, "SIOCGIFFLAGS"},
{0x8914, "SIOCSIFFLAGS"},
{0x8915, "SIOCGIFADDR"},
{0x8916, "SIOCSIFADDR"},
{0x8917, "SIOCGIFDSTADDR"},
{0x8918, "SIOCSIFDSTADDR"},
{0x8919, "SIOCGIFBRDADDR"},
{0x891a, "SIOCSIFBRDADDR"},
{0x891b, "SIOCGIFNETMASK"},
{0x891c, "SIOCSIFNETMASK"},
{0x891d, "SIOCGIFMETRIC"},
{0x891e, "SIOCSIFMETRIC"},
{0x891f, "SIOCGIFMEM"},
{0x8920, "SIOCSIFMEM"},
{0x8921, "SIOCGIFMTU"},
{0x8922, "SIOCSIFMTU"},
{0x8923, "SIOCSIFNAME"},
{0x8924, "SIOCSIFHWADDR"},
{0x8925, "SIOCGIFENCAP"},
{0x8926, "SIOCSIFENCAP"},
{0x8927, "SIOCGIFHWADDR"},
{0x8929, "SIOCGIFSLAVE"},
{0x8930, "SIOCSIFSLAVE"},
{0x8931, "SIOCADDMULTI"},
{0x8932, "SIOCDELMULTI"},
{0x8933, "SIOCGIFINDEX"},
{0x8934, "SIOCSIFPFLAGS"},
{0x8935, "SIOCGIFPFLAGS"},
{0x8936, "SIOCDIFADDR"},
{0x8937, "SIOCSIFHWBROADCAST"},
{0x8938, "SIOCGIFCOUNT"},
{0x8940, "SIOCGIFBR"},
{0x8941, "SIOCSIFBR"},
{0x8942, "SIOCGIFTXQLEN"},
{0x8943, "SIOCSIFTXQLEN"},
{0x8946, "SIOCETHTOOL"},
{0x8947, "SIOCGMIIPHY"},
{0x8948, "SIOCGMIIREG"},
{0x8949, "SIOCSMIIREG"},
{0x894A, "SIOCWANDEV"},
{0x894B, "SIOCOUTQNSD"},
{0x8953, "SIOCDARP"},
{0x8954, "SIOCGARP"},
{0x8955, "SIOCSARP"},
{0x8960, "SIOCDRARP"},
{0x8961, "SIOCGRARP"},
{0x8962, "SIOCSRARP"},
{0x8970, "SIOCGIFMAP"},
{0x8971, "SIOCSIFMAP"},
{0x8980, "SIOCADDDLCI"},
{0x8981, "SIOCDELDLCI"},
{0x8982, "SIOCGIFVLAN"},
{0x8983, "SIOCSIFVLAN"},
{0x8990, "SIOCBONDENSLAVE"},
{0x8991, "SIOCBONDRELEASE"},
{0x8992, "SIOCBONDSETHWADDR"},
{0x8993, "SIOCBONDSLAVEINFOQUERY"},
{0x8994, "SIOCBONDINFOQUERY"},
{0x8995, "SIOCBONDCHANGEACTIVE"},
{0x89a0, "SIOCBRADDBR"},
{0x89a1, "SIOCBRDELBR"},
{0x89a2, "SIOCBRADDIF"},
{0x89a3, "SIOCBRDELIF"},
{0x89b0, "SIOCSHWTSTAMP"},
{0x89F0, "SIOCDEVPRIVATE"},
{0x89E0, "SIOCPROTOPRIVATE"},
{0, ""}
};