Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\addrconf.h Create Date:2022-07-28 06:11:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dentify MLD packets for MLD filter exceptions

Proto:static inline bool ipv6_is_mld(struct sk_buff *skb, int nexthdr, int offset)

Type:bool

Parameter:

TypeParameterName
struct sk_buff *skb
intnexthdr
intoffset
248  If nexthdr != ICMPv6 || Not pskb_network_may_pull(skb, offset + sizeof(structicmp6hdr)) Then Return false
252  hdr = skb_network_header(skb) + offset
255  Case icmp6_type == ICMPV6_MGM_QUERY
256  Case icmp6_type == ICMPV6_MGM_REPORT
257  Case icmp6_type == ICMPV6_MGM_REDUCTION
258  Case icmp6_type == ICMPV6_MLD2_REPORT
259  Return true
260  Default
261  Break
263  Return false