xref: /linux/drivers/misc/vmw_vmci/vmci_route.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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 
8 #ifndef _VMCI_ROUTE_H_
9 #define _VMCI_ROUTE_H_
10 
11 #include <linux/vmw_vmci_defs.h>
12 
13 enum vmci_route {
14 	VMCI_ROUTE_NONE,
15 	VMCI_ROUTE_AS_HOST,
16 	VMCI_ROUTE_AS_GUEST,
17 };
18 
19 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
20 	       bool from_guest, enum vmci_route *route);
21 
22 #endif /* _VMCI_ROUTE_H_ */
23