Lines Matching refs:pptp_ctrl

76 static void  pptp_ctrl_log (pptp_ctrl *, int, const char *, ...) __printflike(3,4);
78 static void pptp_ctrl_reset_timeout (pptp_ctrl *);
80 static void pptp_ctrl_set_io_event (pptp_ctrl *);
81 static int pptp_ctrl_output_flush (pptp_ctrl *);
83 static int pptp_ctrl_recv_SCCRQ (pptp_ctrl *, u_char *, int);
84 static int pptp_ctrl_recv_StopCCRP (pptp_ctrl *, u_char *, int);
85 static int pptp_ctrl_send_StopCCRQ (pptp_ctrl *, int);
86 static int pptp_ctrl_recv_StopCCRQ (pptp_ctrl *, u_char *, int);
87 static int pptp_ctrl_send_StopCCRP (pptp_ctrl *, int, int);
88 static int pptp_ctrl_send_SCCRP (pptp_ctrl *, int, int);
89 static void pptp_ctrl_send_CDN (pptp_ctrl *, int, int, int, const char *);
90 static void pptp_ctrl_process_echo_req (pptp_ctrl *, u_char *, int);
91 static int pptp_ctrl_recv_echo_rep (pptp_ctrl *, u_char *, int);
92 static void pptp_ctrl_send_echo_req (pptp_ctrl *);
93 static int pptp_ctrl_input (pptp_ctrl *, u_char *, int);
94 static int pptp_ctrl_call_input (pptp_ctrl *, int, u_char *, int);
96 static void pptp_ctrl_fini(pptp_ctrl *);
101 pptp_ctrl *
104 pptp_ctrl *_this; in pptp_ctrl_create()
106 if ((_this = malloc(sizeof(pptp_ctrl))) == NULL) in pptp_ctrl_create()
113 pptp_ctrl_init(pptp_ctrl *_this) in pptp_ctrl_init()
119 memset(_this, 0, sizeof(pptp_ctrl)); in pptp_ctrl_init()
147 pptp_ctrl_start(pptp_ctrl *_this) in pptp_ctrl_start()
207 pptp_ctrl *_this; in pptp_ctrl_timeout()
273 pptp_ctrl_reset_timeout(pptp_ctrl *_this) in pptp_ctrl_reset_timeout()
299 pptp_ctrl_stop(pptp_ctrl *_this, int result) in pptp_ctrl_stop()
330 pptp_ctrl_fini(pptp_ctrl *_this) in pptp_ctrl_fini()
372 pptp_ctrl_destroy(pptp_ctrl *_this) in pptp_ctrl_destroy()
394 pptp_ctrl *_this; in pptp_ctrl_io_event()
455 pptp_ctrl_set_io_event(pptp_ctrl *_this) in pptp_ctrl_set_io_event()
484 pptp_ctrl_output(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_output()
518 pptp_ctrl_output_flush(pptp_ctrl *_this) in pptp_ctrl_output_flush()
581 pptp_ctrl_recv_SCCRQ(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_recv_SCCRQ()
615 pptp_ctrl_recv_StopCCRP(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_recv_StopCCRP()
634 pptp_ctrl_send_StopCCRQ(pptp_ctrl *_this, int reason) in pptp_ctrl_send_StopCCRQ()
663 pptp_ctrl_recv_StopCCRQ(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_recv_StopCCRQ()
683 pptp_ctrl_send_StopCCRP(pptp_ctrl *_this, int result, int error) in pptp_ctrl_send_StopCCRP()
716 pptp_ctrl_send_SCCRP(pptp_ctrl *_this, int result, int error) in pptp_ctrl_send_SCCRP()
775 pptp_ctrl_process_echo_req(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_process_echo_req()
813 pptp_ctrl_recv_echo_rep(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_recv_echo_rep()
842 pptp_ctrl_send_echo_req(pptp_ctrl *_this) in pptp_ctrl_send_echo_req()
867 pptp_ctrl_send_CDN(pptp_ctrl *_this, int result, int error, int cause, in pptp_ctrl_send_CDN()
900 pptp_ctrl_input(pptp_ctrl *_this, u_char *pkt, int lpkt) in pptp_ctrl_input()
1034 pptp_ctrl_call_input(pptp_ctrl *_this, int mes_type, u_char *pkt, int lpkt) in pptp_ctrl_call_input()
1145 pptp_ctrl_log(pptp_ctrl *_this, int prio, const char *fmt, ...) in pptp_ctrl_log()