source: trunk/minix/include/net/ioctl.h@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 2.2 KB
Line 
1/* net/ioctl.h - Network ioctl() command codes. Author: Kees J. Bot
2 * 23 Nov 2002
3 *
4 */
5
6#ifndef _NET__IOCTL_H
7#define _NET__IOCTL_H
8
9#include <minix/ioctl.h>
10
11/* Network ioctls. */
12#define NWIOSETHOPT _IOW('n', 16, struct nwio_ethopt)
13#define NWIOGETHOPT _IOR('n', 17, struct nwio_ethopt)
14#define NWIOGETHSTAT _IOR('n', 18, struct nwio_ethstat)
15
16#define NWIOARPGIP _IORW('n',20, struct nwio_arp)
17#define NWIOARPGNEXT _IORW('n',21, struct nwio_arp)
18#define NWIOARPSIP _IOW ('n',22, struct nwio_arp)
19#define NWIOARPDIP _IOW ('n',23, struct nwio_arp)
20
21#define NWIOSIPCONF2 _IOW('n', 32, struct nwio_ipconf2)
22#define NWIOSIPCONF _IOW('n', 32, struct nwio_ipconf)
23#define NWIOGIPCONF2 _IOR('n', 33, struct nwio_ipconf2)
24#define NWIOGIPCONF _IOR('n', 33, struct nwio_ipconf)
25#define NWIOSIPOPT _IOW('n', 34, struct nwio_ipopt)
26#define NWIOGIPOPT _IOR('n', 35, struct nwio_ipopt)
27
28#define NWIOGIPOROUTE _IORW('n', 40, struct nwio_route)
29#define NWIOSIPOROUTE _IOW ('n', 41, struct nwio_route)
30#define NWIODIPOROUTE _IOW ('n', 42, struct nwio_route)
31#define NWIOGIPIROUTE _IORW('n', 43, struct nwio_route)
32#define NWIOSIPIROUTE _IOW ('n', 44, struct nwio_route)
33#define NWIODIPIROUTE _IOW ('n', 45, struct nwio_route)
34
35#define NWIOSTCPCONF _IOW('n', 48, struct nwio_tcpconf)
36#define NWIOGTCPCONF _IOR('n', 49, struct nwio_tcpconf)
37#define NWIOTCPCONN _IOW('n', 50, struct nwio_tcpcl)
38#define NWIOTCPLISTEN _IOW('n', 51, struct nwio_tcpcl)
39#define NWIOTCPATTACH _IOW('n', 52, struct nwio_tcpatt)
40#define NWIOTCPSHUTDOWN _IO ('n', 53)
41#define NWIOSTCPOPT _IOW('n', 54, struct nwio_tcpopt)
42#define NWIOGTCPOPT _IOR('n', 55, struct nwio_tcpopt)
43#define NWIOTCPPUSH _IO ('n', 56)
44#define NWIOTCPLISTENQ _IOW('n', 57, int)
45#define NWIOGTCPCOOKIE _IOR('n', 58, struct tcp_cookie)
46#define NWIOTCPACCEPTTO _IOW('n', 59, struct tcp_cookie)
47#define NWIOTCPGERROR _IOR('n', 60, int)
48
49#define NWIOSUDPOPT _IOW('n', 64, struct nwio_udpopt)
50#define NWIOGUDPOPT _IOR('n', 65, struct nwio_udpopt)
51#define NWIOUDPPEEK _IOR('n', 66, struct udp_io_hdr)
52
53#define NWIOSPSIPOPT _IOW('n', 80, struct nwio_psipopt)
54#define NWIOGPSIPOPT _IOR('n', 81, struct nwio_psipopt)
55
56#define NWIOQUERYPARAM _IORW('n',96, struct svrqueryparam)
57
58#endif /* _NET__IOCTL_H */
59
60/*
61 * $PchId: ioctl.h,v 1.2 2003/07/25 14:34:03 philip Exp $
62 */
Note: See TracBrowser for help on using the repository browser.