X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fnet.h;h=0802fad8761364d97f04a799e91d01ca4cd2eb06;hb=4c89a369c7cd6e7ad3adec4601cfa69fec476164;hp=23fb947292ccf3e1e1b805e86c11ac75106f3107;hpb=1318d00e5894ac55bc6b7297f3eda97983b79fae;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/net.h b/include/net.h index 23fb947..0802fad 100644 --- a/include/net.h +++ b/include/net.h @@ -39,7 +39,7 @@ #define PKTALIGN ARCH_DMA_MINALIGN /* IPv4 addresses are always 32 bits in size */ -typedef u32 IPaddr_t; +typedef __be32 IPaddr_t; /** @@ -89,7 +89,7 @@ struct eth_device { int (*recv) (struct eth_device *); void (*halt) (struct eth_device *); #ifdef CONFIG_MCAST_TFTP - int (*mcast) (struct eth_device *, u32 ip, u8 set); + int (*mcast) (struct eth_device *, const u8 *enetaddr, u8 set); #endif int (*write_hwaddr) (struct eth_device *); struct eth_device *next; @@ -357,7 +357,7 @@ struct icmp_hdr { } echo; ulong gateway; struct { - ushort __unused; + ushort unused; ushort mtu; } frag; uchar data[0];