函数逻辑报告 |
Source Code:include\net\sock.h |
Create Date:2022-07-27 07:07:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: a socket is bound to a device, check that the given device* index is either the same or that the socket is bound to an L3* master device and the given device index is also enslaved to* that L3 master
函数原型:static inline bool sk_dev_equal_l3scope(struct sock *sk, int dif)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sock * | sk | |
int | dif |
2605 | 如果非sk_bound_dev_if或sk_bound_dev_if恒等于dif则返回:true |
2608 | mdif等于l3mdev_master_ifindex_by_index(sock_net(sk), dif) |
2609 | 如果mdif且mdif恒等于sk_bound_dev_if则返回:true |
2612 | 返回:false |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |