tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / workbench / network / stacks / AROSTCP / bsdsocket / sys / a_ioctl.h
blob6742666e0bd353a6bc2a42669cdc41a5f5edd603
1 /*
2 * Copyright (C) 1993,1994 AmiTCP/IP Group, <amitcp-group@hut.fi>
3 * Helsinki University of Technology, Finland.
4 * All rights reserved.
5 * Copyright (C) 2005 Neil Cafferkey
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19 * MA 02111-1307, USA.
23 #ifndef SYS_A_IOCTL_H
24 #define SYS_A_IOCTL_H
26 #ifndef SYS_IOCTL_H
27 #include <sys/ioctl.h>
28 #endif
30 #define COMPAT_AMITCP2 1
33 * Compatiblity ioctl's
35 #define ASIOCSIFADDR _IOW ('I',12,struct aifreq) /* set ifnet address */
36 #define ASIOCGIFADDR _IOWR('I',33,struct aifreq) /* get ifnet address */
37 #define ASIOCSIFDSTADDR _IOW ('I',14,struct aifreq) /* set p-p address */
38 #define ASIOCGIFDSTADDR _IOWR('I',34,struct aifreq) /* get p-p address */
39 #define ASIOCSIFFLAGS _IOW ('I',16,struct aifreq) /* set ifnet flags */
40 #define ASIOCGIFFLAGS _IOWR('I',17,struct aifreq) /* get ifnet flags */
41 #define ASIOCGIFBRDADDR _IOWR('I',35,struct aifreq) /* get bdcast addr */
42 #define ASIOCSIFBRDADDR _IOW ('I',19,struct aifreq) /* set bcast addr */
43 #define ASIOCGIFNETMASK _IOWR('I',37,struct aifreq) /* get net addr mask */
44 #define ASIOCSIFNETMASK _IOW ('I',22,struct aifreq) /* set net addr mask */
45 #define ASIOCGIFMETRIC _IOWR('I',23,struct aifreq) /* get IF metric */
46 #define ASIOCSIFMETRIC _IOW ('I',24,struct aifreq) /* set IF metric */
47 #define ASIOCDIFADDR _IOW ('I',25,struct aifreq) /* delete IF addr */
49 #define ASIOCGIFCONF _IOWR('I',36,struct ifconf) /* get ifnet list */
50 #define ASIOCAIFADDR _IOW ('I',26,struct aifaliasreq) /* add/chg IF alias */
52 #define ASIOCSARP _IOW('I', 30, struct aarpreq) /* set arp entry */
53 #define ASIOCGARP _IOWR('I',38, struct aarpreq) /* get arp entry */
54 #define ASIOCDARP _IOW('I', 32, struct aarpreq) /* delete arp entry */
56 #endif /* !SYS_A_IOCTL_H */