Lines Matching refs: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))
8 config DHCP6
9 bool "dhcp6"
12 usage: dhcp6 [-fbnqvR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
115 dhcp6_msg_t dhcp6;
341 if (!check_server_id(mymsg->dhcp6.options,
342 TT.status - ((char*)&mymsg->dhcp6.options[0] - (char*)mymsg) )) {
346 if (!check_client_id(mymsg->dhcp6.options,
347 TT.status - ((char*)&mymsg->dhcp6.options[0] - (char*)mymsg) )) {
556 openlog("DHCP6 :", LOG_PID, LOG_DAEMON);
624 !memcmp(mymsg->dhcp6.transaction_id, TT.transction_id, 3)) {
626 if (mymsg->dhcp6.msgtype == DHCP6ADVERTISE ) {
635 TT.request_length = TT.status - ((char*)&mymsg->dhcp6 - (char*)mymsg);
636 memcpy((uint8_t*)&mesg, &mymsg->dhcp6, TT.request_length);
647 if (mymsg->dhcp6.msgtype == DHCP6REPLY) {
654 TT.request_length = TT.status - ((char*)&mymsg->dhcp6 - (char*)mymsg);
655 memcpy((uint8_t*)&mesg, &mymsg->dhcp6, TT.request_length);
656 parse_ia_na(mymsg->dhcp6.options, TT.request_length);