vmci_route.h 447 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * VMware VMCI Driver
  4. *
  5. * Copyright (C) 2012 VMware, Inc. All rights reserved.
  6. */
  7. #ifndef _VMCI_ROUTE_H_
  8. #define _VMCI_ROUTE_H_
  9. #include <linux/vmw_vmci_defs.h>
  10. enum vmci_route {
  11. VMCI_ROUTE_NONE,
  12. VMCI_ROUTE_AS_HOST,
  13. VMCI_ROUTE_AS_GUEST,
  14. };
  15. int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
  16. bool from_guest, enum vmci_route *route);
  17. #endif /* _VMCI_ROUTE_H_ */