函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dentify MLD packets for MLD filter exceptions

函数原型:static inline bool ipv6_is_mld(struct sk_buff *skb, int nexthdr, int offset)

返回类型:bool

参数:

类型参数名称
struct sk_buff *skb
intnexthdr
intoffset
248  如果nexthdr不等于ICMPv6 或非pskb_network_may_pull(skb, offset + sizeof(structicmp6hdr))则返回:false
252  hdr等于skb_network_header(skb)加offset
255  :icmp6_type恒等于ICMPV6_MGM_QUERY
256  :icmp6_type恒等于ICMPV6_MGM_REPORT
257  :icmp6_type恒等于ICMPV6_MGM_REDUCTION
258  :icmp6_type恒等于ICMPV6_MLD2_REPORT
259  返回:true
260  默认
261  退出
263  返回:false