linux/include/net/phonet/pep.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * File: pep.h
 *
 * Phonet Pipe End Point sockets definitions
 *
 * Copyright (C) 2008 Nokia Corporation.
 */

#ifndef NET_PHONET_PEP_H
#define NET_PHONET_PEP_H

#include <linux/skbuff.h>
#include <net/phonet/phonet.h>

struct pep_sock {};

static inline struct pep_sock *pep_sk(struct sock *sk)
{}

extern const struct proto_ops phonet_stream_ops;

/* Pipe protocol definitions */
struct pnpipehdr {};
#define other_pep_type

static inline struct pnpipehdr *pnp_hdr(struct sk_buff *skb)
{}

#define MAX_PNPIPE_HEADER

enum {};

#define PN_PIPE_INVALID_HANDLE
#define PN_PEP_TYPE_COMMON

/* Phonet pipe status indication */
enum {};

/* Phonet pipe error codes */
enum {};

/* Phonet pipe states */
enum {};

/* Phonet pipe sub-block types */
enum {};

/* Phonet pipe flow control models */
enum {};

#define pn_flow_safe(fc)

/* Phonet pipe flow control states */
enum {};

#endif