函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-27 06:52:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:skb_transport_header

函数原型:static inline unsigned char *skb_transport_header(const struct sk_buff *skb)

返回类型:unsigned char

参数:

类型参数名称
const struct sk_buff *skb
2460  返回:headtransport_header
调用者
名称描述
skb_transport_offset
gso_make_checksumCompute the checksum for a gso segment
lco_csumLocal Checksum Offload.* Compute outer checksum based on the assumption that the* inner checksum will be offloaded later.* See Documentation/networking/checksum-offloads.rst for* explanation of how this works.* Fill in outer checksum adjustment (e
icmp6_hdr
tcp_hdr
udp_hdr
ipipv6_hdr
ipip_hdr
icmp_hdr
dccp_hdr
dccp_zeroed_hdr
dccp_hdr_request
dccp_hdr_ack_bits
dccp_hdr_response
dccp_hdr_reset
sctp_hdr
udp_csum_outgoingdp_csum_outgoing - compute UDPv4/v6 checksum over fragments*@sk: socket we are writing to*@skb: sk_buff containing the filled-in UDP header* (checksum field must be zeroed out)
udp_csum