#ifndef _CORE_SOCKIOS_H_
#define _CORE_SOCKIOS_H_

#define SIOCGIFNAME	0x8910		// Access interface name
#define SIOCSIFNAME	0x8923

#define SIOCGIFFLAGS	0x8913		// Access interface flags
#define SIOCSIFFLAGS	0x8914

#define SIOCGIFADDR	0x8915		// Access IP address
#define SIOCSIFADDR	0x8916
#define SIOCDIFADDR	0x8936		// Delete IP address

#define SIOCGIFTRACE	0x8917		// Access interface trace level
#define SIOCSIFTRACE	0x8918

#define SIOCGIFBRDADDR	0x8919		// Access broadcast address
#define SIOCSIFBRDADDR	0x891A

#define SIOCGIFMTU	0x8921		// Access MTU size
#define SIOCSIFMTU	0x8922

#define SIOCGIFNETMASK	0x891B		// Access IP netmask
#define SIOCSIFNETMASK	0x891C

#define SIOCGIFMETRIC	0x891D		// Access Metric
#define SIOCSIFMETRIC	0x891F

#define	SIOCSIFHWADDR	0x8924		// Access hardware address
#define SIOCGIFHWADDR	0x8927

#define SIOCGIFENCAP	0x8925		// Access encapsulation
#define SIOCSIFENCAP	0x8926		

#define SIOCGIFINDEX	0x8933		// Get index for name

#endif
