Lines Matching defs:dhcp_pl
74 static PKT_LIST *dhcp_pl = NULL;
78 * Deallocate dhcp_pl.
83 if (dhcp_pl != NULL) {
84 free(dhcp_pl->pkt);
85 free(dhcp_pl);
87 dhcp_pl = NULL;
93 * initialize dhcp_pl and dhcp_ifn.
116 if ((dhcp_pl = calloc(1, sizeof (PKT_LIST))) == NULL) {
130 dhcp_pl->len = strlen(ackp) / 2;
131 if ((dhcp_pl->pkt = malloc(dhcp_pl->len)) == NULL) {
134 if (hexascii_to_octet(ackp, dhcp_pl->len * 2,
135 dhcp_pl->pkt, &dhcp_pl->len) != 0) {
138 if (dhcp_options_scan(dhcp_pl, B_TRUE) != 0) {
518 return (dhcp_getinfo_pl(dhcp_pl,