Lines Matching refs:mymsg
125 static dhcp6_raw_t *mymsg; variable
341 if (!check_server_id(mymsg->dhcp6.options, in validate_ids()
342 TT.status - ((char*)&mymsg->dhcp6.options[0] - (char*)mymsg) )) { in validate_ids()
346 if (!check_client_id(mymsg->dhcp6.options, in validate_ids()
347 TT.status - ((char*)&mymsg->dhcp6.options[0] - (char*)mymsg) )) { in validate_ids()
622 mymsg = (dhcp6_raw_t*)toybuf; in dhcp6_main()
623 if (ntohs(mymsg->udph.dest) == 546 && in dhcp6_main()
624 !memcmp(mymsg->dhcp6.transaction_id, TT.transction_id, 3)) { in dhcp6_main()
626 if (mymsg->dhcp6.msgtype == DHCP6ADVERTISE ) { in dhcp6_main()
635 TT.request_length = TT.status - ((char*)&mymsg->dhcp6 - (char*)mymsg); in dhcp6_main()
636 memcpy((uint8_t*)&mesg, &mymsg->dhcp6, TT.request_length); in dhcp6_main()
647 if (mymsg->dhcp6.msgtype == DHCP6REPLY) { in dhcp6_main()
654 TT.request_length = TT.status - ((char*)&mymsg->dhcp6 - (char*)mymsg); in dhcp6_main()
655 memcpy((uint8_t*)&mesg, &mymsg->dhcp6, TT.request_length); in dhcp6_main()
656 parse_ia_na(mymsg->dhcp6.options, TT.request_length); in dhcp6_main()