| /linux/net/nsh/ |
| H A D | nsh.c | 54 if (!pskb_may_pull(skb, NSH_BASE_HDR_LEN)) in nsh_pop() 61 if (!pskb_may_pull(skb, length)) in nsh_pop() 91 if (unlikely(!pskb_may_pull(skb, NSH_BASE_HDR_LEN))) in nsh_gso_segment() 96 if (unlikely(!pskb_may_pull(skb, nsh_len))) in nsh_gso_segment()
|
| /linux/net/x25/ |
| H A D | x25_in.c | 110 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_state1_machine() 153 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state1_machine() 183 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state2_machine() 233 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state3_machine() 368 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) in x25_state4_machine() 399 if (!pskb_may_pull(skb, X25_STD_MIN_LEN + 2)) { in x25_state5_machine()
|
| H A 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()
|
| H A D | x25_subr.c | 267 if (!pskb_may_pull(skb, X25_STD_MIN_LEN)) in x25_decode() 294 if (!pskb_may_pull(skb, X25_EXT_MIN_LEN)) in x25_decode() 312 if (!pskb_may_pull(skb, X25_EXT_MIN_LEN)) in x25_decode()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mei/ |
| H A D | net.c | 89 if (!pskb_may_pull(skb, arp_hdr_len(skb->dev))) in iwl_mei_rx_filter_arp() 197 if (!pskb_may_pull(skb, skb_network_offset(skb) + sizeof(*iphdr)) || in iwl_mei_rx_filter_ipv4() 198 !pskb_may_pull(skb, skb_network_offset(skb) + ip_hdrlen(skb))) in iwl_mei_rx_filter_ipv4() 216 if (!pskb_may_pull(skb, skb_transport_offset(skb) + in iwl_mei_rx_filter_ipv4() 226 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(*icmp))) in iwl_mei_rx_filter_ipv4()
|
| /linux/net/ipv6/ |
| H A D | ndisc_snoop.c | 15 if (!pskb_may_pull(skb, offset)) in ndisc_check_ip6hdr() 51 if (!pskb_may_pull(skb, len)) in ndisc_check_icmpv6() 112 if (!pskb_may_pull(skb, len)) in ndisc_check_nd_msg()
|
| H A 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()
|
| H A 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/net/ipv6/ila/ |
| H A D | ila_common.c | 84 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct tcphdr)))) { in ila_csum_adjust_transport() 95 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct udphdr)))) { in ila_csum_adjust_transport() 110 if (likely(pskb_may_pull(skb, in ila_csum_adjust_transport()
|
| /linux/net/sched/ |
| H A D | act_nat.c | 145 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act() 183 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act() 196 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act() 213 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act() 221 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + sizeof(*iph) + in tcf_nat_act()
|
| H A D | act_csum.c | 141 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer() 396 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4() 501 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6() 516 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6() 520 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6() 561 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6() 613 if (!pskb_may_pull(skb, VLAN_HLEN)) in tcf_csum_act()
|
| /linux/net/batman-adv/ |
| H A D | gateway_client.c | 584 if (!pskb_may_pull(skb, *header_len + ETH_HLEN)) in batadv_gw_dhcp_recipient_get() 593 if (!pskb_may_pull(skb, *header_len + VLAN_HLEN)) in batadv_gw_dhcp_recipient_get() 604 if (!pskb_may_pull(skb, *header_len + sizeof(*iphdr))) in batadv_gw_dhcp_recipient_get() 616 if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr))) in batadv_gw_dhcp_recipient_get() 631 if (!pskb_may_pull(skb, *header_len + sizeof(*udphdr))) in batadv_gw_dhcp_recipient_get() 656 if (!pskb_may_pull(skb, chaddr_offset + ETH_ALEN)) in batadv_gw_dhcp_recipient_get()
|
| H A D | distributed-arp-table.c | 1094 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN))) in batadv_arp_get_type() 1103 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN + in batadv_arp_get_type() 1254 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) in batadv_dat_snoop_outgoing_arp_request() 1362 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) in batadv_dat_snoop_incoming_arp_request() 1430 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) in batadv_dat_snoop_outgoing_arp_reply() 1491 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) in batadv_dat_snoop_incoming_arp_reply() 1906 if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN))) in batadv_dat_snoop_incoming_dhcp_ack() 1965 if (!pskb_may_pull(forw_packet->skb, hdr_size + ETH_HLEN)) in batadv_dat_drop_broadcast_packet()
|
| H A D | routing.c | 189 if (unlikely(!pskb_may_pull(skb, header_len))) in batadv_check_management_packet() 315 if (!pskb_may_pull(skb, sizeof(struct batadv_icmp_tp_packet))) in batadv_recv_my_icmp_packet() 420 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_icmp_packet() 517 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_check_unicast_packet() 899 if (!pskb_may_pull(skb, hdr_len + ETH_HLEN)) in batadv_check_unicast_ttvn() 1276 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_bcast_packet()
|
| /linux/net/ieee802154/ |
| H A D | header_ops.c | 288 if (!pskb_may_pull(skb, 3)) in ieee802154_hdr_pull() 294 if (rc < 0 || !pskb_may_pull(skb, rc)) in ieee802154_hdr_pull() 302 if (!pskb_may_pull(skb, want)) in ieee802154_hdr_pull() 316 if (!pskb_may_pull(skb, sizeof(*mac_pl))) in ieee802154_mac_cmd_pl_pull()
|
| /linux/net/ipv4/ |
| H A 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/net/lapb/ |
| H A 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/net/openvswitch/ |
| H A D | flow.c | 179 if (unlikely(!pskb_may_pull(skb, len))) in check_header() 186 return pskb_may_pull(skb, skb_network_offset(skb) + in arphdr_ok() 214 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) in tcphdr_ok() 227 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok() 233 return pskb_may_pull(skb, skb_transport_offset(skb) + in sctphdr_ok() 239 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok() 432 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok() 457 if (unlikely(!pskb_may_pull(skb, sizeof(struct vlan_head) + in parse_vlan_tag() 533 if (unlikely(!pskb_may_pull(skb, sizeof(struct llc_snap_hdr)))) in parse_ethertype()
|
| /linux/net/hsr/ |
| H A D | hsr_forward.c | 59 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame() 69 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame() 87 if (!pskb_may_pull(skb, total_length + sizeof(struct hsr_sup_tlv))) in is_supervision_frame() 103 if (!pskb_may_pull(skb, total_length + sizeof(struct hsr_sup_tlv))) in is_supervision_frame() 135 if (!pskb_may_pull(skb, total_length + sizeof(struct hsr_sup_payload))) in is_proxy_supervision_frame() 748 if (!pskb_may_pull(skb, in fill_frame_info()
|
| /linux/net/ife/ |
| H A D | ife.c | 72 if (!pskb_may_pull(skb, ETH_HLEN + IFE_METAHDRLEN)) in ife_decode() 82 if (unlikely(!pskb_may_pull(skb, total_pull + ETH_HLEN))) in ife_decode()
|
| /linux/include/linux/ |
| H A D | virtio_net.h | 102 if (!pskb_may_pull(skb, needed)) in __virtio_net_hdr_to_skb() 112 if (!pskb_may_pull(skb, p_off)) in __virtio_net_hdr_to_skb() 146 if (!pskb_may_pull(skb, p_off) || in __virtio_net_hdr_to_skb() 153 if (!pskb_may_pull(skb, p_off)) in __virtio_net_hdr_to_skb()
|
| /linux/net/xfrm/ |
| H A D | xfrm_input.c | 163 if (!pskb_may_pull(skb, sizeof(struct ip_comp_hdr))) in xfrm_parse_spi() 172 if (!pskb_may_pull(skb, hlen)) in xfrm_parse_spi() 193 if (!pskb_may_pull(skb, sizeof(*ph))) in xfrm4_remove_beet_encap() 205 if (!pskb_may_pull(skb, phlen)) in xfrm4_remove_beet_encap() 243 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in xfrm4_remove_tunnel_encap() 280 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in xfrm6_remove_tunnel_encap()
|
| /linux/net/ipv4/netfilter/ |
| H A D | nf_reject_ipv4.c | 30 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in nf_reject_iphdr_validate() 43 if (!pskb_may_pull(skb, iph->ihl*4)) in nf_reject_iphdr_validate() 132 if (!pskb_may_pull(oldskb, len)) in nf_reject_skb_v4_unreach()
|
| /linux/net/dsa/ |
| H A D | tag_dsa.c | 343 if (unlikely(!pskb_may_pull(skb, DSA_HLEN))) { in dsa_rcv() 385 if (unlikely(!pskb_may_pull(skb, EDSA_HLEN))) { in edsa_rcv()
|
| /linux/net/psp/ |
| H A D | psp_main.c | 318 if (unlikely(!pskb_may_pull(skb, l2_hlen + l3_hlen + PSP_ENCAP_HLEN))) in psp_dev_rcv() 330 !pskb_may_pull(skb, l2_hlen + l3_hlen + PSP_ENCAP_HLEN)) in psp_dev_rcv() 358 !pskb_may_pull(skb, l2_hlen + l3_hlen + in psp_dev_rcv()
|