Linux 3.12.39
[linux/fpc-iii.git] / drivers / misc / vmw_vmci / vmci_route.h
blob3b30e82419c3822f8db6df80f7e55061bf258333
1 /*
2 * VMware VMCI Driver
4 * Copyright (C) 2012 VMware, Inc. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation version 2 and no later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
16 #ifndef _VMCI_ROUTE_H_
17 #define _VMCI_ROUTE_H_
19 #include <linux/vmw_vmci_defs.h>
21 enum vmci_route {
22 VMCI_ROUTE_NONE,
23 VMCI_ROUTE_AS_HOST,
24 VMCI_ROUTE_AS_GUEST,
27 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
28 bool from_guest, enum vmci_route *route);
30 #endif /* _VMCI_ROUTE_H_ */