Function report |
Source Code:include\net\ipv6.h |
Create Date:2022-07-28 06:11:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ip6_make_flowlabel
Proto:static inline __be32 ip6_make_flowlabel(struct net *net, struct sk_buff *skb, __be32 flowlabel, bool autolabel, struct flowi6 *fl6)
Type:__be32
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct net * | net | |
| struct sk_buff * | skb | |
| __be32 | flowlabel | |
| bool | autolabel | |
| struct flowi6 * | fl6 |
| 874 | flowlabel &= IPV6_FLOWLABEL_MASK |
| 876 | If flowlabel || auto_flowlabels == Sysctl settings for net ipv6.auto_flowlabels || Not autolabel && auto_flowlabels != IP6_AUTO_FLOW_LABEL_FORCED Then Return flowlabel |
| 882 | hash = skb_get_hash_flowi6(skb, fl6) |
| 890 | flowlabel = hash & IPV6_FLOWLABEL_MASK |
| 892 | If flowlabel_state_ranges Then flowlabel |= IPV6_FLOWLABEL_STATELESS_FLAG |
| 895 | Return flowlabel |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |