Home
last modified time | relevance | path

Searched refs:dhcp_pkt_t (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.h94 } dhcp_pkt_t; typedef
120 dhcp_pkt_t *init_pkt(dhcp_smach_t *, uchar_t);
121 boolean_t remove_pkt_opt(dhcp_pkt_t *, uint_t);
123 void *add_pkt_opt(dhcp_pkt_t *, uint_t, const void *, uint_t);
126 void *add_pkt_subopt(dhcp_pkt_t *, dhcpv6_option_t *, uint_t,
128 void *add_pkt_opt16(dhcp_pkt_t *, uint_t, uint16_t);
129 void *add_pkt_opt32(dhcp_pkt_t *, uint_t, uint32_t);
130 void *add_pkt_prl(dhcp_pkt_t *, dhcp_smach_t *);
131 boolean_t add_pkt_lif(dhcp_pkt_t *, dhcp_lif_t *, int, const char *);
137 boolean_t send_pkt(dhcp_smach_t *, dhcp_pkt_t *, in_addr_t,
[all …]
H A Dutil.h80 boolean_t dhcp_add_hostname_opt(dhcp_pkt_t *, dhcp_smach_t *);
81 boolean_t dhcp_add_fqdn_opt(dhcp_pkt_t *, dhcp_smach_t *);
H A Dpacket.c78 pkt_send_type(const dhcp_pkt_t *dpkt) in pkt_send_type()
155 dhcp_pkt_t *
158 dhcp_pkt_t *dpkt = &dsmp->dsm_send_pkt; in init_pkt()
292 remove_pkt_opt(dhcp_pkt_t *dpkt, uint_t opt_type) in remove_pkt_opt()
413 add_pkt_opt(dhcp_pkt_t *dpkt, uint_t opt_type, const void *opt_val, in add_pkt_opt()
526 add_pkt_subopt(dhcp_pkt_t *dpkt, dhcpv6_option_t *parentopt, uint_t opt_type, in add_pkt_subopt()
593 add_pkt_opt16(dhcp_pkt_t *dpkt, uint_t opt_type, uint16_t opt_value) in add_pkt_opt16()
608 add_pkt_opt32(dhcp_pkt_t *dpkt, uint_t opt_type, uint32_t opt_value) in add_pkt_opt32()
622 add_pkt_prl(dhcp_pkt_t *dpkt, dhcp_smach_t *dsmp) in add_pkt_prl()
666 add_pkt_lif(dhcp_pkt_t *dpkt, dhcp_lif_t *lif, int status, const char *msg) in add_pkt_lif()
[all …]
H A Dinit_reboot.c60 dhcp_pkt_t *dpkt; in dhcp_init_reboot_v4()
101 dhcp_pkt_t *dpkt; in dhcp_init_reboot_v6()
H A Drelease.c57 dhcp_pkt_t *dpkt; in send_declines()
140 dhcp_pkt_t *dpkt; in dhcp_release()
H A Dinform.c58 dhcp_pkt_t *dpkt; in dhcp_inform()
H A Dselect.c108 dhcp_pkt_t *dpkt; in dhcp_selecting()
H A Dstates.h177 dhcp_pkt_t dsm_send_pkt;
H A Dutil.c774 dhcp_add_hostname_opt(dhcp_pkt_t *dpkt, dhcp_smach_t *dsmp) in dhcp_add_hostname_opt()
831 dhcp_add_fqdn_opt(dhcp_pkt_t *dpkt, dhcp_smach_t *dsmp) in dhcp_add_fqdn_opt()
H A Drequest.c65 dhcp_pkt_t *dpkt; in send_v6_request()
152 dhcp_pkt_t *dpkt; in dhcp_requesting()
H A Drenew.c407 dhcp_pkt_t *dpkt; in dhcp_extending()
H A DREADME.v6125 PKT_LIST (struct dhcp_list; <dhcp_impl.h>), and dhcp_pkt_t (struct
129 linkage for putting the packet in a list. Finally, dhcp_pkt_t has a
133 dhcp_pkt_t is a wrapper for packets to be sent.
138 dhcp_pkt_t is (as the header file implies) limited to dhcpagent.
379 Extending dhcp_pkt_t for DHCPv6 is straightforward, as it's used
399 dhcpagent and made dhcp_pkt_t valid for use on input and output.
H A DREADME301 dhcp_pkt_t initialized suitably for transmission. Note that currently
302 init_pkt() returns a dhcp_pkt_t that is actually allocated as part of