Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/netfilter/
Dxt_DSCP.c37 if (!skb_make_writable(skb, sizeof(struct iphdr))) in dscp_tg()
55 if (!skb_make_writable(skb, sizeof(struct ipv6hdr))) in dscp_tg6()
85 if (!skb_make_writable(skb, sizeof(struct iphdr))) in tos_tg()
105 if (!skb_make_writable(skb, sizeof(struct iphdr))) in tos_tg6()
Dnf_nat_proto_udp.c71 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in udp_manip_pkt()
92 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in udplite_manip_pkt()
Dxt_HL.c35 if (!skb_make_writable(skb, skb->len)) in ttl_tg()
75 if (!skb_make_writable(skb, skb->len)) in hl_tg6()
Dnf_nat_helper.c105 if (!skb_make_writable(skb, skb->len)) in __nf_nat_mangle_tcp_packet()
159 if (!skb_make_writable(skb, skb->len)) in nf_nat_mangle_udp_packet()
Dnf_nat_proto_sctp.c45 if (!skb_make_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt()
Dnft_payload.c246 if (!skb_make_writable(skb, l4csum_offset + sizeof(sum)) || in nft_payload_l4csum_update()
262 if (!skb_make_writable(skb, csum_offset + sizeof(sum)) || in nft_payload_csum_inet()
315 if (!skb_make_writable(skb, max(offset + priv->len, 0)) || in nft_payload_set_eval()
Dnf_nat_proto_dccp.c48 if (!skb_make_writable(skb, hdroff + hdrsize)) in dccp_manip_pkt()
Dnf_nat_proto_tcp.c51 if (!skb_make_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt()
Dnf_conntrack_seqadj.c128 if (!skb_make_writable(skb, optend)) in nf_ct_sack_adjust()
177 if (!skb_make_writable(skb, protoff + sizeof(*tcph))) in nf_ct_seq_adjust()
Dxt_TCPOPTSTRIP.c47 if (!skb_make_writable(skb, skb->len)) in tcpoptstrip_mangle_packet()
/Linux-v4.19/net/ipv4/netfilter/
Dipt_ECN.c35 if (!skb_make_writable(skb, sizeof(struct iphdr))) in set_ect_ip()
64 if (!skb_make_writable(skb, ip_hdrlen(skb) + sizeof(*tcph))) in set_ect_tcp()
Dnf_nat_proto_icmp.c65 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in icmp_manip_pkt()
Darpt_mangle.c19 if (!skb_make_writable(skb, skb->len)) in target()
Dnf_nat_proto_gre.c96 if (!skb_make_writable(skb, hdroff + sizeof(*pgreh) - 8)) in gre_manip_pkt()
Dnf_nat_l3proto_ipv4.c87 if (!skb_make_writable(skb, iphdroff + sizeof(*iph))) in nf_nat_ipv4_manip_pkt()
195 if (!skb_make_writable(skb, hdrlen + sizeof(*inside))) in nf_nat_icmp_reply_translation()
Dnf_nat_snmp_basic_main.c193 if (!skb_make_writable(skb, skb->len)) { in help()
/Linux-v4.19/net/bridge/netfilter/
Debt_redirect.c23 if (!skb_make_writable(skb, 0)) in ebt_redirect_tg()
Debt_snat.c24 if (!skb_make_writable(skb, 0)) in ebt_snat_tg()
Debt_dnat.c24 if (!skb_make_writable(skb, 0)) in ebt_dnat_tg()
/Linux-v4.19/net/ipv6/netfilter/
Dnf_nat_proto_icmpv6.c66 if (!skb_make_writable(skb, hdroff + sizeof(*hdr))) in icmpv6_manip_pkt()
Dnf_nat_l3proto_ipv6.c88 if (!skb_make_writable(skb, iphdroff + sizeof(*ipv6h))) in nf_nat_ipv6_manip_pkt()
205 if (!skb_make_writable(skb, hdrlen + sizeof(*inside))) in nf_nat_icmpv6_reply_translation()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_xmit.c281 if (!skb_make_writable(skb, sizeof(struct ipv6hdr))) in decrement_ttl()
296 if (!skb_make_writable(skb, sizeof(struct iphdr))) in decrement_ttl()
790 if (!skb_make_writable(skb, sizeof(struct iphdr))) in ip_vs_nat_xmit()
879 if (!skb_make_writable(skb, sizeof(struct ipv6hdr))) in ip_vs_nat_xmit_v6()
1331 if (!skb_make_writable(skb, offset)) in ip_vs_icmp_xmit()
1420 if (!skb_make_writable(skb, offset)) in ip_vs_icmp_xmit_v6()
Dip_vs_app.c366 if (!skb_make_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_out()
443 if (!skb_make_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_in()
Dip_vs_ftp.c276 if (!skb_make_writable(skb, skb->len)) in ip_vs_ftp_out()
442 if (!skb_make_writable(skb, skb->len)) in ip_vs_ftp_in()
Dip_vs_proto_udp.c152 if (!skb_make_writable(skb, udphoff+sizeof(*udph))) in udp_snat_handler()
235 if (!skb_make_writable(skb, udphoff+sizeof(*udph))) in udp_dnat_handler()

12