Home
last modified time | relevance | path

Searched refs:netbios_hdr (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c101 struct netbios_hdr { struct
156 struct netbios_hdr resp_hdr;
170 struct netbios_hdr answer_hdr;
354 struct netbios_hdr *netbios_hdr = (struct netbios_hdr *)p->payload; in netbiosns_recv() local
355 …struct netbios_question_hdr *netbios_question_hdr = (struct netbios_question_hdr *)(netbios_hdr + … in netbiosns_recv()
358 if (p->len < (sizeof(struct netbios_hdr) + sizeof(struct netbios_question_hdr))) { in netbiosns_recv()
367 …if (((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_OPCODE)) == PP_NTOHS(NETB_HFLAG_OPCODE_NAME_QUERY))… in netbiosns_recv()
368 ((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_RESPONSE)) == 0) && in netbiosns_recv()
369 (netbios_hdr->questions == PP_NTOHS(1))) { in netbiosns_recv()
384 resp->resp_hdr.trans_id = netbios_hdr->trans_id; in netbiosns_recv()
[all …]