Home
last modified time | relevance | path

Searched refs:len_diff (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/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) {
/kernel/linux/linux-6.6/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) {
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c3276 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
3280 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3284 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
3306 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
3314 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4()
3434 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument
3450 ret = skb_cow_head(skb, len_diff); in bpf_skb_net_grow()
3476 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
3481 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow()
3530 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow()
3540 bpf_skb_net_shrink(struct sk_buff *skb, u32 off, u32 len_diff, u64 flags) bpf_skb_net_shrink() argument
[all...]
H A Dskbuff.c4336 int len_diff, err; in skb_segment_list() local
4381 len_diff = skb_network_header_len(nskb) - skb_network_header_len(skb); in skb_segment_list()
4385 nskb->transport_header += len_diff; in skb_segment_list()
/kernel/linux/linux-5.10/net/core/
H A Dfilter.c3284 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
3291 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3295 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
3323 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
3334 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4()
3455 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument
3471 ret = skb_cow_head(skb, len_diff); in bpf_skb_net_grow()
3493 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
3498 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow()
3551 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow()
3560 bpf_skb_net_shrink(struct sk_buff *skb, u32 off, u32 len_diff, u64 flags) bpf_skb_net_shrink() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_mlme_ext.c275 int len_diff = 0; in update_hidden_ssid() local
289 len_diff -= ssid_len_ori; in update_hidden_ssid()
301 return len_diff; in update_hidden_ssid()
353 int len_diff; in issue_beacon() local
359 len_diff = update_hidden_ssid( in issue_beacon()
364 pframe += (cur_network->ie_length + len_diff); in issue_beacon()
365 pattrib->pktlen += (cur_network->ie_length + len_diff); in issue_beacon()
5314 int len_diff = 0; in set_tx_beacon_cmd() local
5330 len_diff = update_hidden_ssid(ptxBeacon_parm->ies + _BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
5333 ptxBeacon_parm->ie_length += len_diff; in set_tx_beacon_cmd()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c2403 int len_diff = 0; in update_hidden_ssid() local
2420 len_diff -= ssid_len_ori; in update_hidden_ssid()
2432 return len_diff; in update_hidden_ssid()
2488 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()
6571 int len_diff = 0; in set_tx_beacon_cmd() local
6588 len_diff = update_hidden_ssid( in set_tx_beacon_cmd()
6593 ptxBeacon_parm->network.IELength += len_diff; in set_tx_beacon_cmd()
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c2084 int len_diff = 0; in update_hidden_ssid() local
2099 len_diff -= ssid_len_ori; in update_hidden_ssid()
2111 return len_diff; in update_hidden_ssid()
2161 int len_diff; in issue_beacon() local
2164 len_diff = update_hidden_ssid(pframe+_BEACON_IE_OFFSET_, in issue_beacon()
2167 pframe += (cur_network->ie_length+len_diff); in issue_beacon()
2168 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon()
5751 int len_diff = 0; in set_tx_beacon_cmd() local
5768 len_diff = update_hidden_ssid(ptxBeacon_parm->network.ies+_BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
5771 ptxBeacon_parm->network.ie_length += len_diff; in set_tx_beacon_cmd()
[all...]

Completed in 45 milliseconds