Searched refs:dhcp_pkt_t (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.h | 94 } 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 D | util.h | 80 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 D | packet.c | 78 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 D | init_reboot.c | 60 dhcp_pkt_t *dpkt; in dhcp_init_reboot_v4() 101 dhcp_pkt_t *dpkt; in dhcp_init_reboot_v6()
|
H A D | release.c | 57 dhcp_pkt_t *dpkt; in send_declines() 140 dhcp_pkt_t *dpkt; in dhcp_release()
|
H A D | inform.c | 58 dhcp_pkt_t *dpkt; in dhcp_inform()
|
H A D | select.c | 108 dhcp_pkt_t *dpkt; in dhcp_selecting()
|
H A D | states.h | 177 dhcp_pkt_t dsm_send_pkt;
|
H A D | util.c | 774 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 D | request.c | 65 dhcp_pkt_t *dpkt; in send_v6_request() 152 dhcp_pkt_t *dpkt; in dhcp_requesting()
|
H A D | renew.c | 407 dhcp_pkt_t *dpkt; in dhcp_extending()
|
H A D | README.v6 | 125 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 D | README | 301 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
|