Function report |
Source Code:lib\test_bpf.c |
Create Date:2022-07-28 06:27:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:build_test_skb_linear_no_head_frag
Proto:static __init struct sk_buff *build_test_skb_linear_no_head_frag(void)
Type:struct sk_buff
Parameter:Nothing
6864 | alloc_size = 2000 |
6875 | skb[i] = allocate a network buffer |
6883 | protocol = htons(IPv6 over bluebook ) |
6885 | add data to a buffer |
6886 | skb_reset_network_header(skb[i]) |
6887 | If i == 0 Then skb_reset_mac_header(skb[i]) |
6889 | Else skb_set_mac_header(skb[i], - Total octets in header. ) |
6891 | __skb_pull(skb[i], doffset) |
6898 | gso_size = 1288 |
6899 | gso_type = SKB_GSO_TCPV6 | SKB_GSO_DODGY |
6908 | Return skb[0] |
6910 | err_skb1 : |
6911 | free an sk_buff |
6912 | err_skb0 : |
6913 | Return NULL |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |