Home
last modified time | relevance | path

Searched refs:PKT_LIST (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.h116 PKT_LIST *alloc_pkt_entry(size_t, boolean_t);
117 void free_pkt_entry(PKT_LIST *);
118 void free_pkt_list(PKT_LIST **);
119 uchar_t pkt_recv_type(const PKT_LIST *);
133 PKT_LIST *recv_pkt(int, int, boolean_t);
135 void pkt_smach_enqueue(dhcp_smach_t *, PKT_LIST *);
H A Dstates.h124 PKT_LIST *dsm_ack;
125 PKT_LIST *dsm_orig_ack;
149 PKT_LIST *dsm_recv_pkt_list;
266 boolean_t dhcp_bound(dhcp_smach_t *, PKT_LIST *);
283 boolean_t save_server_id(dhcp_smach_t *, PKT_LIST *);
284 void server_unicast_option(dhcp_smach_t *, PKT_LIST *);
H A Drequest.c48 static PKT_LIST *select_best(dhcp_smach_t *);
100 server_unicast_option(dhcp_smach_t *dsmp, PKT_LIST *plp) in server_unicast_option()
152 PKT_LIST *offer; in dhcp_requesting()
360 compute_points_v6(const PKT_LIST *pkt, const dhcp_smach_t *dsmp) in compute_points_v6()
460 compute_points_v4(const PKT_LIST *pkt) in compute_points_v4()
531 static PKT_LIST *
534 PKT_LIST *current = dsmp->dsm_recv_pkt_list; in select_best()
535 PKT_LIST *next, *best = NULL; in select_best()
606 accept_v4_acknak(dhcp_smach_t *dsmp, PKT_LIST *plp) in accept_v4_acknak()
695 accept_v6_message(dhcp_smach_t *dsmp, PKT_LIST *plp, const char *pname, in accept_v6_message()
[all …]
H A Dpacket.c118 pkt_recv_type(const PKT_LIST *plp) in pkt_recv_type()
763 free_pkt_entry(PKT_LIST *plp) in free_pkt_entry()
779 free_pkt_list(PKT_LIST **head) in free_pkt_list()
781 PKT_LIST *plp; in free_pkt_list()
1211 PKT_LIST *
1214 PKT_LIST *plp; in alloc_pkt_entry()
1238 sock_recvpkt(int fd, PKT_LIST *plp) in sock_recvpkt()
1317 PKT_LIST *
1320 PKT_LIST *plp; in recv_pkt()
1413 pkt_smach_enqueue(dhcp_smach_t *dsmp, PKT_LIST *plp) in pkt_smach_enqueue()
H A Dbound.c93 dhcp_bound(dhcp_smach_t *dsmp, PKT_LIST *ack) in dhcp_bound()
319 PKT_LIST *ack; in dhcp_bound_complete()
452 get_pkt_times(PKT_LIST *ack, lease_t *lease, lease_t *t1, lease_t *t2) in get_pkt_times()
512 PKT_LIST *ack = dsmp->dsm_ack; in configure_v4_timers()
958 PKT_LIST *ack = dsmp->dsm_ack; in configure_v4_lease()
1167 save_server_id(dhcp_smach_t *dsmp, PKT_LIST *msg) in save_server_id()
H A Dadopt.c74 PKT_LIST *plp = NULL; in dhcp_adopt()
H A Dagent.c765 PKT_LIST *ack = dsmp->dsm_ack; in ipc_event()
970 PKT_LIST *ack, *oack; in ipc_event()
971 PKT_LIST *plp[2]; in ipc_event()
H A Dutil.c690 PKT_LIST *plp[2]; in write_lease_to_hostconf()
H A DREADME.v6127 PKT_LIST (struct dhcp_list; <dhcp_impl.h>), and dhcp_pkt_t (struct
130 PKT_LIST contains a PKT pointer, length, decoded option arrays, and
134 Essentially, PKT_LIST is a wrapper for received packets, and
138 libdhcpagent, libwanboot, libdhcputil, and others. PKT_LIST is used
386 For the PKT_LIST structure, things are more complex. This defines
406 The better answer is to use PKT_LIST for both IPv4 and IPv6, adding
418 wrapper on dhcpv6_find_option() that starts with a PKT_LIST pointer
1233 - Add ifindex and source/destination address into PKT_LIST.
/titanic_50/usr/src/common/net/dhcp/
H A Ddhcp_impl.h137 } PKT_LIST; typedef
139 extern int dhcp_options_scan(PKT_LIST *, boolean_t);
140 extern boolean_t dhcp_getinfo_pl(PKT_LIST *, uchar_t, uint16_t, uint16_t,
144 extern dhcpv6_option_t *dhcpv6_pkt_option(const PKT_LIST *,
H A Dscan.c89 vendor_scan(PKT_LIST *pl) in vendor_scan()
111 dhcp_options_scan(PKT_LIST *pl, boolean_t scan_vendor) in dhcp_options_scan()
229 dhcpv6_pkt_option(const PKT_LIST *plp, const dhcpv6_option_t *oldopt, in dhcpv6_pkt_option()
H A Ddhcpinfo.c53 dhcp_getinfo_pl(PKT_LIST *pl, uchar_t optcat, uint16_t code, uint16_t optsize, in dhcp_getinfo_pl()
/titanic_50/usr/src/stand/lib/inet/
H A Ddhcpv4.c73 PKT_LIST *list_tl, *list_hd;
74 PKT_LIST *state_pl = NULL;
203 PKT_LIST *wk, *tmp; in flush_list()
210 bkmem_free((char *)tmp, sizeof (PKT_LIST)); in flush_list()
217 remove_list(PKT_LIST *pl, int flag) in remove_list()
237 bkmem_free((char *)pl, sizeof (PKT_LIST)); in remove_list()
254 PKT_LIST *pl; in bootp_collect()
265 if (((pl = (PKT_LIST *)bkmem_zalloc(sizeof (PKT_LIST))) == in bootp_collect()
269 bkmem_free((char *)pl, sizeof (PKT_LIST)); in bootp_collect()
447 static PKT_LIST *
[all …]
H A Ddhcpv4.h43 extern PKT_LIST *state_pl;
/titanic_50/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.h58 extern int read_hostconf(const char *, PKT_LIST **, uint_t, boolean_t);
59 extern int write_hostconf(const char *, PKT_LIST **, uint_t, time_t,
H A Ddhcp_hostconf.c97 read_hostconf(const char *ifname, PKT_LIST **plpp, uint_t plplen, in read_hostconf()
100 PKT_LIST *plp = NULL; in read_hostconf()
133 if ((plp = calloc(1, sizeof (PKT_LIST))) == NULL) in read_hostconf()
325 PKT_LIST *pl[], in write_hostconf()
/titanic_50/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c74 static PKT_LIST *dhcp_pl = NULL;
116 if ((dhcp_pl = calloc(1, sizeof (PKT_LIST))) == NULL) { in dhcp_info_init()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c279 static PKT_LIST *pl = NULL;
982 pl = kmem_alloc(sizeof (PKT_LIST), KM_SLEEP); in dhcpinit()
1006 kmem_free(pl, sizeof (PKT_LIST)); in dhcpinit()
1102 kmem_free(pl, sizeof (PKT_LIST)); in dhcpinit()
1263 kmem_free(pl, sizeof (PKT_LIST)); in cacheinit()