mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-23 23:33:01 +00:00
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>
This commit is contained in:
parent
8b9c53221f
commit
594c26f8a7
15 changed files with 55 additions and 52 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue