packet.h 295 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Packet network namespace
  4. */
  5. #ifndef __NETNS_PACKET_H__
  6. #define __NETNS_PACKET_H__
  7. #include <linux/rculist.h>
  8. #include <linux/mutex.h>
  9. struct netns_packet {
  10. struct mutex sklist_lock;
  11. struct hlist_head sklist;
  12. };
  13. #endif /* __NETNS_PACKET_H__ */