| Line | |
|---|
| 1 | /*
|
|---|
| 2 | net/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.