/Linux-v5.15/net/nsh/ |
D | nsh.c | 53 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()
|
/Linux-v5.15/include/linux/ |
D | virtio_net.h | 72 if (!pskb_may_pull(skb, needed)) in virtio_net_hdr_to_skb() 79 if (!pskb_may_pull(skb, p_off)) in virtio_net_hdr_to_skb() 109 if (!pskb_may_pull(skb, p_off) || in virtio_net_hdr_to_skb() 116 if (!pskb_may_pull(skb, p_off)) in virtio_net_hdr_to_skb()
|
/Linux-v5.15/net/ipv4/ |
D | gre_demux.c | 69 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()
|
D | tunnel4.c | 99 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()
|
/Linux-v5.15/net/x25/ |
D | x25_in.c | 107 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()
|
D | x25_dev.c | 32 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()
|
D | x25_subr.c | 266 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()
|
/Linux-v5.15/net/ipv6/ila/ |
D | ila_common.c | 83 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()
|
/Linux-v5.15/net/sched/ |
D | act_nat.c | 133 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()
|
D | act_csum.c | 140 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer() 392 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4() 497 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6() 512 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6() 516 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6() 557 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()
|
/Linux-v5.15/net/llc/ |
D | llc_input.c | 116 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()
|
/Linux-v5.15/net/batman-adv/ |
D | gateway_client.c | 575 if (!pskb_may_pull(skb, *header_len + ETH_HLEN)) in batadv_gw_dhcp_recipient_get() 584 if (!pskb_may_pull(skb, *header_len + VLAN_HLEN)) in batadv_gw_dhcp_recipient_get() 595 if (!pskb_may_pull(skb, *header_len + sizeof(*iphdr))) in batadv_gw_dhcp_recipient_get() 607 if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr))) in batadv_gw_dhcp_recipient_get() 622 if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr))) in batadv_gw_dhcp_recipient_get() 647 if (!pskb_may_pull(skb, chaddr_offset + ETH_ALEN)) in batadv_gw_dhcp_recipient_get()
|
D | routing.c | 184 if (unlikely(!pskb_may_pull(skb, header_len))) in batadv_check_management_packet() 257 if (!pskb_may_pull(skb, sizeof(struct batadv_icmp_tp_packet))) in batadv_recv_my_icmp_packet() 350 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_icmp_packet() 447 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_check_unicast_packet() 797 if (!pskb_may_pull(skb, hdr_len + ETH_HLEN)) in batadv_check_unicast_ttvn() 1178 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_bcast_packet()
|
/Linux-v5.15/net/ipv6/ |
D | tunnel6.c | 126 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()
|
D | fou6.c | 98 if (!pskb_may_pull(skb, transport_offset + len)) in gue6_err() 133 if (!pskb_may_pull(skb, transport_offset + len + optlen)) in gue6_err()
|
/Linux-v5.15/net/openvswitch/ |
D | flow.c | 178 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() 316 if (unlikely(!pskb_may_pull(skb, sizeof(struct vlan_head) + in parse_vlan_tag() 392 if (unlikely(!pskb_may_pull(skb, sizeof(struct llc_snap_hdr)))) in parse_ethertype()
|
/Linux-v5.15/net/lapb/ |
D | lapb_subr.c | 116 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()
|
/Linux-v5.15/net/ife/ |
D | ife.c | 72 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()
|
/Linux-v5.15/net/ieee802154/ |
D | header_ops.c | 238 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()
|
/Linux-v5.15/drivers/net/ipvlan/ |
D | ipvlan_core.c | 144 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() 640 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in ipvlan_queue_xmit()
|
/Linux-v5.15/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 20 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in nf_reject_iphdr_validate() 33 if (!pskb_may_pull(skb, iph->ihl*4)) in nf_reject_iphdr_validate() 96 if (!pskb_may_pull(oldskb, len)) in nf_reject_skb_v4_unreach()
|
/Linux-v5.15/net/xfrm/ |
D | xfrm_input.c | 156 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()
|
/Linux-v5.15/net/dsa/ |
D | tag_brcm.c | 144 if (unlikely(!pskb_may_pull(skb, BRCM_TAG_LEN))) in brcm_tag_rcv_ll() 254 if (unlikely(!pskb_may_pull(skb, BRCM_LEG_PORT_ID))) in brcm_leg_tag_rcv()
|
D | tag_dsa.c | 323 if (unlikely(!pskb_may_pull(skb, DSA_HLEN))) in dsa_rcv() 363 if (unlikely(!pskb_may_pull(skb, EDSA_HLEN))) in edsa_rcv()
|
/Linux-v5.15/net/802/ |
D | garp.c | 429 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()
|