Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/net/core/
Dfilter.c3242 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
3246 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3250 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
3272 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
3280 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4()
3396 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument
3412 ret = skb_cow_head(skb, len_diff); in bpf_skb_net_grow()
3438 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
3443 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow()
3492 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow()
[all …]
Dskbuff.c4031 int len_diff, err; in skb_segment_list() local
4071 len_diff = skb_network_header_len(nskb) - skb_network_header_len(skb); in skb_segment_list()
4075 nskb->transport_header += len_diff; in skb_segment_list()
/linux-6.1.9/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-6.1.9/drivers/staging/r8188eu/core/
Drtw_mlme_ext.c4115 int len_diff = 0; in update_hidden_ssid() local
4129 len_diff -= ssid_len_ori; in update_hidden_ssid()
4141 return len_diff; in update_hidden_ssid()
4254 int len_diff; in issue_beacon() local
4256 len_diff = update_hidden_ssid( in issue_beacon()
4261 pframe += (cur_network->IELength + len_diff); in issue_beacon()
4262 pattrib->pktlen += (cur_network->IELength + len_diff); in issue_beacon()
7802 int len_diff = 0; in set_tx_beacon_cmd() local
7819 len_diff = update_hidden_ssid(ptxBeacon_parm->network.IEs + _BEACON_IE_OFFSET_, in set_tx_beacon_cmd()
7822 ptxBeacon_parm->network.IELength += len_diff; in set_tx_beacon_cmd()