haiku/headers/posix/net/ppp_ctrl.h
ejakowatz 52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00

25 lines
709 B
C

/*
* ppp_ctrl.h
*
* Definitions required to control PPP from userland
*/
#ifndef _NET_PPP_CTRL_H_
#define _NET_PPP_CTRL_H_
#define PPPCTRL_THREADNAME "PPP_Control_Thread"
#define PPPCTRL_MAXSIZE 100 /* biggest lump of data we accept */
enum {
PPPCTRL_OK = 0, /* Operation completed OK */
PPPCTRL_FAIL, /* Operation failed */
PPPCTRL_CREATE, /* create a new PPP device */
PPPCTRL_DELETE, /* delete a PPP device */
PPPCTRL_UP, /* start a ppp connection */
PPPCTRL_OPEN, /* Open a device */
PPPCTRL_DOWN, /* stop a ppp connection */
};
#endif /* _NET_PPP_CTRL_H_ */