Header rearrangement.

I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/.  Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
This commit is contained in:
Michael Brown
2006-04-24 15:42:49 +00:00
parent 53f78346bf
commit 824d6ffa7f
60 changed files with 108 additions and 89 deletions

View File

@@ -54,7 +54,7 @@ static int nmb_resolv ( struct in_addr *addr, const char *name ) {
DBG ( "NMB resolving %s\n", name );
/* Set up the query data */
nameserver.sin_addr.s_addr = IP_BROADCAST;
nameserver.sin_addr.s_addr = INADDR_BROADCAST;
nameserver.sin_port = NBNS_UDP_PORT;
memset ( &query, 0, sizeof ( query ) );
query.dns.id = htons ( 1 );