Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| struct sk_buff * | skb | |
| int | nexthdr | |
| int | offset |
| 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 |
| 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 |