revert between 56095 -> 55830 in arch
[AROS.git] / workbench / network / stacks / AROSTCP / bsdsocket / net / a_if.h
blob5d57ecad33ca41e74559b1d04b6510e73b60b598
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 NET_A_IF_H
24 #define NET_A_IF_H
26 #ifndef NET_IF_H
27 #include <net/if.h>
28 #endif
31 * Compatibility interface structures
33 struct aifreq {
34 #define AIFNAMSIZ 64
35 char ifr_name[AIFNAMSIZ]; /* sana-II name, e.g. "slip.device/0" */
36 union {
37 struct sockaddr ifru_addr;
38 struct sockaddr ifru_dstaddr;
39 struct sockaddr ifru_broadaddr;
40 short ifru_flags;
41 int ifru_metric;
42 caddr_t ifru_data;
43 } ifr_ifru;
46 struct aifaliasreq {
47 char ifra_name[AIFNAMSIZ]; /* sana-II name, e.g. "slip.device/0" */
48 struct sockaddr ifra_addr;
49 struct sockaddr ifra_broadaddr;
50 struct sockaddr ifra_mask;
53 #endif /* NET_A_IF_H */