函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ip6_make_flowlabel

函数原型:static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb, __be32 flowlabel, bool autolabel, struct flowi6 *fl6)

返回类型:__be32

参数:

类型参数名称
struct net *net
struct sk_buff *skb
__be32flowlabel
boolautolabel
struct flowi6 *fl6
874  flowlabel与等于IPV6_FLOWLABEL_MASK
876  如果flowlabelauto_flowlabels恒等于Sysctl settings for net ipv6.auto_flowlabels 或非autolabelauto_flowlabels不等于IP6_AUTO_FLOW_LABEL_FORCED则返回:flowlabel
882  hash等于skb_get_hash_flowi6(skb, fl6)
888  hash等于l32 - rotate a 32-bit value left*@word: value to rotate*@shift: bits to roll
890  flowlabel等于hash按位与IPV6_FLOWLABEL_MASK
892  如果flowlabel_state_rangesflowlabel或等于IPV6_FLOWLABEL_STATELESS_FLAG
895  返回:flowlabel