Add errfile definition for new e1000.c
[gpxe.git] / src / include / nmb.h
blob3e551ffd5169f2ab6ac324ff936ff399062b5d00
1 #ifndef NMB_H
2 #define NMB_H
4 #include <gpxe/dns.h>
6 /*
7 * NetBIOS name query packets are basically the same as DNS packets,
8 * though the resource record format is different.
12 #define DNS_TYPE_NB 0x20
13 #define DNS_FLAG_BROADCAST ( 0x01 << 4 )
14 #define NBNS_UDP_PORT 137
16 struct dns_rr_info_nb {
17 struct dns_rr_info info;
18 uint16_t nb_flags;
19 struct in_addr nb_address;
20 } __attribute__ (( packed ));
22 #endif /* NMB_H */