---
title: flexda_custom_check_tunnel
description: "隧道端口检查。"
url: https://www.hikunpeng.com/document/detail/zh/flexda/api/dpak_api030.html
sourcePath: /source/zh/flexda/api/dpak_api030.html
indexId: 74fd05be976dc5d1996b3599a09a06636cf1bdf02a2f9a5ff2dc94005dbd407438
---
# flexda_custom_check_tunnel

#### 接口功能

隧道端口检查。


#### 接口格式

int flexda_custom_check_tunnel ( const char *netdev_type)


#### 参数说明

| 参数名 | 参数类型 | 入参/出参 | 说明 |
| --- | --- | --- | --- |
| netdev\_type | const char \* | 入参 | OVS中端口的类型。 |
| 函数返回值 | int | 出参 | 若函数执行成功则返回0，若函数执行失败则返回错误码。 |


- 默认放通"vxlan"、"geneve"、"tap"三种端口类型，该函数返回错误后仍可继续卸载，不需要进行额外检查处理。
- 其他类型的端口需要在该函数中检查放通。


#### 使用实例

无
