Lines Matching refs:doptp
965 DHCP_OPT *doptp; in dhcpinit() local
1015 doptp = pl->opts[CD_HOSTNAME]; in dhcpinit()
1016 i = doptp->len; in dhcpinit()
1020 bcopy(doptp->value, utsname.nodename, i); in dhcpinit()
1032 doptp = pl->opts[CD_NIS_DOMAIN]; in dhcpinit()
1033 i = doptp->len; in dhcpinit()
1034 p = (caddr_t)doptp->value; in dhcpinit()
1051 doptp = pl->opts[CD_SUBNETMASK]; in dhcpinit()
1052 if (doptp->len != sizeof (struct in_addr)) { in dhcpinit()
1056 bcopy(doptp->value, &subnet, sizeof (struct in_addr)); in dhcpinit()
1080 doptp = pl->opts[CD_BROADCASTADDR]; in dhcpinit()
1081 if (doptp->len != sizeof (struct in_addr)) { in dhcpinit()
1085 doptp->len); in dhcpinit()
1087 bcopy(doptp->value, &braddr, sizeof (struct in_addr)); in dhcpinit()
1112 doptp = pl->opts[CD_ROUTER]; in dhcpinit()
1113 if ((doptp->len % sizeof (struct in_addr)) != 0) { in dhcpinit()
1119 nrouters = doptp->len / sizeof (struct in_addr); in dhcpinit()
1120 for (tp = doptp->value, i = 0; i < nrouters; in dhcpinit()
1177 DHCP_OPT *doptp; in cacheinit() local
1204 doptp = pl->vs[VS_NFSMNT_ROOTPATH]; in cacheinit()
1205 if (doptp == NULL) in cacheinit()
1206 doptp = pl->opts[CD_ROOT_PATH]; in cacheinit()
1207 if (doptp != NULL) { in cacheinit()
1212 source = doptp->value; in cacheinit()
1213 size = doptp->len; in cacheinit()
1264 str = (char *)doptp->value; in cacheinit()
1265 len = doptp->len; in cacheinit()
1279 doptp = pl->vs[VS_NFSMNT_ROOTSRVR_NAME]; in cacheinit()
1280 if (doptp != NULL) { in cacheinit()
1281 server_name_c = kmem_alloc(doptp->len + 1, KM_SLEEP); in cacheinit()
1282 bcopy(doptp->value, server_name_c, doptp->len); in cacheinit()
1283 server_name_c[doptp->len] = '\0'; in cacheinit()
1294 doptp = pl->vs[VS_NFSMNT_ROOTSRVR_IP]; in cacheinit()
1295 if (doptp) { in cacheinit()
1296 bcopy(doptp->value, server_ip, sizeof (server_ip)); in cacheinit()
1312 doptp = pl->vs[VS_NFSMNT_ROOTOPTS]; in cacheinit()
1313 if (doptp != NULL && doptp->len < 255) { in cacheinit()
1314 bcopy(doptp->value, rootopts, doptp->len); in cacheinit()
1315 rootopts[doptp->len] = '\0'; in cacheinit()