2016-10-24 03:14:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct msgb;
|
2016-10-24 03:15:56 +00:00
|
|
|
struct l2tpd_connection;
|
|
|
|
struct l2tpd_session;
|
|
|
|
|
2016-10-25 12:36:10 +00:00
|
|
|
/* control connection management */
|
2016-10-24 03:21:03 +00:00
|
|
|
int l2tp_tx_scc_rp(struct l2tpd_connection *l2c);
|
2016-10-25 09:25:40 +00:00
|
|
|
int l2tp_tx_stop_ccn(struct l2tpd_connection *l2c);
|
2016-10-25 12:36:10 +00:00
|
|
|
int l2tp_tx_stop_ccn_msg(struct msgb *old)
|
|
|
|
int l2tp_tx_tc_rq(struct l2tpd_connection *l2c);
|
|
|
|
int l2tp_tx_altc_rq(struct l2tpd_connection *l2c);
|
2016-10-24 19:19:54 +00:00
|
|
|
int l2tp_tx_ack(struct l2tpd_connection *l2c);
|
2016-10-25 12:36:10 +00:00
|
|
|
|
|
|
|
/* session management */
|
|
|
|
int l2tp_tx_ic_rp(struct l2tpd_session *l2s);
|
2016-10-24 03:21:03 +00:00
|
|
|
int l2tp_tx_hello(struct l2tpd_session *l2s);
|
2016-10-24 03:14:56 +00:00
|
|
|
|
|
|
|
int l2tp_rcvmsg(struct msgb *msg);
|
|
|
|
|
|
|
|
struct msgb *l2tp_msgb_alloc(void);
|