source: trunk/minix/include/net/netlib.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: 488 bytes
Line 
1/*
2net/netlib.h
3*/
4
5#ifndef _NET__NETLIB_H_
6#define _NET__NETLIB_H_
7
8#ifndef _ANSI
9#include <ansi.h>
10#endif
11
12_PROTOTYPE (int iruserok, (unsigned long raddr, int superuser,
13 const char *ruser, const char *luser) );
14_PROTOTYPE (int rcmd, (char **ahost, int rport, const char *locuser,
15 const char *remuser, const char *cmd, int *fd2p) );
16
17#define ETH_DEVICE "/dev/eth"
18#define IP_DEVICE "/dev/ip"
19#define TCP_DEVICE "/dev/tcp"
20#define UDP_DEVICE "/dev/udp"
21
22#endif /* _NET__NETLIB_H_ */
Note: See TracBrowser for help on using the repository browser.