diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 07:58:04 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 17:46:00 -0500 |
commit | 594c26f8a7dbb83243a5168378a2164fa08d6dd8 (patch) | |
tree | da2d24d45ee1bb1f9320e023b3a1a24fa25c1d02 /net/sntp.c | |
parent | 8b9c53221f6ce30ad132e3202e6d445bc21ed8aa (diff) | |
download | u-boot-imx-594c26f8a7dbb83243a5168378a2164fa08d6dd8.zip u-boot-imx-594c26f8a7dbb83243a5168378a2164fa08d6dd8.tar.gz u-boot-imx-594c26f8a7dbb83243a5168378a2164fa08d6dd8.tar.bz2 |
net: cosmetic: Un-typedef IP_t
Rename IP header related things to IP_UDP. The existing definition
of IP_t includes UDP header, so name it to accurately describe the
structure.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/sntp.c')
-rw-r--r-- | net/sntp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ SntpSend(void) pkt.vn = NTP_VERSION; pkt.mode = NTP_MODE_CLIENT; - memcpy((char *)NetTxPacket + NetEthHdrSize() + IP_HDR_SIZE, + memcpy((char *)NetTxPacket + NetEthHdrSize() + IP_UDP_HDR_SIZE, (char *)&pkt, pktlen); SntpOurPort = 10000 + (get_timer(0) % 4096); |