haiku/headers/posix/sys/sockio.h
Axel Dörfler 5adca30a18 Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 12:33:33 +00:00

57 lines
1.9 KiB
C

/*
* Copyright 2002-2006, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYS_SOCKIO_H
#define _SYS_SOCKIO_H
enum {
SIOCADDRT = 8900, /* add route */
SIOCDELRT, /* delete route */
SIOCSIFADDR, /* set interface address */
SIOCGIFADDR, /* get interface address */
SIOCSIFDSTADDR, /* set point-to-point address */
SIOCGIFDSTADDR, /* get point-to-point address */
SIOCSIFFLAGS, /* set interface flags */
SIOCGIFFLAGS, /* get interface flags */
SIOCGIFBRDADDR, /* get broadcast address */
SIOCSIFBRDADDR, /* set broadcast address */
SIOCGIFCOUNT, /* count interfaces */
SIOCGIFCONF, /* get interface list */
SIOCGIFINDEX, /* interface name -> index */
SIOCGIFNAME, /* interface index -> name */
SIOCGIFNETMASK, /* get net address mask */
SIOCSIFNETMASK, /* set net address mask */
SIOCGIFMETRIC, /* get interface metric */
SIOCSIFMETRIC, /* set interface metric */
SIOCDIFADDR, /* delete interface address */
SIOCAIFADDR, /* configure interface alias */
SIOCADDMULTI, /* add multicast address */
SIOCDELMULTI, /* delete multicast address */
SIOCGIFMTU, /* get interface MTU */
SIOCSIFMTU, /* set interface MTU */
SIOCSIFMEDIA, /* set net media */
SIOCGIFMEDIA, /* get net media */
SIOCGRTSIZE, /* get route table size */
SIOCGRTTABLE, /* get route table */
SIOCGIFSTATS, /* get interface stats */
SIOCGIFPARAM, /* get interface parameter */
SIOCGIFTYPE, /* get interface type */
SIOCSPACKETCAP, /* Start capturing packets on an interface */
SIOCCPACKETCAP, /* Stop capturing packets on an interface */
SIOCSHIWAT, /* set high watermark */
SIOCGHIWAT, /* get high watermark */
SIOCSLOWAT, /* set low watermark */
SIOCGLOWAT, /* get low watermark */
SIOCATMARK, /* at out-of-band mark? */
SIOCSPGRP, /* set process group */
SIOCGPGRP /* get process group */
};
#endif /* _SYS_SOCKIO_H */