Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_bpf.c Create Date:2022-07-28 06:28:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_skb_segment_single

Proto:static __init int test_skb_segment_single(const struct skb_segment_test *test)

Type:int

Parameter:

TypeParameterName
const struct skb_segment_test *test
6943  ret = -1
6945  skb = build_skb()
6946  If Not skb Then
6947  pr_info("%s: failed to build_test_skb", __func__)
6948  Go to done
6951  segs = skb_segment(skb, features)
6952  If Not IS_ERR(segs) Then
6953  kfree_skb_list(segs)
6954  ret = 0
6956  free an sk_buff
6957  done :
6958  Return ret
Caller
NameDescribe
test_skb_segment