Lines Matching refs:netbios_question_hdr
119 struct netbios_question_hdr { struct
355 …struct netbios_question_hdr *netbios_question_hdr = (struct netbios_question_hdr *)(netbios_hdr + … in netbiosns_recv() local
358 if (p->len < (sizeof(struct netbios_hdr) + sizeof(struct netbios_question_hdr))) { in netbiosns_recv()
371 …netbiosns_name_decode((char *)(netbios_question_hdr->encname), netbios_name, sizeof(netbios_name)); in netbiosns_recv()
373 if (netbios_question_hdr->type == PP_HTONS(NETB_QTYPE_NB)) { in netbiosns_recv()
395 …MEMCPY( resp->resp_name.encname, netbios_question_hdr->encname, sizeof(netbios_question_hdr->encna… in netbiosns_recv()
396 resp->resp_name.nametype = netbios_question_hdr->nametype; in netbiosns_recv()
397 resp->resp_name.type = netbios_question_hdr->type; in netbiosns_recv()
398 resp->resp_name.cls = netbios_question_hdr->cls; in netbiosns_recv()
412 } else if (netbios_question_hdr->type == PP_HTONS(NETB_QTYPE_NBSTAT)) { in netbiosns_recv()
438 resp->name_size = netbios_question_hdr->nametype; in netbiosns_recv()
440 MEMCPY(resp->query_name, netbios_question_hdr->encname, (NETBIOS_NAME_LEN * 2) + 1); in netbiosns_recv()