/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.h | 115 PKT_LIST *alloc_pkt_entry(size_t, boolean_t); 116 void free_pkt_entry(PKT_LIST *); 117 void free_pkt_list(PKT_LIST **); 118 uchar_t pkt_recv_type(const PKT_LIST *); 134 PKT_LIST *recv_pkt(int, int, boolean_t); 136 void pkt_smach_enqueue(dhcp_smach_t *, PKT_LIST *);
|
H A D | states.h | 125 PKT_LIST *dsm_ack; 126 PKT_LIST *dsm_orig_ack; 150 PKT_LIST *dsm_recv_pkt_list; 280 boolean_t dhcp_bound(dhcp_smach_t *, PKT_LIST *); 297 boolean_t save_server_id(dhcp_smach_t *, PKT_LIST *); 298 void server_unicast_option(dhcp_smach_t *, PKT_LIST *);
|
H A D | request.c | 49 static PKT_LIST *select_best(dhcp_smach_t *); 101 server_unicast_option(dhcp_smach_t *dsmp, PKT_LIST *plp) in server_unicast_option() 153 PKT_LIST *offer; in dhcp_requesting() 464 compute_points_v4(const PKT_LIST *pkt) in compute_points_v4() 535 static PKT_LIST * 538 PKT_LIST *current = dsmp->dsm_recv_pkt_list; in select_best() 539 PKT_LIST *next, *best = NULL; in select_best() 610 accept_v4_acknak(dhcp_smach_t *dsmp, PKT_LIST *plp) in accept_v4_acknak() 981 PKT_LIST *plp; in dhcp_acknak_global() 1073 PKT_LIST *offer; in request_failed() [all …]
|
H A D | packet.c | 119 pkt_recv_type(const PKT_LIST *plp) in pkt_recv_type() 796 free_pkt_entry(PKT_LIST *plp) in free_pkt_entry() 812 free_pkt_list(PKT_LIST **head) in free_pkt_list() 814 PKT_LIST *plp; in free_pkt_list() 1244 PKT_LIST * 1247 PKT_LIST *plp; in alloc_pkt_entry() 1271 sock_recvpkt(int fd, PKT_LIST *plp) in sock_recvpkt() 1350 PKT_LIST * 1353 PKT_LIST *plp; in recv_pkt() 1446 pkt_smach_enqueue(dhcp_smach_t *dsmp, PKT_LIST *plp) in pkt_smach_enqueue()
|
H A D | bound.c | 94 dhcp_bound(dhcp_smach_t *dsmp, PKT_LIST *ack) in dhcp_bound() 322 PKT_LIST *ack; in dhcp_bound_complete() 455 get_pkt_times(PKT_LIST *ack, lease_t *lease, lease_t *t1, lease_t *t2) in get_pkt_times() 515 PKT_LIST *ack = dsmp->dsm_ack; in configure_v4_timers() 961 PKT_LIST *ack = dsmp->dsm_ack; in configure_v4_lease() 1170 save_server_id(dhcp_smach_t *dsmp, PKT_LIST *msg) in save_server_id()
|
H A D | util.h | 82 void save_domainname(dhcp_smach_t *, PKT_LIST *);
|
H A D | agent.c | 79 const PKT_LIST *plp, uint_t codenum, boolean_t *did_alloc); 773 PKT_LIST *ack = dsmp->dsm_ack; in ipc_event() 974 PKT_LIST *ack, *oack; in ipc_event() 975 PKT_LIST *plp[2]; in ipc_event() 1163 dhcp_get_ack_or_state(const dhcp_smach_t *dsmp, const PKT_LIST *plp, in dhcp_get_ack_or_state()
|
H A D | util.c | 678 PKT_LIST *plp[2]; in write_lease_to_hostconf() 1168 get_offered_domainname_v4(PKT_LIST *offer) in get_offered_domainname_v4() 1203 save_domainname(dhcp_smach_t *dsmp, PKT_LIST *offer) in save_domainname()
|
H A D | adopt.c | 74 PKT_LIST *plp = NULL; in dhcp_adopt()
|
H A D | README.v6 | 125 PKT_LIST (struct dhcp_list; <dhcp_impl.h>), and dhcp_pkt_t (struct 128 PKT_LIST contains a PKT pointer, length, decoded option arrays, and 132 Essentially, PKT_LIST is a wrapper for received packets, and 136 libdhcpagent, libdhcputil, and others. PKT_LIST is used 384 For the PKT_LIST structure, things are more complex. This defines 404 The better answer is to use PKT_LIST for both IPv4 and IPv6, adding 416 wrapper on dhcpv6_find_option() that starts with a PKT_LIST pointer 1231 - Add ifindex and source/destination address into PKT_LIST.
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 73 PKT_LIST *list_tl, *list_hd; 74 PKT_LIST *state_pl = NULL; 203 PKT_LIST *wk, *tmp; in flush_list() 217 remove_list(PKT_LIST *pl, int flag) in remove_list() 254 PKT_LIST *pl; in bootp_collect() 265 if (((pl = (PKT_LIST *)bkmem_zalloc(sizeof (PKT_LIST))) == in bootp_collect() 447 static PKT_LIST * 450 PKT_LIST *wk, *tk, *best; in select_best() 711 PKT_LIST *pl, *wk; in dhcp_requesting() 1088 PKT_LIST *pl; in prom_cached_reply() [all …]
|
H A D | dhcpv4.h | 43 extern PKT_LIST *state_pl;
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | dhcp_impl.h | 141 } PKT_LIST; typedef 143 extern int dhcp_options_scan(PKT_LIST *, boolean_t); 144 extern boolean_t dhcp_getinfo_pl(PKT_LIST *, uchar_t, uint16_t, uint16_t, 148 extern dhcpv6_option_t *dhcpv6_pkt_option(const PKT_LIST *,
|
H A D | scan.c | 87 vendor_scan(PKT_LIST *pl) in vendor_scan() 109 dhcp_options_scan(PKT_LIST *pl, boolean_t scan_vendor) in dhcp_options_scan() 227 dhcpv6_pkt_option(const PKT_LIST *plp, const dhcpv6_option_t *oldopt, in dhcpv6_pkt_option()
|
H A D | dhcpinfo.c | 51 dhcp_getinfo_pl(PKT_LIST *pl, uchar_t optcat, uint16_t code, uint16_t optsize, in dhcp_getinfo_pl()
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.h | 56 extern int read_hostconf(const char *, PKT_LIST **, uint_t, boolean_t); 57 extern int write_hostconf(const char *, PKT_LIST **, uint_t, time_t,
|
H A D | dhcp_hostconf.c | 95 read_hostconf(const char *ifname, PKT_LIST **plpp, uint_t plplen, in read_hostconf() 98 PKT_LIST *plp = NULL; in read_hostconf() 131 if ((plp = calloc(1, sizeof (PKT_LIST))) == NULL) in read_hostconf() 323 PKT_LIST *pl[], in write_hostconf()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dlinet.c | 281 static PKT_LIST *pl = NULL; 984 pl = kmem_alloc(sizeof (PKT_LIST), KM_SLEEP); in dhcpinit() 1008 kmem_free(pl, sizeof (PKT_LIST)); in dhcpinit() 1104 kmem_free(pl, sizeof (PKT_LIST)); in dhcpinit() 1326 kmem_free(pl, sizeof (PKT_LIST)); in cacheinit()
|