]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/net.h
net: Make sure IPaddr_t is 32 bits in size
[karo-tx-uboot.git] / include / net.h
index ad9afbf417d64a1b239a967c30d75e94049dc59a..fa5d525f6d964c3a58d4af0cfd637c805fc19eae 100644 (file)
@@ -33,7 +33,8 @@
 
 #define PKTALIGN       32
 
-typedef ulong          IPaddr_t;
+/* IPv4 addresses are always 32 bits in size */
+typedef u32            IPaddr_t;
 
 
 /**