flexda_custom_check_tunnel
接口功能
隧道端口检查。
接口格式
int flexda_custom_check_tunnel ( const char *netdev_type)
参数说明
参数名 |
参数类型 |
入参/出参 |
说明 |
|---|---|---|---|
netdev_type |
const char * |
入参 |
OVS中端口的类型。 |
函数返回值 |
int |
出参 |
若函数执行成功则返回0,若函数执行失败则返回错误码。 |
- 默认放通"vxlan"、"geneve"、"tap"三种端口名,该函数返回错误后仍可继续卸载,不需要进行额外检查处理。
- 其他名称的端口需要在该函数中检查放通。
使用实例
无
父主题: Hook函数