linux/net/packet/internal.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PACKET_INTERNAL_H__
#define __PACKET_INTERNAL_H__

#include <linux/refcount.h>

struct packet_mclist {};

/* kbdq - kernel block descriptor queue */
struct tpacket_kbdq_core {};

struct pgv {};

struct packet_ring_buffer {};

extern struct mutex fanout_mutex;
#define PACKET_FANOUT_MAX

struct packet_fanout {};

struct packet_rollover {} ____cacheline_aligned_in_smp;

struct packet_sock {};

#define pkt_sk(ptr)

enum packet_sock_flags {};

static inline void packet_sock_flag_set(struct packet_sock *po,
					enum packet_sock_flags flag,
					bool val)
{}

static inline bool packet_sock_flag(const struct packet_sock *po,
				    enum packet_sock_flags flag)
{}

#endif