Home
last modified time | relevance | path

Searched refs:skb_ensure_writable (Results 1 – 25 of 34) sorted by relevance

12

/linux/net/netfilter/
H A Dxt_DSCP.c36 if (skb_ensure_writable(skb, sizeof(struct iphdr))) in dscp_tg()
53 if (skb_ensure_writable(skb, sizeof(struct ipv6hdr))) in dscp_tg6()
82 if (skb_ensure_writable(skb, sizeof(struct iphdr))) in tos_tg()
102 if (skb_ensure_writable(skb, sizeof(struct iphdr))) in tos_tg6()
H A Dxt_HL.c32 if (skb_ensure_writable(skb, sizeof(*iph))) in ttl_tg()
72 if (skb_ensure_writable(skb, sizeof(*ip6h))) in hl_tg6()
H A Dnf_nat_helper.c98 if (skb_ensure_writable(skb, skb->len)) in __nf_nat_mangle_tcp_packet()
148 if (skb_ensure_writable(skb, skb->len)) in nf_nat_mangle_udp_packet()
H A Dnf_conntrack_seqadj.c129 if (skb_ensure_writable(skb, optend)) in nf_ct_sack_adjust()
179 if (skb_ensure_writable(skb, protoff + sizeof(*tcph))) in nf_ct_seq_adjust()
H A Dnft_fwd_netdev.c117 if (skb_ensure_writable(skb, nhoff + sizeof(*iph))) { in nft_fwd_neigh_eval()
138 if (skb_ensure_writable(skb, nhoff + sizeof(*ip6h))) { in nft_fwd_neigh_eval()
H A Dxt_TCPOPTSTRIP.c52 if (skb_ensure_writable(skb, tcphoff + tcp_hdrlen)) in tcpoptstrip_mangle_packet()
H A Dxt_TCPMSS.c89 if (skb_ensure_writable(skb, skb->len)) in tcpmss_mangle_packet()
H A Dnft_exthdr.c246 if (skb_ensure_writable(pkt->skb, nft_thoff(pkt) + tcphdr_len)) in nft_exthdr_tcp_set_eval()
326 if (skb_ensure_writable(pkt->skb, nft_thoff(pkt) + tcphdr_len)) in nft_exthdr_tcp_strip_eval()
H A Dnf_flow_table_ip.c510 if (skb_ensure_writable(skb, thoff + ctx->hdrsize)) in nf_flow_offload_forward()
1122 if (skb_ensure_writable(skb, thoff + ctx->hdrsize)) in nf_flow_offload_ipv6_forward()
H A Dnf_conntrack_proto_sctp.c309 if (skb_ensure_writable(skb, dataoff + sizeof(*sh))) { in sctp_error()
H A Dnf_nat_sip.c288 if (skb_ensure_writable(skb, skb->len)) { in nf_nat_sip()
/linux/net/ipv4/netfilter/
H A Dipt_ECN.c32 if (skb_ensure_writable(skb, sizeof(struct iphdr))) in set_ect_ip()
61 if (skb_ensure_writable(skb, ip_hdrlen(skb) + sizeof(*tcph))) in set_ect_tcp()
H A Darpt_mangle.c20 if (skb_ensure_writable(skb, skb->len)) in target()
H A Dnf_nat_snmp_basic_main.c189 if (skb_ensure_writable(skb, skb->len)) { in help()
/linux/net/bridge/netfilter/
H A Debt_redirect.c24 if (skb_ensure_writable(skb, 0)) in ebt_redirect_tg()
H A Debt_snat.c25 if (skb_ensure_writable(skb, 0)) in ebt_snat_tg()
H A Debt_dnat.c24 if (skb_ensure_writable(skb, 0)) in ebt_dnat_tg()
/linux/net/openvswitch/
H A Dactions.c232 err = skb_ensure_writable(skb, ETH_HLEN); in set_eth_addr()
462 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv4()
513 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv6()
576 /* Must follow skb_ensure_writable() since that can move the skb data. */ in set_tp_port()
593 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_udp()
636 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_tcp()
666 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
1180 err = skb_ensure_writable(skb, skb_network_offset(skb) + in execute_dec_ttl()
1195 err = skb_ensure_writable(skb, skb_network_offset(skb) + in execute_dec_ttl()
/linux/net/netfilter/ipvs/
H A Dip_vs_app.c368 if (skb_ensure_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_out()
445 if (skb_ensure_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_in()
H A Dip_vs_proto_udp.c151 if (skb_ensure_writable(skb, udphoff + sizeof(*udph))) in udp_snat_handler()
234 if (skb_ensure_writable(skb, udphoff + sizeof(*udph))) in udp_dnat_handler()
H A Dip_vs_proto_sctp.c105 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()
153 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()
H A Dip_vs_proto_tcp.c162 if (skb_ensure_writable(skb, tcphoff + sizeof(*tcph))) in tcp_snat_handler()
240 if (skb_ensure_writable(skb, tcphoff + sizeof(*tcph))) in tcp_dnat_handler()
H A Dip_vs_core.c1057 if (skb_ensure_writable(skb, offset)) in handle_response_icmp()
1447 if (skb_ensure_writable(skb, iph->len)) in handle_response()
/linux/net/sched/
H A Dact_skbmod.c64 err = skb_ensure_writable(skb, max_edit_len); in tcf_skbmod_act()
H A Dact_pedit.c405 if (skb_ensure_writable(skb, min(skb->len, max_offset))) in tcf_pedit_act()

12