X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fnet%2Fnetfilter%2Fipv4%2Fnf_reject.h;h=864127573c3209f7a039cfb96fd53a80ec8e08d8;hb=ee586bbc28fb7128133457cf711880d13a3b7ce4;hp=03e928a552290f57b050c4ce7dbe6592d02102e4;hpb=d6666be6f0c43efb9475d1d35fbef9f8be61b7b1;p=deliverable%2Flinux.git diff --git a/include/net/netfilter/ipv4/nf_reject.h b/include/net/netfilter/ipv4/nf_reject.h index 03e928a55229..864127573c32 100644 --- a/include/net/netfilter/ipv4/nf_reject.h +++ b/include/net/netfilter/ipv4/nf_reject.h @@ -5,11 +5,7 @@ #include #include -static inline void nf_send_unreach(struct sk_buff *skb_in, int code) -{ - icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); -} - +void nf_send_unreach(struct sk_buff *skb_in, int code, int hook); void nf_send_reset(struct sk_buff *oldskb, int hook); const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,