Lines Matching defs:dhcp6
0 /* dhcp6.c - DHCP6 client for dynamic network configuration.
6 USE_DHCP6(NEWTOY(dhcp6, "r:A#<0T#<0t#<0s:p:i:SRvqnbf", TOYFLAG_SBIN|TOYFLAG_ROOTONLY))
9 bool "dhcp6"
12 usage: dhcp6 [-fbnqvR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
115 dhcp6_msg_t dhcp6;
338 if (!check_server_id(mymsg->dhcp6.options,
339 TT.status - ((char*)&mymsg->dhcp6.options[0] - (char*)mymsg) )) {
343 if (!check_client_id(mymsg->dhcp6.options,
344 TT.status - ((char*)&mymsg->dhcp6.options[0] - (char*)mymsg) )) {
618 !memcmp(mymsg->dhcp6.transaction_id, TT.transction_id, 3)) {
620 if (mymsg->dhcp6.msgtype == DHCP6ADVERTISE ) {
629 TT.request_length = TT.status - ((char*)&mymsg->dhcp6 - (char*)mymsg);
630 memcpy((uint8_t*)&mesg, &mymsg->dhcp6, TT.request_length);
641 if (mymsg->dhcp6.msgtype == DHCP6REPLY) {
648 TT.request_length = TT.status - ((char*)&mymsg->dhcp6 - (char*)mymsg);
649 memcpy((uint8_t*)&mesg, &mymsg->dhcp6, TT.request_length);
650 parse_ia_na(mymsg->dhcp6.options, TT.request_length);