18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * VMware VMCI Driver 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2012 VMware, Inc. All rights reserved. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef _VMCI_ROUTE_H_ 98c2ecf20Sopenharmony_ci#define _VMCI_ROUTE_H_ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <linux/vmw_vmci_defs.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cienum vmci_route { 148c2ecf20Sopenharmony_ci VMCI_ROUTE_NONE, 158c2ecf20Sopenharmony_ci VMCI_ROUTE_AS_HOST, 168c2ecf20Sopenharmony_ci VMCI_ROUTE_AS_GUEST, 178c2ecf20Sopenharmony_ci}; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciint vmci_route(struct vmci_handle *src, const struct vmci_handle *dst, 208c2ecf20Sopenharmony_ci bool from_guest, enum vmci_route *route); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif /* _VMCI_ROUTE_H_ */ 23