PKT_LIST
PKT_LIST *plp = NULL;
dhcp_get_ack_or_state(const dhcp_smach_t *dsmp, const PKT_LIST *plp,
PKT_LIST *ack = dsmp->dsm_ack;
const PKT_LIST *plp, uint_t codenum, boolean_t *did_alloc);
PKT_LIST *ack, *oack;
PKT_LIST *plp[2];
save_server_id(dhcp_smach_t *dsmp, PKT_LIST *msg)
PKT_LIST *ack = dsmp->dsm_ack;
get_pkt_times(PKT_LIST *ack, lease_t *lease, lease_t *t1, lease_t *t2)
PKT_LIST *ack = dsmp->dsm_ack;
dhcp_bound(dhcp_smach_t *dsmp, PKT_LIST *ack)
PKT_LIST *ack = dsmp->dsm_ack;
pkt_recv_type(const PKT_LIST *plp)
PKT_LIST *
PKT_LIST *plp;
sock_recvpkt(int fd, PKT_LIST *plp)
PKT_LIST *
PKT_LIST *plp;
pkt_smach_enqueue(dhcp_smach_t *dsmp, PKT_LIST *plp)
free_pkt_entry(PKT_LIST *plp)
free_pkt_list(PKT_LIST **head)
PKT_LIST *plp;
PKT_LIST *alloc_pkt_entry(size_t, boolean_t);
void free_pkt_entry(PKT_LIST *);
void free_pkt_list(PKT_LIST **);
uchar_t pkt_recv_type(const PKT_LIST *);
PKT_LIST *recv_pkt(int, int, boolean_t);
void pkt_smach_enqueue(dhcp_smach_t *, PKT_LIST *);
server_unicast_option(dhcp_smach_t *dsmp, PKT_LIST *plp)
PKT_LIST *offer;
PKT_LIST *plp;
PKT_LIST *offer;
compute_points_v6(const PKT_LIST *pkt, const dhcp_smach_t *dsmp)
compute_points_v4(const PKT_LIST *pkt)
static PKT_LIST *select_best(dhcp_smach_t *);
static PKT_LIST *
PKT_LIST *current = dsmp->dsm_recv_pkt_list;
PKT_LIST *next, *best = NULL;
accept_v4_acknak(dhcp_smach_t *dsmp, PKT_LIST *plp)
accept_v6_message(dhcp_smach_t *dsmp, PKT_LIST *plp, const char *pname,
PKT_LIST *plp;
PKT_LIST *dsm_ack;
PKT_LIST *dsm_orig_ack;
PKT_LIST *dsm_recv_pkt_list;
boolean_t dhcp_bound(dhcp_smach_t *, PKT_LIST *);
boolean_t save_server_id(dhcp_smach_t *, PKT_LIST *);
void server_unicast_option(dhcp_smach_t *, PKT_LIST *);
get_offered_domainname_v4(PKT_LIST *offer)
save_domainname(dhcp_smach_t *dsmp, PKT_LIST *offer)
PKT_LIST *plp[2];
void save_domainname(dhcp_smach_t *, PKT_LIST *);
extern int dhcp_options_scan(PKT_LIST *, boolean_t);
extern boolean_t dhcp_getinfo_pl(PKT_LIST *, uchar_t, uint16_t, uint16_t,
extern dhcpv6_option_t *dhcpv6_pkt_option(const PKT_LIST *,
dhcp_getinfo_pl(PKT_LIST *pl, uchar_t optcat, uint16_t code, uint16_t optsize,
dhcp_options_scan(PKT_LIST *pl, boolean_t scan_vendor)
dhcpv6_pkt_option(const PKT_LIST *plp, const dhcpv6_option_t *oldopt,
vendor_scan(PKT_LIST *pl)
if ((plp = calloc(1, sizeof (PKT_LIST))) == NULL)
PKT_LIST *pl[],
read_hostconf(const char *ifname, PKT_LIST **plpp, uint_t plplen,
PKT_LIST *plp = NULL;
extern int read_hostconf(const char *, PKT_LIST **, uint_t, boolean_t);
extern int write_hostconf(const char *, PKT_LIST **, uint_t, time_t,
create_bootpresponse_bprop(PKT_LIST *pl)
PKT_LIST *pl;
if (((pl = (PKT_LIST *)bkmem_zalloc(sizeof (PKT_LIST))) == NULL) ||
bkmem_free((char *)pl, sizeof (PKT_LIST));
bkmem_free((char *)pl, sizeof (PKT_LIST));
PKT_LIST *wk, *tmp;
bkmem_free((char *)tmp, sizeof (PKT_LIST));
remove_list(PKT_LIST *pl, int flag)
bkmem_free((char *)pl, sizeof (PKT_LIST));
PKT_LIST *pl;
if (((pl = (PKT_LIST *)bkmem_zalloc(sizeof (PKT_LIST))) ==
bkmem_free((char *)pl, sizeof (PKT_LIST));
static PKT_LIST *
PKT_LIST *wk, *tk, *best;
dhcp_decline(char *msg, PKT_LIST *pl)
PKT_LIST *pl, *wk;
PKT_LIST *list_tl, *list_hd;
PKT_LIST *state_pl = NULL;
bkmem_free((char *)pl, sizeof (PKT_LIST));
bkmem_free((char *)pl, sizeof (PKT_LIST));
bkmem_free((char *)state_pl, sizeof (PKT_LIST));
extern PKT_LIST *state_pl;
kmem_free(pl, sizeof (PKT_LIST));
kmem_free(pl, sizeof (PKT_LIST));
kmem_free(pl, sizeof (PKT_LIST));
static PKT_LIST *pl = NULL;
pl = kmem_alloc(sizeof (PKT_LIST), KM_SLEEP);