Home
last modified time | relevance | path

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

1234567

/linux/net/nsh/
H A Dnsh.c54 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 Dx25_in.c110 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 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()
H A Dx25_subr.c267 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 Dnet.c89 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 Dndisc_snoop.c15 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 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()
H A 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()
/linux/net/ipv6/ila/
H A Dila_common.c84 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 Dact_nat.c145 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 Dact_csum.c141 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 Dgateway_client.c584 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 Ddistributed-arp-table.c1094 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 Drouting.c189 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 Dheader_ops.c288 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 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()
/linux/net/lapb/
H A 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()
/linux/net/openvswitch/
H A Dflow.c179 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 Dhsr_forward.c59 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 Dife.c72 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 Dvirtio_net.h102 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 Dxfrm_input.c163 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 Dnf_reject_ipv4.c30 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 Dtag_dsa.c343 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 Dpsp_main.c318 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()

1234567