linux/include/linux/netfilter/nf_conntrack_pptp.h

/* SPDX-License-Identifier: GPL-2.0 */
/* PPTP constants and structs */
#ifndef _NF_CONNTRACK_PPTP_H
#define _NF_CONNTRACK_PPTP_H

#include <linux/netfilter.h>
#include <linux/skbuff.h>
#include <linux/types.h>
#include <linux/netfilter/nf_conntrack_common.h>
#include <net/netfilter/nf_conntrack_expect.h>
#include <uapi/linux/netfilter/nf_conntrack_tuple_common.h>

const char *pptp_msg_name(u_int16_t msg);

/* state of the control session */
enum pptp_ctrlsess_state {};

/* state of the call inside the control session */
enum pptp_ctrlcall_state {};

/* conntrack private data */
struct nf_ct_pptp_master {};

struct nf_nat_pptp {};

#define PPTP_CONTROL_PORT

#define PPTP_PACKET_CONTROL
#define PPTP_PACKET_MGMT

#define PPTP_MAGIC_COOKIE

struct pptp_pkt_hdr {};

/* PptpControlMessageType values */
#define PPTP_START_SESSION_REQUEST
#define PPTP_START_SESSION_REPLY
#define PPTP_STOP_SESSION_REQUEST
#define PPTP_STOP_SESSION_REPLY
#define PPTP_ECHO_REQUEST
#define PPTP_ECHO_REPLY
#define PPTP_OUT_CALL_REQUEST
#define PPTP_OUT_CALL_REPLY
#define PPTP_IN_CALL_REQUEST
#define PPTP_IN_CALL_REPLY
#define PPTP_IN_CALL_CONNECT
#define PPTP_CALL_CLEAR_REQUEST
#define PPTP_CALL_DISCONNECT_NOTIFY
#define PPTP_WAN_ERROR_NOTIFY
#define PPTP_SET_LINK_INFO

#define PPTP_MSG_MAX

/* PptpGeneralError values */
#define PPTP_ERROR_CODE_NONE
#define PPTP_NOT_CONNECTED
#define PPTP_BAD_FORMAT
#define PPTP_BAD_VALUE
#define PPTP_NO_RESOURCE
#define PPTP_BAD_CALLID
#define PPTP_REMOVE_DEVICE_ERROR

struct PptpControlHeader {};

/* FramingCapability Bitmap Values */
#define PPTP_FRAME_CAP_ASYNC
#define PPTP_FRAME_CAP_SYNC

/* BearerCapability Bitmap Values */
#define PPTP_BEARER_CAP_ANALOG
#define PPTP_BEARER_CAP_DIGITAL

struct PptpStartSessionRequest {};

/* PptpStartSessionResultCode Values */
#define PPTP_START_OK
#define PPTP_START_GENERAL_ERROR
#define PPTP_START_ALREADY_CONNECTED
#define PPTP_START_NOT_AUTHORIZED
#define PPTP_START_UNKNOWN_PROTOCOL

struct PptpStartSessionReply {};

/* PptpStopReasons */
#define PPTP_STOP_NONE
#define PPTP_STOP_PROTOCOL
#define PPTP_STOP_LOCAL_SHUTDOWN

struct PptpStopSessionRequest {};

/* PptpStopSessionResultCode */
#define PPTP_STOP_OK
#define PPTP_STOP_GENERAL_ERROR

struct PptpStopSessionReply {};

struct PptpEchoRequest {};

/* PptpEchoReplyResultCode */
#define PPTP_ECHO_OK
#define PPTP_ECHO_GENERAL_ERROR

struct PptpEchoReply {};

/* PptpFramingType */
#define PPTP_ASYNC_FRAMING
#define PPTP_SYNC_FRAMING
#define PPTP_DONT_CARE_FRAMING

/* PptpCallBearerType */
#define PPTP_ANALOG_TYPE
#define PPTP_DIGITAL_TYPE
#define PPTP_DONT_CARE_BEARER_TYPE

struct PptpOutCallRequest {};

/* PptpCallResultCode */
#define PPTP_OUTCALL_CONNECT
#define PPTP_OUTCALL_GENERAL_ERROR
#define PPTP_OUTCALL_NO_CARRIER
#define PPTP_OUTCALL_BUSY
#define PPTP_OUTCALL_NO_DIAL_TONE
#define PPTP_OUTCALL_TIMEOUT
#define PPTP_OUTCALL_DONT_ACCEPT

struct PptpOutCallReply {};

struct PptpInCallRequest {};

/* PptpInCallResultCode */
#define PPTP_INCALL_ACCEPT
#define PPTP_INCALL_GENERAL_ERROR
#define PPTP_INCALL_DONT_ACCEPT

struct PptpInCallReply {};

struct PptpInCallConnected {};

struct PptpClearCallRequest {};

struct PptpCallDisconnectNotify {};

struct PptpWanErrorNotify {};

struct PptpSetLinkInfo {};

pptp_ctrl_union;

struct nf_nat_pptp_hook {};

extern const struct nf_nat_pptp_hook __rcu *nf_nat_pptp_hook;
#endif /* _NF_CONNTRACK_PPTP_H */