netfilter: remove nf_ct_l4proto_find_get/nf_ct_l4proto_put
[safe/jmp/linux-2.6] / include / net / dn_fib.h
index 3012511..c378be7 100644 (file)
@@ -181,9 +181,9 @@ static inline void dn_fib_res_put(struct dn_fib_res *res)
 
 static inline __le16 dnet_make_mask(int n)
 {
-        if (n)
-                return dn_htons(~((1<<(16-n))-1));
-        return 0;
+       if (n)
+               return cpu_to_le16(~((1 << (16 - n)) - 1));
+       return cpu_to_le16(0);
 }
 
 #endif /* _NET_DN_FIB_H */