2005-04-21 16:53:53 +02:00
|
|
|
/*
|
|
|
|
net/netlib.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NET__NETLIB_H_
|
|
|
|
#define _NET__NETLIB_H_
|
|
|
|
|
|
|
|
#ifndef _ANSI
|
2011-01-28 12:35:02 +01:00
|
|
|
#include <minix/ansi.h>
|
2005-04-21 16:53:53 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
_PROTOTYPE (int iruserok, (unsigned long raddr, int superuser,
|
|
|
|
const char *ruser, const char *luser) );
|
|
|
|
_PROTOTYPE (int rcmd, (char **ahost, int rport, const char *locuser,
|
|
|
|
const char *remuser, const char *cmd, int *fd2p) );
|
|
|
|
|
2006-07-13 15:19:48 +02:00
|
|
|
#define IPSTAT_DEVICE "/dev/ipstat"
|
2005-04-21 16:53:53 +02:00
|
|
|
#define ETH_DEVICE "/dev/eth"
|
|
|
|
#define IP_DEVICE "/dev/ip"
|
|
|
|
#define TCP_DEVICE "/dev/tcp"
|
|
|
|
#define UDP_DEVICE "/dev/udp"
|
2010-07-15 14:48:15 +02:00
|
|
|
#define UDS_DEVICE "/dev/uds"
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
#endif /* _NET__NETLIB_H_ */
|