Home
last modified time | relevance | path

Searched refs:pskb_may_pull (Results 1 – 25 of 166) sorted by relevance

1234567

/kernel/linux/linux-5.10/net/nsh/
Dnsh.c53 if (!pskb_may_pull(skb, NSH_BASE_HDR_LEN)) in nsh_pop()
60 if (!pskb_may_pull(skb, length)) in nsh_pop()
89 if (unlikely(!pskb_may_pull(skb, NSH_BASE_HDR_LEN))) in nsh_gso_segment()
94 if (unlikely(!pskb_may_pull(skb, nsh_len))) in nsh_gso_segment()
/kernel/linux/linux-5.10/include/linux/
Dvirtio_net.h90 if (!pskb_may_pull(skb, needed)) in virtio_net_hdr_to_skb()
97 if (!pskb_may_pull(skb, p_off)) in virtio_net_hdr_to_skb()
130 if (!pskb_may_pull(skb, p_off) || in virtio_net_hdr_to_skb()
137 if (!pskb_may_pull(skb, p_off)) in virtio_net_hdr_to_skb()
/kernel/linux/linux-5.10/net/ipv4/
Dgre_demux.c69 if (unlikely(!pskb_may_pull(skb, nhs + sizeof(struct gre_base_hdr)))) in gre_parse_header()
79 if (!pskb_may_pull(skb, nhs + hdr_len)) in gre_parse_header()
135 if (!pskb_may_pull(skb, nhs + hdr_len + sizeof(*ershdr))) in gre_parse_header()
152 if (!pskb_may_pull(skb, 12)) in gre_rcv()
Dtunnel4.c99 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
145 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel64_rcv()
165 if (!pskb_may_pull(skb, sizeof(struct mpls_label))) in tunnelmpls4_rcv()
/kernel/linux/linux-5.10/net/x25/
Dx25_in.c107 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_state1_machine()
150 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state1_machine()
180 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state2_machine()
230 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state3_machine()
365 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state4_machine()
396 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) { in x25_state5_machine()
Dx25_dev.c32 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_receive_data()
118 if (!pskb_may_pull(skb, 1)) { in x25_lapb_receive_frame()
Dx25_subr.c266 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_decode()
293 if (!pskb_may_pull(skb, X25_EXT_MIN_LEN)) in x25_decode()
311 if (!pskb_may_pull(skb, X25_EXT_MIN_LEN)) in x25_decode()
/kernel/linux/linux-5.10/net/ipv6/ila/
Dila_common.c83 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct tcphdr)))) { in ila_csum_adjust_transport()
93 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct udphdr)))) { in ila_csum_adjust_transport()
107 if (likely(pskb_may_pull(skb, in ila_csum_adjust_transport()
/kernel/linux/linux-5.10/net/sched/
Dact_nat.c133 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act()
171 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act()
184 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act()
201 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act()
209 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + sizeof(*iph) + in tcf_nat_act()
Dact_csum.c139 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
391 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4()
496 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6()
511 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6()
515 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6()
556 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()
/kernel/linux/linux-5.10/net/llc/
Dllc_input.c116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu)))) in llc_fixup_skb()
124 if (unlikely(!pskb_may_pull(skb, llc_len))) in llc_fixup_skb()
134 !pskb_may_pull(skb, data_size)) in llc_fixup_skb()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnft_reject_bridge.c47 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in nft_bridge_iphdr_validate()
60 if (!pskb_may_pull(skb, iph->ihl*4)) in nft_bridge_iphdr_validate()
125 if (!pskb_may_pull(oldskb, len)) in nft_reject_br_send_v4_unreach()
170 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in nft_bridge_ip6hdr_validate()
261 if (!pskb_may_pull(oldskb, len)) in nft_reject_br_send_v6_unreach()
/kernel/linux/linux-5.10/net/batman-adv/
Dgateway_client.c625 if (!pskb_may_pull(skb, *header_len + ETH_HLEN)) in batadv_gw_dhcp_recipient_get()
634 if (!pskb_may_pull(skb, *header_len + VLAN_HLEN)) in batadv_gw_dhcp_recipient_get()
645 if (!pskb_may_pull(skb, *header_len + sizeof(*iphdr))) in batadv_gw_dhcp_recipient_get()
657 if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr))) in batadv_gw_dhcp_recipient_get()
672 if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr))) in batadv_gw_dhcp_recipient_get()
697 if (!pskb_may_pull(skb, chaddr_offset + ETH_ALEN)) in batadv_gw_dhcp_recipient_get()
Drouting.c187 if (unlikely(!pskb_may_pull(skb, header_len))) in batadv_check_management_packet()
269 if (!pskb_may_pull(skb, sizeof(struct batadv_icmp_tp_packet))) in batadv_recv_my_icmp_packet()
366 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_icmp_packet()
464 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_check_unicast_packet()
818 if (!pskb_may_pull(skb, hdr_len + ETH_HLEN)) in batadv_check_unicast_ttvn()
1200 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_bcast_packet()
/kernel/linux/linux-5.10/net/ipv6/
Dtunnel6.c126 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnelmpls6_rcv()
144 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel6_rcv()
189 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel46_rcv()
Dfou6.c98 if (!pskb_may_pull(skb, transport_offset + len)) in gue6_err()
133 if (!pskb_may_pull(skb, transport_offset + len + optlen)) in gue6_err()
Dexthdrs.c288 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_destopt_rcv()
289 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_destopt_rcv()
531 if (!pskb_may_pull(skb, sizeof(*hdr))) { in ipv6_rpl_srh_rcv()
573 if (!pskb_may_pull(skb, ipv6_rpl_srh_size(n, hdr->cmpri, in ipv6_rpl_srh_rcv()
681 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_rthdr_rcv()
682 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_rthdr_rcv()
1029 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr) + 8) || in ipv6_parse_hopopts()
1030 !pskb_may_pull(skb, (sizeof(struct ipv6hdr) + in ipv6_parse_hopopts()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow.c178 if (unlikely(!pskb_may_pull(skb, len))) in check_header()
185 return pskb_may_pull(skb, skb_network_offset(skb) + in arphdr_ok()
213 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) in tcphdr_ok()
226 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok()
232 return pskb_may_pull(skb, skb_transport_offset(skb) + in sctphdr_ok()
238 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok()
291 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok()
312 if (unlikely(!pskb_may_pull(skb, sizeof(struct vlan_head) + in parse_vlan_tag()
388 if (unlikely(!pskb_may_pull(skb, sizeof(struct llc_snap_hdr)))) in parse_ethertype()
/kernel/linux/linux-5.10/net/lapb/
Dlapb_subr.c116 if (!pskb_may_pull(skb, 2)) in lapb_decode()
149 if (!pskb_may_pull(skb, 2)) in lapb_decode()
162 if (!pskb_may_pull(skb, 2)) in lapb_decode()
/kernel/linux/linux-5.10/net/ife/
Dife.c72 if (!pskb_may_pull(skb, skb->dev->hard_header_len + IFE_METAHDRLEN)) in ife_decode()
82 if (unlikely(!pskb_may_pull(skb, total_pull))) in ife_decode()
/kernel/linux/linux-5.10/net/ieee802154/
Dheader_ops.c238 if (!pskb_may_pull(skb, 3)) in ieee802154_hdr_pull()
244 if (rc < 0 || !pskb_may_pull(skb, rc)) in ieee802154_hdr_pull()
252 if (!pskb_may_pull(skb, want)) in ieee802154_hdr_pull()
/kernel/linux/linux-5.10/drivers/net/ipvlan/
Dipvlan_core.c144 if (unlikely(!pskb_may_pull(skb, arp_hdr_len(port->dev)))) in ipvlan_get_L3_hdr()
156 if (unlikely(!pskb_may_pull(skb, sizeof(*ip4h)))) in ipvlan_get_L3_hdr()
174 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h)))) in ipvlan_get_L3_hdr()
188 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h) + sizeof(*icmph)))) in ipvlan_get_L3_hdr()
196 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h) + sizeof(*icmph) in ipvlan_get_L3_hdr()
648 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in ipvlan_queue_xmit()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_input.c156 if (!pskb_may_pull(skb, sizeof(struct ip_comp_hdr))) in xfrm_parse_spi()
165 if (!pskb_may_pull(skb, hlen)) in xfrm_parse_spi()
184 if (!pskb_may_pull(skb, sizeof(*ph))) in xfrm4_remove_beet_encap()
196 if (!pskb_may_pull(skb, phlen)) in xfrm4_remove_beet_encap()
235 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in xfrm4_remove_tunnel_encap()
272 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in xfrm6_remove_tunnel_encap()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dicmp.c51 if (!pskb_may_pull(skb, sizeof(struct nip_icmp_hdr))) { in nip_icmp_rcv()
/kernel/linux/linux-5.10/net/802/
Dgarp.c429 if (!pskb_may_pull(skb, sizeof(u8))) in garp_pdu_parse_end_mark()
446 if (!pskb_may_pull(skb, sizeof(*ga))) in garp_pdu_parse_attr()
452 if (!pskb_may_pull(skb, ga->len)) in garp_pdu_parse_attr()
495 if (!pskb_may_pull(skb, sizeof(*gm))) in garp_pdu_parse_msg()
526 if (!pskb_may_pull(skb, sizeof(*gp))) in garp_pdu_rcv()

1234567