/linux-6.1.9/net/netfilter/ |
D | xt_DSCP.c | 36 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()
|
D | nf_nat_proto.c | 72 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 …]
|
D | xt_HL.c | 32 if (skb_ensure_writable(skb, sizeof(*iph))) in ttl_tg() 72 if (skb_ensure_writable(skb, sizeof(*ip6h))) in hl_tg6()
|
D | nf_nat_helper.c | 98 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()
|
D | nf_conntrack_seqadj.c | 129 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()
|
D | nft_payload.c | 606 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()
|
D | xt_TCPOPTSTRIP.c | 52 if (skb_ensure_writable(skb, tcphoff + tcp_hdrlen)) in tcpoptstrip_mangle_packet()
|
D | nft_exthdr.c | 256 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()
|
D | xt_TCPMSS.c | 89 if (skb_ensure_writable(skb, skb->len)) in tcpmss_mangle_packet()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | ipt_ECN.c | 32 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()
|
D | arpt_mangle.c | 20 if (skb_ensure_writable(skb, skb->len)) in target()
|
D | nf_nat_snmp_basic_main.c | 189 if (skb_ensure_writable(skb, skb->len)) { in help()
|
/linux-6.1.9/net/bridge/netfilter/ |
D | ebt_redirect.c | 24 if (skb_ensure_writable(skb, 0)) in ebt_redirect_tg()
|
D | ebt_snat.c | 25 if (skb_ensure_writable(skb, 0)) in ebt_snat_tg()
|
D | ebt_dnat.c | 24 if (skb_ensure_writable(skb, 0)) in ebt_dnat_tg()
|
/linux-6.1.9/net/openvswitch/ |
D | actions.c | 261 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/ |
D | ip6_icmp.c | 71 skb_tail_pointer(skb_in) || skb_ensure_writable(skb_in, in icmpv6_ndo_send()
|
/linux-6.1.9/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 280 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()
|
D | ip_vs_ftp.c | 270 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()
|
D | ip_vs_app.c | 369 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()
|
D | ip_vs_proto_udp.c | 151 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()
|
D | ip_vs_proto_sctp.c | 104 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()
|
D | ip_vs_proto_tcp.c | 162 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/ |
D | act_skbmod.c | 63 err = skb_ensure_writable(skb, max_edit_len); in tcf_skbmod_act()
|
D | act_pedit.c | 335 if (skb_ensure_writable(skb, min(skb->len, max_offset))) in tcf_pedit_act()
|