Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

nmb.h 426B

12345678910111213141516171819202122
  1. #ifndef NMB_H
  2. #define NMB_H
  3. #include <gpxe/dns.h>
  4. /*
  5. * NetBIOS name query packets are basically the same as DNS packets,
  6. * though the resource record format is different.
  7. *
  8. */
  9. #define DNS_TYPE_NB 0x20
  10. #define DNS_FLAG_BROADCAST ( 0x01 << 4 )
  11. #define NBNS_UDP_PORT 137
  12. struct dns_rr_info_nb {
  13. struct dns_rr_info info;
  14. uint16_t nb_flags;
  15. struct in_addr nb_address;
  16. } __attribute__ (( packed ));
  17. #endif /* NMB_H */