/illumos-gate/usr/src/common/net/dhcp/ |
H A D | scan.c | 229 dhcpv6_pkt_option(const PKT_LIST *plp, const dhcpv6_option_t *oldopt, argument 234 if (plp == NULL || plp->pkt == NULL || plp->len < sizeof (*d6m)) 236 d6m = (const dhcpv6_message_t *)plp->pkt; 237 return (dhcpv6_find_option(d6m + 1, plp->len - sizeof (*d6m), oldopt,
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 74 PKT_LIST *plp = NULL; local 91 plp = alloc_pkt_entry(strlen(kcache->dk_ack) / 2, B_FALSE); 92 if (plp == NULL) 95 dhcpmsg(MSG_DEBUG, "dhcp_adopt: allocated ACK of %d bytes", plp->len); 97 if (hexascii_to_octet(kcache->dk_ack, plp->len * 2, plp->pkt, 98 &plp->len) != 0) { 103 if (dhcp_options_scan(plp, B_TRUE) != 0) { 180 if (!dhcp_bound(dsmp, plp)) { 193 free_pkt_entry(plp); [all...] |
H A D | request.c | 100 server_unicast_option(dhcp_smach_t *dsmp, PKT_LIST *plp) argument 105 d6o = dhcpv6_pkt_option(plp, NULL, DHCPV6_OPT_UNICAST, &olen); 113 pkt_type_to_string(pkt_recv_type(plp), B_TRUE)); 606 accept_v4_acknak(dhcp_smach_t *dsmp, PKT_LIST *plp) argument 611 if (*plp->opts[CD_DHCP_TYPE]->value == ACK) { 614 (plp->opts[CD_LEASE_TIME] == NULL || 615 plp->opts[CD_LEASE_TIME]->len != sizeof (lease_t))) { 620 free_pkt_entry(plp); 626 plp->pkt->yiaddr.s_addr) { 629 inet_ntoa(plp 695 accept_v6_message(dhcp_smach_t *dsmp, PKT_LIST *plp, const char *pname, uchar_t recv_type) argument 977 PKT_LIST *plp; local 1100 PKT_LIST *plp; local [all...] |
H A D | util.c | 690 PKT_LIST *plp[2]; local 694 plp[0] = dsmp->dsm_ack; 695 plp[1] = dsmp->dsm_orig_ack; 696 if (write_hostconf(dsmp->dsm_name, plp, 2,
|
H A D | agent.c | 971 PKT_LIST *plp[2]; local 981 error = read_hostconf(dsmp->dsm_name, plp, 2, dsmp->dsm_isv6); 982 ack = error > 0 ? plp[0] : NULL; 983 oack = error > 1 ? plp[1] : NULL;
|
H A D | packet.c | 118 pkt_recv_type(const PKT_LIST *plp) argument 120 if (plp->isv6) 121 return (((const dhcpv6_message_t *)plp->pkt)->d6m_msg_type); 122 else if (plp->opts[CD_DHCP_TYPE] != NULL) 123 return (plp->opts[CD_DHCP_TYPE]->value[0]); 763 free_pkt_entry(PKT_LIST *plp) argument 765 if (plp != NULL) { 766 free(plp->pkt); 767 free(plp); 781 PKT_LIST *plp; local 1214 PKT_LIST *plp; local 1238 sock_recvpkt(int fd, PKT_LIST *plp) argument 1320 PKT_LIST *plp; local 1413 pkt_smach_enqueue(dhcp_smach_t *dsmp, PKT_LIST *plp) argument [all...] |
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 100 PKT_LIST *plp = NULL; local 130 plp = NULL; 133 if ((plp = calloc(1, sizeof (PKT_LIST))) == NULL) 136 retval = read(fd, &plp->len, sizeof (plp->len)); 144 free(plp); 146 } else if (retval != sizeof (plp->len)) 149 if ((pkt = malloc(plp->len)) == NULL) 152 if (read(fd, pkt, plp->len) != plp [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 233 topo_proplist_t *plp; local 242 for (plp = topo_list_next(&pg->tpg_pvals); plp != NULL; 243 plp = topo_list_next(plp)) { 244 txml_print_prop(thp, fp, node, pip->tpi_name, plp->tp_pval);
|
H A D | hc.c | 1526 struct prop_lookup *plp = (struct prop_lookup *)pdata; local 1528 (void) topo_prop_getprop(node, plp->pl_pgroup, plp->pl_pname, 1529 plp->pl_args, &plp->pl_prop, &err); 1540 struct prop_lookup *plp; local 1545 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) 1549 (char **)&plp->pl_pgroup); 1551 (char **)&plp->pl_pname); 1552 err |= nvlist_lookup_nvlist(in, TOPO_PROP_RESOURCE, &plp 1599 struct prop_lookup *plp = (struct prop_lookup *)pdata; local 1612 struct prop_lookup *plp; local 1656 struct prop_lookup *plp = (struct prop_lookup *)pdata; local 1671 struct prop_lookup *plp; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 310 struct ppp_ls *plp; local 336 plp = (struct ppp_ls *)ctrl->buf; 337 plp->magic = PPPLSMAGIC; 338 plp->ppp_message = PPP_LINKSTAT_HANGUP; 339 ctrl->len = sizeof (*plp);
|
/illumos-gate/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 199 char *pathlist[3], **plp; local 210 plp = pathlist; 213 *plp++ = cert_pathname; 216 *plp++ = (char *)_PATH_ELFSIGN_CRYPTO_CERTS; 222 *plp++ = (char *)_PATH_ELFSIGN_ETC_CERTS; 224 *plp = NULL; 230 for (plp = pathlist; *plp; plp++) { 257 KMF_CERT_FILENAME_ATTR, *plp, strle [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 1032 struct valuelist *plp, *plp_next; local 1034 for (plp = protolist; plp != NULL; plp = plp_next) { 1035 plp_next = plp->next; 1036 free(plp->name); 1037 free(plp);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 789 topo_proplist_t *plp; local 801 plp = (topo_proplist_t *)wsp->walk_data; 806 wsp->walk_addr = (uintptr_t)plp->tp_list.l_next;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pmem.c | 291 pmem_lpg_t *plp = NULL; local 346 if (lpp_create(&lpp, i, &lpages, &plp, pcp->dp_vnp, &pmem_off, 357 lpp_break(&lpp, lpages, lpages - rpages, plp); 372 pmem_lpg_concat(&pmem_occ_lpgs, &plp); 394 lpp_free(lpp, lpages / pmem_pgcnt, &plp); 425 pmem_lpg_t *pl1, *plp; local 448 plp = pmem_lpg_get(pmem_occ_lpgs, pp, &last_pl); 449 if (plp && !(plp->pl_pfree)) { 454 pmem_lpg_sub(&pmem_occ_lpgs, plp); 568 lpg_isfree(pmem_lpg_t *plp) argument 587 pmem_lpg_t *plp; local 619 pmem_lpg_sub(pmem_lpg_t **oplpp, pmem_lpg_t *plp) argument 665 pmem_lpg_t *plp; local 682 pmem_lpg_free(pmem_lpg_t **headp, pmem_lpg_t *plp) argument 756 pmem_lpg_t *plp; local 786 pmem_lpg_t *plp; local 848 pmem_lpg_t *plp, *last_pl = NULL; local 873 pmem_lpg_t *plp, *last_pl = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/ |
H A D | pl2303_dsd.c | 219 pl2303_state_t *plp; local 221 plp = (pl2303_state_t *)kmem_zalloc(sizeof (pl2303_state_t), KM_SLEEP); 222 plp->pl_dip = aip->ai_dip; 223 plp->pl_usb_events = aip->ai_usb_events; 224 *aip->ai_hdl = (ds_hdl_t)plp; 229 if (usb_client_attach(plp->pl_dip, USBDRV_VERSION, 0) != USB_SUCCESS) { 230 pl2303_cleanup(plp, 1); 235 if (usb_get_dev_data(plp->pl_dip, &plp->pl_dev_data, USB_PARSE_LVL_IF, 237 pl2303_cleanup(plp, 344 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 357 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 372 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 385 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 434 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 469 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 549 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 578 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 604 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 633 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 652 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 838 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 868 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 890 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 905 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 945 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 966 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 985 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 1007 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 1036 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 1070 pl2303_cleanup(pl2303_state_t *plp, int level) argument 1107 pl2303_dev_attach(pl2303_state_t *plp) argument 1125 pl2303_restore_device_state(pl2303_state_t *plp) argument 1177 pl2303_restore_port_state(pl2303_state_t *plp) argument 1207 pl2303_create_pm_components(pl2303_state_t *plp) argument 1237 pl2303_destroy_pm_components(pl2303_state_t *plp) argument 1276 pl2303_pm_set_busy(pl2303_state_t *plp) argument 1327 pl2303_pm_set_idle(pl2303_state_t *plp) argument 1361 pl2303_pwrlvl0(pl2303_state_t *plp) argument 1393 pl2303_pwrlvl1(pl2303_state_t *plp) argument 1405 pl2303_pwrlvl2(pl2303_state_t *plp) argument 1417 pl2303_pwrlvl3(pl2303_state_t *plp) argument 1457 pl2303_open_pipes(pl2303_state_t *plp) argument 1507 pl2303_close_pipes(pl2303_state_t *plp) argument 1526 pl2303_disconnect_pipes(pl2303_state_t *plp) argument 1533 pl2303_reconnect_pipes(pl2303_state_t *plp) argument 1556 pl2303_state_t *plp = (pl2303_state_t *)req->bulk_client_private; local 1601 pl2303_state_t *plp = (pl2303_state_t *)req->bulk_client_private; local 1646 pl2303_rx_start(pl2303_state_t *plp) argument 1687 pl2303_tx_start(pl2303_state_t *plp, int *xferd) argument 1776 pl2303_send_data(pl2303_state_t *plp, mblk_t *data) argument 1816 pl2303_wait_tx_drain(pl2303_state_t *plp, int timeout) argument 1847 pl2303_open_hw_port(pl2303_state_t *plp) argument 1939 pl2303_cmd_get_line(pl2303_state_t *plp, mblk_t **data) argument 1977 pl2303_cmd_set_line(pl2303_state_t *plp, mblk_t *data) argument 2008 pl2303_cmd_set_ctl(pl2303_state_t *plp, uint8_t val) argument 2037 pl2303_cmd_vendor_write0(pl2303_state_t *plp, uint16_t value, int16_t index) argument 2066 pl2303_cmd_set_rtscts(pl2303_state_t *plp) argument 2089 pl2303_cmd_break(pl2303_state_t *plp, int ctl) argument 2193 pl2303_state_t *plp = (pl2303_state_t *)hdl; local 2202 pl2303_state_t *plp = (pl2303_state_t *)hdl; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 1466 zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, zfs_type_t type) argument 1472 if (*plp == NULL) { 1478 last = plp; 1500 entry->pl_next = *plp; 1501 *plp = entry;
|
H A D | libzfs_dataset.c | 4167 zfs_expand_proplist(zfs_handle_t *zhp, zprop_list_t **plp, boolean_t received, argument 4178 if (zprop_expand_list(hdl, plp, ZFS_TYPE_DATASET) != 0) 4183 entry = *plp; 4190 start = plp; 4229 for (entry = *plp; entry != NULL; entry = entry->pl_next) {
|
H A D | libzfs_pool.c | 715 zpool_expand_proplist(zpool_handle_t *zhp, zprop_list_t **plp) argument 722 boolean_t firstexpand = (NULL == *plp); 724 if (zprop_expand_list(hdl, plp, ZFS_TYPE_POOL) != 0) 727 last = plp; 731 if ((*plp)->pl_all) 734 if ((*plp)->pl_all && firstexpand) { 767 entry = *plp; 791 for (entry = *plp; entry != NULL; entry = entry->pl_next) {
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 1149 fmd_asru_link_t *alp, **plp, *alpnext; local 1177 plp = &ahp->ah_case_hash[h]; 1178 for (alp = *plp; alp != NULL; alp = alpnext) { 1181 *plp = alp->al_case_next; 1237 plp = &alp->al_case_next;
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 1191 cache_link_t *plp; local 1236 if ((plp = link_hash(hdp, cp, 0)) != NULL && plp->minor != NULL) { 1237 return (plp->minor);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 1756 struct ppp_ls *plp; local 1814 plp = (struct ppp_ls *)ctrlbuf; 1815 if (plp->magic != PPPLSMAGIC) { 1818 plp->magic); 1822 lastlink_status = plp->ppp_message; 1824 switch (plp->ppp_message) { 1837 (void) handle_unbind(plp->ppp_message); 1840 (void) handle_bind(plp->ppp_message); 1844 (void) handle_unbind(plp->ppp_message); 1847 (void) handle_bind(plp [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 3183 } *pl, *pl0, **plp; local 3201 for (pl0 = NULL, plp = &pl0, prop = *pprop; 3202 prop; plp = &pl->pl_next, prop = prop->prop_next) { 3204 *plp = pl;
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 822 struct plink *plp; local 839 for(plp=cfp->bplp; plp; plp=plp->next){ 840 other = plp->cfp; 857 struct plink *plp; local 872 for(plp=cfp->fplp; plp; plp [all...] |
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 3620 struct pidlist *plp; local 3646 plp = (struct pidlist *)calloc(DELTA, 3648 if (plp == NULL) { 3653 * Point at 2nd record allocated, we'll use plp. 3655 tp = plp + 1; 3665 plp = Plfree; 3666 Plfree = plp->pl_next; 3668 plp->pl_pid = p->pd_pid; 3669 plp->pl_dflag = 0; 3670 plp [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | dman.c | 6565 man_pg_t *plp; local 6579 plp = manp->man_pg; 6580 mpg1 = man_find_pg_by_id(plp, mip->mip_pg_id); 6586 mpg2 = man_find_path_by_dev(plp, mip->mip_devs, &mp); 6661 man_pg_read(man_pg_t *plp, mi_path_t *mip) argument 6670 if ((mpg = man_find_pg_by_id(plp, mip->mip_pg_id)) == NULL) { 6761 man_find_path_by_dev(man_pg_t *plp, man_dev_t *mdevp, man_path_t **mpp) argument 6767 for (mpg = plp; mpg != NULL; mpg = mpg->mpg_next) {
|