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

/linux-master/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c46 struct iphdr *niph; local
64 niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP,
67 niph->tot_len = htons(nskb->len);
68 ip_send_check(niph);
80 struct iphdr *niph; local
119 niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_ICMP,
132 niph->tot_len = htons(nskb->len);
133 ip_send_check(niph);
172 struct iphdr *niph, *oiph = ip_hdr(oldskb); local
175 niph
196 struct iphdr *niph = ip_hdr(nskb); local
243 struct iphdr *niph; local
[all...]
/linux-master/net/netfilter/
H A Dnf_synproxy_core.c421 struct iphdr *niph, struct tcphdr *nth,
424 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0);
452 struct iphdr *iph, *niph; local
460 nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
466 niph = synproxy_build_ip(net, nskb, iph->daddr, iph->saddr);
485 IP_CT_ESTABLISHED_REPLY, niph, nth, tcp_hdr_size);
496 struct iphdr *iph, *niph; local
503 nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
509 niph
418 synproxy_send_tcp(struct net *net, const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct iphdr *niph, struct tcphdr *nth, unsigned int tcp_hdr_size) argument
541 struct iphdr *iph, *niph; local
579 struct iphdr *iph, *niph; local
812 synproxy_send_tcp_ipv6(struct net *net, const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct ipv6hdr *niph, struct tcphdr *nth, unsigned int tcp_hdr_size) argument
865 struct ipv6hdr *iph, *niph; local
910 struct ipv6hdr *iph, *niph; local
955 struct ipv6hdr *iph, *niph; local
994 struct ipv6hdr *iph, *niph; local
[all...]
/linux-master/net/ipv4/
H A Dip_tunnel_core.c199 struct iphdr *niph; local
210 err = pskb_trim(skb, 576 - sizeof(*niph) - sizeof(*icmph));
215 err = skb_cow(skb, sizeof(*niph) + sizeof(*icmph) + ETH_HLEN);
230 niph = skb_push(skb, sizeof(*niph));
231 *niph = (struct iphdr) {
232 .ihl = sizeof(*niph) / 4u,
235 .tot_len = htons(len + sizeof(*niph)),
243 ip_send_check(niph);

Completed in 120 milliseconds