timewait_sock.h 439 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * NET Generic infrastructure for Network protocols.
  4. *
  5. * Authors: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
  6. */
  7. #ifndef _TIMEWAIT_SOCK_H
  8. #define _TIMEWAIT_SOCK_H
  9. #include <linux/slab.h>
  10. #include <linux/bug.h>
  11. #include <net/sock.h>
  12. struct timewait_sock_ops {
  13. struct kmem_cache *twsk_slab;
  14. char *twsk_slab_name;
  15. unsigned int twsk_obj_size;
  16. };
  17. #endif /* _TIMEWAIT_SOCK_H */