niph               75 net/bridge/netfilter/nft_reject_bridge.c 	struct iphdr *niph;
niph               92 net/bridge/netfilter/nft_reject_bridge.c 	niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP,
niph               95 net/bridge/netfilter/nft_reject_bridge.c 	niph->tot_len = htons(nskb->len);
niph               96 net/bridge/netfilter/nft_reject_bridge.c 	ip_send_check(niph);
niph              109 net/bridge/netfilter/nft_reject_bridge.c 	struct iphdr *niph;
niph              144 net/bridge/netfilter/nft_reject_bridge.c 	niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_ICMP,
niph              157 net/bridge/netfilter/nft_reject_bridge.c 	niph->tot_len	= htons(nskb->len);
niph              158 net/bridge/netfilter/nft_reject_bridge.c 	ip_send_check(niph);
niph               48 net/ipv4/netfilter/nf_reject_ipv4.c 	struct iphdr *niph, *oiph = ip_hdr(oldskb);
niph               51 net/ipv4/netfilter/nf_reject_ipv4.c 	niph = skb_put(nskb, sizeof(struct iphdr));
niph               52 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->version	= 4;
niph               53 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->ihl	= sizeof(struct iphdr) / 4;
niph               54 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->tos	= 0;
niph               55 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->id	= 0;
niph               56 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->frag_off	= htons(IP_DF);
niph               57 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->protocol	= protocol;
niph               58 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->check	= 0;
niph               59 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->saddr	= oiph->daddr;
niph               60 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->daddr	= oiph->saddr;
niph               61 net/ipv4/netfilter/nf_reject_ipv4.c 	niph->ttl	= ttl;
niph               65 net/ipv4/netfilter/nf_reject_ipv4.c 	return niph;
niph               72 net/ipv4/netfilter/nf_reject_ipv4.c 	struct iphdr *niph = ip_hdr(nskb);
niph               91 net/ipv4/netfilter/nf_reject_ipv4.c 	tcph->check = ~tcp_v4_check(sizeof(struct tcphdr), niph->saddr,
niph               92 net/ipv4/netfilter/nf_reject_ipv4.c 				    niph->daddr, 0);
niph              104 net/ipv4/netfilter/nf_reject_ipv4.c 	struct iphdr *niph;
niph              126 net/ipv4/netfilter/nf_reject_ipv4.c 	niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP,
niph              133 net/ipv4/netfilter/nf_reject_ipv4.c 	niph = ip_hdr(nskb);
niph              153 net/ipv4/netfilter/nf_reject_ipv4.c 		niph->tot_len = htons(nskb->len);
niph              154 net/ipv4/netfilter/nf_reject_ipv4.c 		ip_send_check(niph);
niph              439 net/netfilter/nf_synproxy_core.c 		  struct iphdr *niph, struct tcphdr *nth,
niph              442 net/netfilter/nf_synproxy_core.c 	nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0);
niph              470 net/netfilter/nf_synproxy_core.c 	struct iphdr *iph, *niph;
niph              478 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              484 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip(net, nskb, iph->daddr, iph->saddr);
niph              503 net/netfilter/nf_synproxy_core.c 			  IP_CT_ESTABLISHED_REPLY, niph, nth, tcp_hdr_size);
niph              514 net/netfilter/nf_synproxy_core.c 	struct iphdr *iph, *niph;
niph              521 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              527 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip(net, nskb, iph->saddr, iph->daddr);
niph              549 net/netfilter/nf_synproxy_core.c 			  niph, nth, tcp_hdr_size);
niph              559 net/netfilter/nf_synproxy_core.c 	struct iphdr *iph, *niph;
niph              566 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              572 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip(net, nskb, iph->daddr, iph->saddr);
niph              588 net/netfilter/nf_synproxy_core.c 	synproxy_send_tcp(net, skb, nskb, NULL, 0, niph, nth, tcp_hdr_size);
niph              597 net/netfilter/nf_synproxy_core.c 	struct iphdr *iph, *niph;
niph              604 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              610 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip(net, nskb, iph->saddr, iph->daddr);
niph              627 net/netfilter/nf_synproxy_core.c 			  IP_CT_ESTABLISHED_REPLY, niph, nth, tcp_hdr_size);
niph              834 net/netfilter/nf_synproxy_core.c 		       struct ipv6hdr *niph, struct tcphdr *nth,
niph              841 net/netfilter/nf_synproxy_core.c 	nth->check = ~tcp_v6_check(tcp_hdr_size, &niph->saddr, &niph->daddr, 0);
niph              848 net/netfilter/nf_synproxy_core.c 	fl6.saddr = niph->saddr;
niph              849 net/netfilter/nf_synproxy_core.c 	fl6.daddr = niph->daddr;
niph              884 net/netfilter/nf_synproxy_core.c 	struct ipv6hdr *iph, *niph;
niph              892 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              898 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip_ipv6(net, nskb, &iph->daddr, &iph->saddr);
niph              917 net/netfilter/nf_synproxy_core.c 			       IP_CT_ESTABLISHED_REPLY, niph, nth,
niph              929 net/netfilter/nf_synproxy_core.c 	struct ipv6hdr *iph, *niph;
niph              936 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              942 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip_ipv6(net, nskb, &iph->saddr, &iph->daddr);
niph              964 net/netfilter/nf_synproxy_core.c 			       IP_CT_NEW, niph, nth, tcp_hdr_size);
niph              974 net/netfilter/nf_synproxy_core.c 	struct ipv6hdr *iph, *niph;
niph              981 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph              987 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip_ipv6(net, nskb, &iph->daddr, &iph->saddr);
niph             1003 net/netfilter/nf_synproxy_core.c 	synproxy_send_tcp_ipv6(net, skb, nskb, NULL, 0, niph, nth,
niph             1013 net/netfilter/nf_synproxy_core.c 	struct ipv6hdr *iph, *niph;
niph             1020 net/netfilter/nf_synproxy_core.c 	nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER,
niph             1026 net/netfilter/nf_synproxy_core.c 	niph = synproxy_build_ip_ipv6(net, nskb, &iph->saddr, &iph->daddr);
niph             1043 net/netfilter/nf_synproxy_core.c 			       IP_CT_ESTABLISHED_REPLY, niph, nth,