VSF Documented
sockios.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_SOCKIOS_H__
2#define __VSF_LINUX_SOCKIOS_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#define SIOCGIFNAME 0x8910 /* get iface name */
9#define SIOCGIFCONF 0x8912 /* get iface list */
10#define SIOCGIFFLAGS 0x8913 /* get flags */
11#define SIOCSIFFLAGS 0x8914 /* set flags */
12#define SIOCGIFADDR 0x8915 /* get PA address */
13#define SIOCSIFADDR 0x8916 /* set PA address */
14#define SIOCGIFDSTADDR 0x8917 /* get remote PA address */
15#define SIOCSIFDSTADDR 0x8918 /* set remote PA address */
16#define SIOCGIFBRDADDR 0x8919 /* get broadcast PA address */
17#define SIOCSIFBRDADDR 0x891a /* set broadcast PA address */
18#define SIOCGIFNETMASK 0x891b /* get network PA mask */
19#define SIOCSIFNETMASK 0x891c /* set network PA mask */
20#define SIOCGIFMTU 0x8921 /* get MTU size */
21#define SIOCSIFMTU 0x8922 /* set MTU size */
22#define SIOCSIFNAME 0x8923 /* set interface name */
23#define SIOCSIFHWADDR 0x8924 /* set hardware address */
24#define SIOCGIFHWADDR 0x8927 /* Get hardware address */
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif