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:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:IP_ECN_decapsulate

Proto:static inline int IP_ECN_decapsulate(const struct iphdr *oiph, struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
const struct iphdr *oiph
struct sk_buff *skb
222  If protocol == htons(Internet Protocol packet ) Then inner = tos
224  Else if protocol == htons(IPv6 over bluebook ) Then inner = ipv6_get_dsfield(ipv6_hdr(skb))
226  Else Return 0
229  Return INET_ECN_decapsulate(skb, tos, inner)