George Zhang | e76ffea | 2013-01-08 15:55:20 -0800 | [diff] [blame] | 1 | /* |
| 2 | * VMware VMCI Driver |
| 3 | * |
| 4 | * Copyright (C) 2012 VMware, Inc. All rights reserved. |
| 5 | * |
| 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. |
| 9 | * |
| 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. |
| 14 | */ |
| 15 | |
| 16 | #ifndef _VMCI_ROUTE_H_ |
| 17 | #define _VMCI_ROUTE_H_ |
| 18 | |
| 19 | #include <linux/vmw_vmci_defs.h> |
| 20 | |
| 21 | enum vmci_route { |
| 22 | VMCI_ROUTE_NONE, |
| 23 | VMCI_ROUTE_AS_HOST, |
| 24 | VMCI_ROUTE_AS_GUEST, |
| 25 | }; |
| 26 | |
| 27 | int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst, |
| 28 | bool from_guest, enum vmci_route *route); |
| 29 | |
| 30 | #endif /* _VMCI_ROUTE_H_ */ |