* Changed the enum into defines, so that apps can check whether or not they
exist (as mDNSResponder does, for example). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31588 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+41
-43
@@ -6,52 +6,50 @@
|
|||||||
#define _SYS_SOCKIO_H
|
#define _SYS_SOCKIO_H
|
||||||
|
|
||||||
|
|
||||||
enum {
|
#define SIOCADDRT 8900 /* add route */
|
||||||
SIOCADDRT = 8900, /* add route */
|
#define SIOCDELRT 8901 /* delete route */
|
||||||
SIOCDELRT, /* delete route */
|
#define SIOCSIFADDR 8902 /* set interface address */
|
||||||
SIOCSIFADDR, /* set interface address */
|
#define SIOCGIFADDR 8903 /* get interface address */
|
||||||
SIOCGIFADDR, /* get interface address */
|
#define SIOCSIFDSTADDR 8904 /* set point-to-point address */
|
||||||
SIOCSIFDSTADDR, /* set point-to-point address */
|
#define SIOCGIFDSTADDR 8905 /* get point-to-point address */
|
||||||
SIOCGIFDSTADDR, /* get point-to-point address */
|
#define SIOCSIFFLAGS 8906 /* set interface flags */
|
||||||
SIOCSIFFLAGS, /* set interface flags */
|
#define SIOCGIFFLAGS 8907 /* get interface flags */
|
||||||
SIOCGIFFLAGS, /* get interface flags */
|
#define SIOCGIFBRDADDR 8908 /* get broadcast address */
|
||||||
SIOCGIFBRDADDR, /* get broadcast address */
|
#define SIOCSIFBRDADDR 8909 /* set broadcast address */
|
||||||
SIOCSIFBRDADDR, /* set broadcast address */
|
#define SIOCGIFCOUNT 8910 /* count interfaces */
|
||||||
SIOCGIFCOUNT, /* count interfaces */
|
#define SIOCGIFCONF 8911 /* get interface list */
|
||||||
SIOCGIFCONF, /* get interface list */
|
#define SIOCGIFINDEX 8912 /* interface name -> index */
|
||||||
SIOCGIFINDEX, /* interface name -> index */
|
#define SIOCGIFNAME 8913 /* interface index -> name */
|
||||||
SIOCGIFNAME, /* interface index -> name */
|
#define SIOCGIFNETMASK 8914 /* get net address mask */
|
||||||
SIOCGIFNETMASK, /* get net address mask */
|
#define SIOCSIFNETMASK 8915 /* set net address mask */
|
||||||
SIOCSIFNETMASK, /* set net address mask */
|
#define SIOCGIFMETRIC 8916 /* get interface metric */
|
||||||
SIOCGIFMETRIC, /* get interface metric */
|
#define SIOCSIFMETRIC 8917 /* set interface metric */
|
||||||
SIOCSIFMETRIC, /* set interface metric */
|
#define SIOCDIFADDR 8918 /* delete interface address */
|
||||||
SIOCDIFADDR, /* delete interface address */
|
#define SIOCAIFADDR 8919 /* configure interface alias */
|
||||||
SIOCAIFADDR, /* configure interface alias */
|
#define SIOCADDMULTI 8920 /* add multicast address */
|
||||||
SIOCADDMULTI, /* add multicast address */
|
#define SIOCDELMULTI 8921 /* delete multicast address */
|
||||||
SIOCDELMULTI, /* delete multicast address */
|
#define SIOCGIFMTU 8922 /* get interface MTU */
|
||||||
SIOCGIFMTU, /* get interface MTU */
|
#define SIOCSIFMTU 8923 /* set interface MTU */
|
||||||
SIOCSIFMTU, /* set interface MTU */
|
#define SIOCSIFMEDIA 8924 /* set net media */
|
||||||
SIOCSIFMEDIA, /* set net media */
|
#define SIOCGIFMEDIA 8925 /* get net media */
|
||||||
SIOCGIFMEDIA, /* get net media */
|
|
||||||
|
|
||||||
SIOCGRTSIZE, /* get route table size */
|
#define SIOCGRTSIZE 8926 /* get route table size */
|
||||||
SIOCGRTTABLE, /* get route table */
|
#define SIOCGRTTABLE 8927 /* get route table */
|
||||||
SIOCGETRT, /* get route information for destination */
|
#define SIOCGETRT 8928 /* get route information for destination */
|
||||||
|
|
||||||
SIOCGIFSTATS, /* get interface stats */
|
#define SIOCGIFSTATS 8929 /* get interface stats */
|
||||||
SIOCGIFPARAM, /* get interface parameter */
|
#define SIOCGIFPARAM 8930 /* get interface parameter */
|
||||||
SIOCGIFTYPE, /* get interface type */
|
#define SIOCGIFTYPE 8931 /* get interface type */
|
||||||
|
|
||||||
SIOCSPACKETCAP, /* Start capturing packets on an interface */
|
#define SIOCSPACKETCAP 8932 /* Start capturing packets on an interface */
|
||||||
SIOCCPACKETCAP, /* Stop capturing packets on an interface */
|
#define SIOCCPACKETCAP 8933 /* Stop capturing packets on an interface */
|
||||||
|
|
||||||
SIOCSHIWAT, /* set high watermark */
|
#define SIOCSHIWAT 8934 /* set high watermark */
|
||||||
SIOCGHIWAT, /* get high watermark */
|
#define SIOCGHIWAT 8935 /* get high watermark */
|
||||||
SIOCSLOWAT, /* set low watermark */
|
#define SIOCSLOWAT 8936 /* set low watermark */
|
||||||
SIOCGLOWAT, /* get low watermark */
|
#define SIOCGLOWAT 8937 /* get low watermark */
|
||||||
SIOCATMARK, /* at out-of-band mark? */
|
#define SIOCATMARK 8938 /* at out-of-band mark? */
|
||||||
SIOCSPGRP, /* set process group */
|
#define SIOCSPGRP 8939 /* set process group */
|
||||||
SIOCGPGRP /* get process group */
|
#define SIOCGPGRP 8940 /* get process group */
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* _SYS_SOCKIO_H */
|
#endif /* _SYS_SOCKIO_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user