Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / pptpd / ctrlpacket.h
blob39c2858c11ff00df18e946cb84120d56a2565ba0
1 /*
2 * ctrlpacket.h
4 * Functions to parse and send pptp control packets.
6 * $Id: ctrlpacket.h,v 1.1.1.1 2002/06/21 08:51:58 fenix_nl Exp $
7 */
9 #ifndef _PPTPD_CTRLPACKET_H
10 #define _PPTPD_CTRLPACKET_H
12 int read_pptp_packet(int clientFd, unsigned char *packet, unsigned char *rply_packet, ssize_t * rply_size);
13 size_t send_pptp_packet(int clientFd, unsigned char *packet, size_t packet_size);
14 void make_echo_req_packet(unsigned char *rply_packet, ssize_t * rply_size, u_int32_t echo_id);
15 void make_call_admin_shutdown(unsigned char *rply_packet, ssize_t * rply_size);
16 void make_stop_ctrl_req(unsigned char *rply_packet, ssize_t * rply_size);
18 #endif /* !_PPTPD_CTRLPACKET_H */