Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/ktest/
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-v5.4/net/core/
Dfilter.c2834 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
2841 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
2845 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
2861 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_proto_4_to_6()
2875 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
2886 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4()
2902 skb_increase_gso_size(shinfo, len_diff); in bpf_skb_proto_6_to_4()
3009 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument
3025 ret = skb_cow_head(skb, len_diff); in bpf_skb_net_grow()
3047 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c281 int len_diff = 0; in update_hidden_ssid() local
295 len_diff -= ssid_len_ori; in update_hidden_ssid()
307 return len_diff; in update_hidden_ssid()
359 int len_diff; in issue_beacon() local
365 len_diff = update_hidden_ssid( in issue_beacon()
370 pframe += (cur_network->ie_length+len_diff); in issue_beacon()
371 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon()
5326 int len_diff = 0; in set_tx_beacon_cmd() local
5342 len_diff = update_hidden_ssid(ptxBeacon_parm->ies+_BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
5345 ptxBeacon_parm->ie_length += len_diff; in set_tx_beacon_cmd()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2404 int len_diff = 0; in update_hidden_ssid() local
2421 len_diff -= ssid_len_ori; in update_hidden_ssid()
2433 return len_diff; in update_hidden_ssid()
2489 int len_diff; in issue_beacon() local
2491 len_diff = update_hidden_ssid( in issue_beacon()
2496 pframe += (cur_network->IELength+len_diff); in issue_beacon()
2497 pattrib->pktlen += (cur_network->IELength+len_diff); in issue_beacon()
6566 int len_diff = 0; in set_tx_beacon_cmd() local
6583 len_diff = update_hidden_ssid( in set_tx_beacon_cmd()
6588 ptxBeacon_parm->network.IELength += len_diff; in set_tx_beacon_cmd()
/Linux-v5.4/tools/testing/selftests/bpf/
Dbpf_helpers.h321 static int (*bpf_skb_adjust_room)(void *ctx, __s32 len_diff, __u32 mode,