Searched refs:oldskb (Results 1 – 2 of 2) sorted by relevance
| /linux/net/ipv4/netfilter/ |
| H A D | nf_reject_ipv4.c | 17 const struct sk_buff *oldskb, 19 static void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, 22 nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, 50 struct sk_buff *oldskb, in nf_reject_skb_v4_tcp_reset() argument 59 if (!nf_reject_iphdr_validate(oldskb)) in nf_reject_skb_v4_tcp_reset() 62 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nf_reject_skb_v4_tcp_reset() 74 niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP, in nf_reject_skb_v4_tcp_reset() 76 nf_reject_ip_tcphdr_put(nskb, oldskb, oth); in nf_reject_skb_v4_tcp_reset() 106 struct sk_buff *oldskb, in nf_reject_skb_v4_unreach() argument 118 if (!nf_reject_iphdr_validate(oldskb)) in nf_reject_skb_v4_unreach() [all …]
|
| /linux/net/ipv6/netfilter/ |
| H A D | nf_reject_ipv6.c | 18 const struct sk_buff *oldskb, 22 const struct sk_buff *oldskb, 25 nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, 74 struct sk_buff *oldskb, in nf_reject_skb_v6_tcp_reset() argument 84 if (!nf_reject_ip6hdr_validate(oldskb)) in nf_reject_skb_v6_tcp_reset() 87 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nf_reject_skb_v6_tcp_reset() 99 nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_TCP, in nf_reject_skb_v6_tcp_reset() 101 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nf_reject_skb_v6_tcp_reset() 135 struct sk_buff *oldskb, in nf_reject_skb_v6_unreach() argument 144 if (!nf_reject_ip6hdr_validate(oldskb)) in nf_reject_skb_v6_unreach() [all …]
|