Home
last modified time | relevance | path

Searched refs:len_diff (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/ktest/
H A Dconfig-bisect.pl499 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 Dfilter.c3335 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
3340 ret = skb_cow(skb, meta_len + len_diff); in bpf_skb_proto_4_to_6()
3344 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
3366 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
3374 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4()
3494 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument
3511 ret = skb_cow_head(skb, meta_len + len_diff); in bpf_skb_net_grow()
3537 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
3542 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow()
3599 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow()
[all …]
H A Dskbuff.c4643 int len_diff, err; in skb_segment_list() local
4688 len_diff = skb_network_header_len(nskb) - skb_network_header_len(skb); in skb_segment_list()
4692 nskb->transport_header += len_diff; in skb_segment_list()
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c2077 int len_diff = 0; in update_hidden_ssid() local
2092 len_diff -= ssid_len_ori; in update_hidden_ssid()
2104 return len_diff; in update_hidden_ssid()
2154 int len_diff; in issue_beacon() local
2157 len_diff = update_hidden_ssid(pframe+_BEACON_IE_OFFSET_, in issue_beacon()
2160 pframe += (cur_network->ie_length+len_diff); in issue_beacon()
2161 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon()
5724 int len_diff = 0; in set_tx_beacon_cmd() local
5741 len_diff = update_hidden_ssid(ptxBeacon_parm->network.ies+_BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
5744 ptxBeacon_parm->network.ie_length += len_diff; in set_tx_beacon_cmd()