Home
last modified time | relevance | path

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

/openbmc/linux/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) {
/openbmc/linux/net/core/
H A Dfilter.c3297 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_4_to_6() local
3301 ret = skb_cow(skb, len_diff); in bpf_skb_proto_4_to_6()
3305 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_proto_4_to_6()
3327 const u32 len_diff = sizeof(struct ipv6hdr) - sizeof(struct iphdr); in bpf_skb_proto_6_to_4() local
3335 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()
3497 if (inner_mac_len > len_diff) in bpf_skb_net_grow()
3502 ret = bpf_skb_net_hdr_push(skb, off, len_diff); in bpf_skb_net_grow()
3559 skb_decrease_gso_size(shinfo, len_diff); in bpf_skb_net_grow()
[all …]
H A Dskbuff.c4347 int len_diff, err; in skb_segment_list() local
4392 len_diff = skb_network_header_len(nskb) - skb_network_header_len(skb); in skb_segment_list()
4396 nskb->transport_header += len_diff; in skb_segment_list()
/openbmc/linux/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()