Lines Matching refs:opts

498 		if (wk->opts[CD_DHCP_TYPE] &&
499 wk->opts[CD_DHCP_TYPE]->len == 1) {
500 if (*wk->opts[CD_DHCP_TYPE]->value != OFFER) {
505 if (!wk->opts[CD_LEASE_TIME]) {
510 if (wk->opts[CD_LEASE_TIME]->len != 4) {
516 if (!wk->opts[CD_SERVER_ID]) {
521 if (wk->opts[CD_SERVER_ID]->len != 4) {
539 if (wk->opts[CD_VENDOR_SPEC])
550 if (wk->opts[CD_SUBNETMASK])
552 if (wk->opts[CD_ROUTER])
554 if (wk->opts[CD_HOSTNAME])
562 if (wk->opts[CD_OPTION_OVERLOAD] == NULL) {
605 if (pl->opts[CD_SERVER_ID] != NULL &&
606 pl->opts[CD_SERVER_ID]->len == sizeof (struct in_addr)) {
607 bcopy(pl->opts[CD_SERVER_ID]->value,
608 &t_server, pl->opts[CD_SERVER_ID]->len);
736 if (pl->opts[CD_DHCP_TYPE] == NULL) {
752 if (pl->opts[CD_MESSAGE])
753 prt_server_msg(pl->opts[CD_MESSAGE]);
776 *opt++ = pl->opts[CD_SERVER_ID]->len;
777 bcopy(pl->opts[CD_SERVER_ID]->value, opt,
778 pl->opts[CD_SERVER_ID]->len);
779 opt += pl->opts[CD_SERVER_ID]->len;
784 bcopy(pl->opts[CD_LEASE_TIME]->value, &t_time,
834 !wk->opts[CD_DHCP_TYPE])
836 switch (*wk->opts[CD_DHCP_TYPE]->value) {
844 opts[CD_SERVER_ID]->value)));
845 if (wk->opts[CD_MESSAGE])
846 prt_server_msg(wk->opts[CD_MESSAGE]);
855 if (state_pl->opts[CD_MESSAGE])
856 prt_server_msg(state_pl->opts[CD_MESSAGE]);
863 doptp = state_pl->opts[CD_LEASE_TIME];
864 if (state_pl->opts[CD_DHCP_TYPE] && (!doptp ||
937 if (state_pl->opts[CD_SUBNETMASK] != NULL) {
938 doptp = state_pl->opts[CD_SUBNETMASK];
940 state_pl->opts[CD_SUBNETMASK] = NULL;
954 if (state_pl->opts[CD_IPTTL] != NULL) {
955 doptp = state_pl->opts[CD_IPTTL];
957 state_pl->opts[CD_IPTTL] = NULL;
959 doptp = state_pl->opts[CD_IPTTL];
970 if (state_pl->opts[CD_ROUTER] != NULL) {
971 doptp = state_pl->opts[CD_ROUTER];
973 state_pl->opts[CD_ROUTER] = NULL;
1020 if (state_pl->opts[CD_HOSTNAME] != NULL) {
1021 doptp = state_pl->opts[CD_HOSTNAME];