Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skb_mac_header_rebuild

Proto:static inline void skb_mac_header_rebuild(struct sk_buff *skb)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
2541  If skb_mac_header_was_set(skb) Then
2542  old_mac = skb_mac_header(skb)
2544  skb_set_mac_header(skb, - mac_len)
2545  memmove(skb_mac_header(skb), old_mac, mac_len)