Lines Matching defs:omsg
409 CTL_MSG_OLD *omsg;
467 omsg = mtod(m, CTL_MSG_OLD*);
469 type = omsg->type;
470 OTOSIN(omsg, ctl_addr)->sin_port = addr.sin_port;
471 OTOSIN(omsg, ctl_addr)->sin_addr = our_addr;
472 pstrcpy(omsg->l_name, NAME_SIZE_OLD, getlogin());
474 omsg = (CTL_MSG_OLD *) buff;
486 COPY_MSG(nmsg, omsg);
490 COPY_MSG(omsg, nmsg);
518 OTOSIN(omsg, addr)->sin_addr.s_addr,
519 OTOSIN(omsg, addr)->sin_port,
530 OTOSIN(omsg, addr)->sin_port = addr.sin_port;
531 OTOSIN(omsg, addr)->sin_addr = our_addr;
536 temp_port = OTOSIN(omsg, ctl_addr)->sin_port;
537 OTOSIN(omsg, ctl_addr)->sin_port = 0;
539 omsg->type = nmsg->type = LEAVE_INVITE;
545 sendto(s, (char *)omsg, sizeof(*omsg), 0,
552 omsg->type = nmsg->type = ANNOUNCE;
553 OTOSIN(omsg, ctl_addr)->sin_port = temp_port;
568 temp_port = OTOSIN(omsg, ctl_addr)->sin_port;
569 OTOSIN(omsg, ctl_addr)->sin_port = 0;
576 sendto(s, (char *)omsg, sizeof(*omsg), 0,
583 OTOSIN(omsg, ctl_addr)->sin_port = temp_port;