xref: /kernel/linux/linux-5.10/include/net/netns/packet.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/include/net/netns/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Packet network namespace
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef __NETNS_PACKET_H__
68c2ecf20Sopenharmony_ci#define __NETNS_PACKET_H__
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <linux/rculist.h>
98c2ecf20Sopenharmony_ci#include <linux/mutex.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistruct netns_packet {
128c2ecf20Sopenharmony_ci	struct mutex		sklist_lock;
138c2ecf20Sopenharmony_ci	struct hlist_head	sklist;
148c2ecf20Sopenharmony_ci};
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#endif /* __NETNS_PACKET_H__ */
17

Indexes created Thu Nov 07 10:32:03 CST 2024