smc_netns.h 381 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Shared Memory Communications
  3. *
  4. * Network namespace definitions.
  5. *
  6. * Copyright IBM Corp. 2018
  7. */
  8. #ifndef SMC_NETNS_H
  9. #define SMC_NETNS_H
  10. #include "smc_pnet.h"
  11. extern unsigned int smc_net_id;
  12. /* per-network namespace private data */
  13. struct smc_net {
  14. struct smc_pnettable pnettable;
  15. struct smc_pnetids_ndev pnetids_ndev;
  16. };
  17. #endif