Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/net/core/
Dfilter.c3228 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
3232 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3236 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
3258 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
3266 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4()
3382 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument
3398 ret = skb_cow_head(skb, len_diff); in bpf_skb_net_grow()
3424 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
3429 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow()
3478 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow()
[all …]
Dskbuff.c3895 int len_diff, err; in skb_segment_list() local
3935 len_diff = skb_network_header_len(nskb) - skb_network_header_len(skb); in skb_segment_list()
3939 nskb->transport_header += len_diff; in skb_segment_list()
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c2086 int len_diff = 0; in update_hidden_ssid() local
2101 len_diff -= ssid_len_ori; in update_hidden_ssid()
2113 return len_diff; in update_hidden_ssid()
2163 int len_diff; in issue_beacon() local
2166 len_diff = update_hidden_ssid(pframe+_BEACON_IE_OFFSET_, in issue_beacon()
2169 pframe += (cur_network->ie_length+len_diff); in issue_beacon()
2170 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon()
5753 int len_diff = 0; in set_tx_beacon_cmd() local
5770 len_diff = update_hidden_ssid(ptxBeacon_parm->network.ies+_BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
5773 ptxBeacon_parm->network.ie_length += len_diff; in set_tx_beacon_cmd()
/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c4007 int len_diff = 0; in update_hidden_ssid() local
4021 len_diff -= ssid_len_ori; in update_hidden_ssid()
4033 return len_diff; in update_hidden_ssid()
4146 int len_diff; in issue_beacon() local
4148 len_diff = update_hidden_ssid( in issue_beacon()
4153 pframe += (cur_network->IELength + len_diff); in issue_beacon()
4154 pattrib->pktlen += (cur_network->IELength + len_diff); in issue_beacon()
7536 int len_diff = 0; in set_tx_beacon_cmd() local
7553 len_diff = update_hidden_ssid(ptxBeacon_parm->network.IEs + _BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
7556 ptxBeacon_parm->network.IELength += len_diff; in set_tx_beacon_cmd()