fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / net / ipip.h
index f490c3c..7cdc914 100644 (file)
@@ -35,7 +35,7 @@ struct ip_tunnel
        ip_send_check(iph);                                             \
                                                                        \
        err = NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, dst_output);\
-       if (err == NET_XMIT_SUCCESS || err == NET_XMIT_CN) {            \
+       if (net_xmit_eval(err) == 0) {                                  \
                stats->tx_bytes += pkt_len;                             \
                stats->tx_packets++;                                    \
        } else {                                                        \
@@ -44,8 +44,4 @@ struct ip_tunnel
        }                                                               \
 } while (0)
 
-
-extern int     sit_init(void);
-extern void    sit_cleanup(void);
-
 #endif