Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:IP6_ECN_decapsulate

Proto:static inline int IP6_ECN_decapsulate(const struct ipv6hdr *oipv6h, struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
const struct ipv6hdr *oipv6h
struct sk_buff *skb
237  If protocol == htons(Internet Protocol packet ) Then inner = tos
239  Else if protocol == htons(IPv6 over bluebook ) Then inner = ipv6_get_dsfield(ipv6_hdr(skb))
241  Else Return 0
244  Return INET_ECN_decapsulate(skb, ipv6_get_dsfield(oipv6h), inner)