Home
last modified time | relevance | path

Searched refs:niph (Results 1 – 3 of 3) sorted by relevance

/linux/net/ipv4/netfilter/
A Dnf_reject_ipv4.c46 struct iphdr *niph; in nf_reject_skb_v4_tcp_reset() local
68 ip_send_check(niph); in nf_reject_skb_v4_tcp_reset()
80 struct iphdr *niph; in nf_reject_skb_v4_unreach() local
131 ip_send_check(niph); in nf_reject_skb_v4_unreach()
174 niph->version = 4; in nf_reject_iphdr_put()
176 niph->tos = 0; in nf_reject_iphdr_put()
177 niph->id = 0; in nf_reject_iphdr_put()
180 niph->check = 0; in nf_reject_iphdr_put()
183 niph->ttl = ttl; in nf_reject_iphdr_put()
187 return niph; in nf_reject_iphdr_put()
[all …]
/linux/net/netfilter/
A Dnf_synproxy_core.c447 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); in synproxy_send_tcp()
475 struct iphdr *iph, *niph; in synproxy_send_client_synack() local
519 struct iphdr *iph, *niph; in synproxy_send_server_syn() local
564 struct iphdr *iph, *niph; in synproxy_send_server_ack() local
602 struct iphdr *iph, *niph; in synproxy_send_client_ack() local
845 nth->check = ~tcp_v6_check(tcp_hdr_size, &niph->saddr, &niph->daddr, 0); in synproxy_send_tcp_ipv6()
852 fl6.saddr = niph->saddr; in synproxy_send_tcp_ipv6()
853 fl6.daddr = niph->daddr; in synproxy_send_tcp_ipv6()
888 struct ipv6hdr *iph, *niph; in synproxy_send_client_synack_ipv6() local
933 struct ipv6hdr *iph, *niph; in synproxy_send_server_syn_ipv6() local
[all …]
/linux/net/ipv4/
A Dip_tunnel_core.c199 struct iphdr *niph; in iptunnel_pmtud_build_icmp() local
210 err = pskb_trim(skb, 576 - sizeof(*niph) - sizeof(*icmph)); in iptunnel_pmtud_build_icmp()
215 err = skb_cow(skb, sizeof(*niph) + sizeof(*icmph) + ETH_HLEN); in iptunnel_pmtud_build_icmp()
230 niph = skb_push(skb, sizeof(*niph)); in iptunnel_pmtud_build_icmp()
231 *niph = (struct iphdr) { in iptunnel_pmtud_build_icmp()
232 .ihl = sizeof(*niph) / 4u, in iptunnel_pmtud_build_icmp()
235 .tot_len = htons(len + sizeof(*niph)), in iptunnel_pmtud_build_icmp()
243 ip_send_check(niph); in iptunnel_pmtud_build_icmp()

Completed in 16 milliseconds