Searched refs:len_diff (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/tools/testing/ktest/ |
D | config-bisect.pl | 499 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.15/net/core/ |
D | filter.c | 3224 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local 3228 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6() 3232 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6() 3254 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local 3262 ret = bpf_skb_net_hdr_pop(skb, off, len_diff); in bpf_skb_proto_6_to_4() 3378 static int bpf_skb_net_grow(struct sk_buff *skb, u32 off, u32 len_diff, in bpf_skb_net_grow() argument 3394 ret = skb_cow_head(skb, len_diff); in bpf_skb_net_grow() 3420 if (inner_mac_len > len_diff) in bpf_skb_net_grow() 3425 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow() 3474 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow() [all …]
|
/Linux-v5.15/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme_ext.c | 2105 int len_diff = 0; in update_hidden_ssid() local 2120 len_diff -= ssid_len_ori; in update_hidden_ssid() 2132 return len_diff; in update_hidden_ssid() 2182 int len_diff; in issue_beacon() local 2185 len_diff = update_hidden_ssid(pframe+_BEACON_IE_OFFSET_, in issue_beacon() 2188 pframe += (cur_network->ie_length+len_diff); in issue_beacon() 2189 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon() 5805 int len_diff = 0; in set_tx_beacon_cmd() local 5822 len_diff = update_hidden_ssid(ptxBeacon_parm->network.ies+_BEACON_IE_OFFSET_, in set_tx_beacon_cmd() 5825 ptxBeacon_parm->network.ie_length += len_diff; in set_tx_beacon_cmd()
|
/Linux-v5.15/drivers/staging/r8188eu/core/ |
D | rtw_mlme_ext.c | 4380 int len_diff = 0; in update_hidden_ssid() local 4394 len_diff -= ssid_len_ori; in update_hidden_ssid() 4406 return len_diff; in update_hidden_ssid() 4529 int len_diff; in issue_beacon() local 4531 len_diff = update_hidden_ssid( in issue_beacon() 4536 pframe += (cur_network->IELength + len_diff); in issue_beacon() 4537 pattrib->pktlen += (cur_network->IELength + len_diff); in issue_beacon() 8131 int len_diff = 0; in set_tx_beacon_cmd() local 8148 len_diff = update_hidden_ssid(ptxBeacon_parm->network.IEs + _BEACON_IE_OFFSET_, in set_tx_beacon_cmd() 8151 ptxBeacon_parm->network.IELength += len_diff; in set_tx_beacon_cmd()
|