Searched refs:len_diff (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/ktest/ |
| H A D | config-bisect.pl | 499 my $len_diff = $#diff_arr + 1; 519 doprint "# of configs to check: $len_diff\n"; 523 if ($len_diff > 0) { 555 if (!$runtest && $len_diff > 0) {
|
| /linux/net/core/ |
| H A D | filter.c | 3338 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local 3343 ret = skb_cow(skb, meta_len + len_diff); in bpf_skb_proto_4_to_6() 3347 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6() 3370 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local 3378 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4() 3505 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument 3522 ret = skb_cow_head(skb, meta_len + len_diff); in bpf_skb_net_grow() 3548 if (inner_mac_len > len_diff) in bpf_skb_net_grow() 3553 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow() 3611 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow() [all …]
|
| H A D | skbuff.c | 4651 int len_diff, err; in skb_segment_list() local 4700 len_diff = skb_network_header_len(nskb) - skb_network_header_len(skb); in skb_segment_list() 4704 nskb->transport_header += len_diff; in skb_segment_list()
|