Lines Matching refs:nmsg
410 CTL_MSG *nmsg; in udp_emu() local
468 nmsg = (CTL_MSG *) buff; in udp_emu()
475 nmsg = mtod(m, CTL_MSG *); in udp_emu()
476 type = nmsg->type; in udp_emu()
477 OTOSIN(nmsg, ctl_addr)->sin_port = addr.sin_port; in udp_emu()
478 OTOSIN(nmsg, ctl_addr)->sin_addr = our_addr; in udp_emu()
479 pstrcpy(nmsg->l_name, NAME_SIZE_OLD, getlogin()); in udp_emu()
486 COPY_MSG(nmsg, omsg); in udp_emu()
487 nmsg->vers = 1; in udp_emu()
488 nmsg->answer = 0; in udp_emu()
490 COPY_MSG(omsg, nmsg); in udp_emu()
532 OTOSIN(nmsg, addr)->sin_port = addr.sin_port; in udp_emu()
533 OTOSIN(nmsg, addr)->sin_addr = our_addr; in udp_emu()
538 OTOSIN(nmsg, ctl_addr)->sin_port = 0; in udp_emu()
539 omsg->type = nmsg->type = LEAVE_INVITE; in udp_emu()
548 sendto(s, (char *)nmsg, sizeof(*nmsg), 0, in udp_emu()
552 omsg->type = nmsg->type = ANNOUNCE; in udp_emu()
554 OTOSIN(nmsg, ctl_addr)->sin_port = temp_port; in udp_emu()
570 OTOSIN(nmsg, ctl_addr)->sin_port = 0; in udp_emu()
579 sendto(s, (char *)nmsg, sizeof(*nmsg), 0, in udp_emu()
584 OTOSIN(nmsg, ctl_addr)->sin_port = temp_port; in udp_emu()