Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/netfilter/
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()
Dnf_nat_proto.c72 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udp_manip_pkt()
89 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in udplite_manip_pkt()
115 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt()
156 if (skb_ensure_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt()
196 if (skb_ensure_writable(skb, hdroff + hdrsize)) in dccp_manip_pkt()
230 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in icmp_manip_pkt()
261 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) in icmpv6_manip_pkt()
289 if (skb_ensure_writable(skb, hdroff + sizeof(*pgreh) - 8)) in gre_manip_pkt()
361 if (skb_ensure_writable(skb, iphdroff + sizeof(*iph))) in nf_nat_ipv4_manip_pkt()
392 if (skb_ensure_writable(skb, iphdroff + sizeof(*ipv6h))) in nf_nat_ipv6_manip_pkt()
[all …]
Dxt_HL.c32 if (skb_ensure_writable(skb, sizeof(*iph))) in ttl_tg()
72 if (skb_ensure_writable(skb, sizeof(*ip6h))) in hl_tg6()
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()
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()
Dnft_payload.c606 if (skb_ensure_writable(skb, offset + sizeof(*sh))) in nft_payload_csum_sctp()
645 if (skb_ensure_writable(skb, l4csum_offset + sizeof(sum)) || in nft_payload_l4csum_update()
661 if (skb_ensure_writable(skb, csum_offset + sizeof(sum)) || in nft_payload_csum_inet()
721 if (skb_ensure_writable(skb, max(offset + priv->len, 0)) || in nft_payload_set_eval()
Dxt_TCPOPTSTRIP.c52 if (skb_ensure_writable(skb, tcphoff + tcp_hdrlen)) in tcpoptstrip_mangle_packet()
Dnft_exthdr.c256 if (skb_ensure_writable(pkt->skb, in nft_exthdr_tcp_set_eval()
325 if (skb_ensure_writable(pkt->skb, nft_thoff(pkt) + tcphdr_len)) in nft_exthdr_tcp_strip_eval()
Dxt_TCPMSS.c89 if (skb_ensure_writable(skb, skb->len)) in tcpmss_mangle_packet()
/linux-6.1.9/net/ipv4/netfilter/
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()
Darpt_mangle.c20 if (skb_ensure_writable(skb, skb->len)) in target()
Dnf_nat_snmp_basic_main.c189 if (skb_ensure_writable(skb, skb->len)) { in help()
/linux-6.1.9/net/bridge/netfilter/
Debt_redirect.c24 if (skb_ensure_writable(skb, 0)) in ebt_redirect_tg()
Debt_snat.c25 if (skb_ensure_writable(skb, 0)) in ebt_snat_tg()
Debt_dnat.c24 if (skb_ensure_writable(skb, 0)) in ebt_dnat_tg()
/linux-6.1.9/net/openvswitch/
Dactions.c261 err = skb_ensure_writable(skb, ETH_HLEN); in set_eth_addr()
484 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv4()
535 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv6()
623 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_nsh()
678 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_udp()
721 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_tcp()
751 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
1244 err = skb_ensure_writable(skb, skb_network_offset(skb) + in execute_dec_ttl()
1259 err = skb_ensure_writable(skb, skb_network_offset(skb) + in execute_dec_ttl()
/linux-6.1.9/net/ipv6/
Dip6_icmp.c71 skb_tail_pointer(skb_in) || skb_ensure_writable(skb_in, in icmpv6_ndo_send()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_xmit.c280 if (skb_ensure_writable(skb, sizeof(struct ipv6hdr))) in decrement_ttl()
295 if (skb_ensure_writable(skb, sizeof(struct iphdr))) in decrement_ttl()
819 if (skb_ensure_writable(skb, sizeof(struct iphdr))) in ip_vs_nat_xmit()
908 if (skb_ensure_writable(skb, sizeof(struct ipv6hdr))) in ip_vs_nat_xmit_v6()
1574 if (skb_ensure_writable(skb, offset)) in ip_vs_icmp_xmit()
1663 if (skb_ensure_writable(skb, offset)) in ip_vs_icmp_xmit_v6()
Dip_vs_ftp.c270 if (skb_ensure_writable(skb, skb->len)) in ip_vs_ftp_out()
436 if (skb_ensure_writable(skb, skb->len)) in ip_vs_ftp_in()
Dip_vs_app.c369 if (skb_ensure_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_out()
446 if (skb_ensure_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_in()
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()
Dip_vs_proto_sctp.c104 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()
151 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()
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()
/linux-6.1.9/net/sched/
Dact_skbmod.c63 err = skb_ensure_writable(skb, max_edit_len); in tcf_skbmod_act()
Dact_pedit.c335 if (skb_ensure_writable(skb, min(skb->len, max_offset))) in tcf_pedit_act()

12