linux/include/uapi/linux/ppp_defs.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * ppp_defs.h - PPP definitions.
 *
 * Copyright 1994-2000 Paul Mackerras.
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License
 *  version 2 as published by the Free Software Foundation.
 */
#include <linux/types.h>

#ifndef _UAPI_PPP_DEFS_H_
#define _UAPI_PPP_DEFS_H_

/*
 * The basic PPP frame.
 */
#define PPP_HDRLEN
#define PPP_FCSLEN
#define PPP_MRU

#define PPP_ADDRESS(p)
#define PPP_CONTROL(p)
#define PPP_PROTOCOL(p)

/*
 * Significant octet values.
 */
#define PPP_ALLSTATIONS
#define PPP_UI
#define PPP_FLAG
#define PPP_ESCAPE
#define PPP_TRANS

/*
 * Protocol field values.
 */
#define PPP_IP
#define PPP_AT
#define PPP_IPX
#define PPP_VJC_COMP
#define PPP_VJC_UNCOMP
#define PPP_MP
#define PPP_IPV6
#define PPP_COMPFRAG
#define PPP_COMP
#define PPP_MPLS_UC
#define PPP_MPLS_MC
#define PPP_IPCP
#define PPP_ATCP
#define PPP_IPXCP
#define PPP_IPV6CP
#define PPP_CCPFRAG
#define PPP_CCP
#define PPP_MPLSCP
#define PPP_LCP
#define PPP_PAP
#define PPP_LQR
#define PPP_CHAP
#define PPP_CBCP

/*
 * Values for FCS calculations.
 */

#define PPP_INITFCS
#define PPP_GOODFCS


/*
 * Extended asyncmap - allows any character to be escaped.
 */

ext_accm;

/*
 * What to do with network protocol (NP) packets.
 */
enum NPmode {};

/*
 * Statistics for LQRP and pppstats
 */
struct pppstat	{};

struct vjstat {};

struct compstat {};

struct ppp_stats {};

struct ppp_comp_stats {};

/*
 * The following structure records the time in seconds since
 * the last NP packet was sent or received.
 *
 * Linux implements both 32-bit and 64-bit time_t versions
 * for compatibility with user space that defines ppp_idle
 * based on the libc time_t.
 */
struct ppp_idle {};

struct ppp_idle32 {};

struct ppp_idle64 {};

#endif /* _UAPI_PPP_DEFS_H_ */