函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-27 07:03:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:net_gso_ok

函数原型:static inline bool net_gso_ok(netdev_features_t features, int gso_type)

返回类型:bool

参数:

类型参数名称
netdev_features_tfeatures
intgso_type
4535  feature等于gso_type左移NETIF_F_GSO_SHIFT
4538  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT))
4539  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_DODGY != (NETIF_F_GSO_ROBUST >> NETIF_F_GSO_SHIFT))
4540  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCP_ECN != (NETIF_F_TSO_ECN >> NETIF_F_GSO_SHIFT))
4541  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT))
4542  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TCPV6 != (NETIF_F_TSO6 >> NETIF_F_GSO_SHIFT))
4543  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_FCOE != (NETIF_F_FSO >> NETIF_F_GSO_SHIFT))
4544  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_GRE != (NETIF_F_GSO_GRE >> NETIF_F_GSO_SHIFT))
4545  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_GRE_CSUM != (NETIF_F_GSO_GRE_CSUM >> NETIF_F_GSO_SHIFT))
4546  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_IPXIP4 != (NETIF_F_GSO_IPXIP4 >> NETIF_F_GSO_SHIFT))
4547  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_IPXIP6 != (NETIF_F_GSO_IPXIP6 >> NETIF_F_GSO_SHIFT))
4548  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP_TUNNEL != (NETIF_F_GSO_UDP_TUNNEL >> NETIF_F_GSO_SHIFT))
4549  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP_TUNNEL_CSUM != (NETIF_F_GSO_UDP_TUNNEL_CSUM >> NETIF_F_GSO_SHIFT))
4550  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_PARTIAL != (NETIF_F_GSO_PARTIAL >> NETIF_F_GSO_SHIFT))
4551  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_TUNNEL_REMCSUM != (NETIF_F_GSO_TUNNEL_REMCSUM >> NETIF_F_GSO_SHIFT))
4552  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_SCTP != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT))
4553  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_ESP != (NETIF_F_GSO_ESP >> NETIF_F_GSO_SHIFT))
4554  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP != (NETIF_F_GSO_UDP >> NETIF_F_GSO_SHIFT))
4555  BUILD_BUG_ON - break compile if a condition is true(SKB_GSO_UDP_L4 != (NETIF_F_GSO_UDP_L4 >> NETIF_F_GSO_SHIFT))
4557  返回:features按位与feature的值恒等于feature
调用者
名称描述
skb_gso_ok
sk_can_gso