18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2007-2011 Nicira, Inc. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef VPORT_INTERNAL_DEV_H 78c2ecf20Sopenharmony_ci#define VPORT_INTERNAL_DEV_H 1 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include "datapath.h" 108c2ecf20Sopenharmony_ci#include "vport.h" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciint ovs_is_internal_dev(const struct net_device *); 138c2ecf20Sopenharmony_cistruct vport *ovs_internal_dev_get_vport(struct net_device *); 148c2ecf20Sopenharmony_ciint ovs_internal_dev_rtnl_link_register(void); 158c2ecf20Sopenharmony_civoid ovs_internal_dev_rtnl_link_unregister(void); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* vport-internal_dev.h */ 18