Searched refs:PKT (Results 1 - 20 of 20) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_descriptors.h62 * from an input buffer shall have "PKT" in their name.
469 #define HCI1394_SETTAG(PKT, VAL) ((PKT)->q1 = (((PKT)->q1) & \
476 #define HCI1394_SETCHAN(PKT, VAL) ((PKT)->q1 = ((PKT)->q1) & \
483 #define HCI1394_SETSY(PKT, VAL) ((PKT)->q1 = ((PKT)
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/
H A Dinterfaces.h77 extern int write_interface(IF *, PKT *, int, struct sockaddr_in *);
84 extern int send_reply(IF *, PKT *, int, struct in_addr *);
H A Ddhcpd.h166 extern PKT *gen_bootp_pkt(int, PKT *);
193 extern int load_options(int, PKT_LIST *, PKT *, int, uchar_t *, ENCODE *,
H A Dlogging.c75 char macbuf[(sizeof (((PKT *)NULL)->chaddr) * 2) + 1];
H A Dbootp.c64 PKT *rep_pktp = NULL;
324 rep_pktp = gen_bootp_pkt(sizeof (PKT), plp->pkt);
347 pkt_len = load_options(flags, plp, rep_pktp, sizeof (PKT), optp, ecp,
354 if (pkt_len < sizeof (PKT))
355 pkt_len = sizeof (PKT);
H A Drelay.c164 PKT *pkp;
233 PKT *pkp = plp->pkt;
H A Ddhcp.c57 static PKT *gen_reply_pkt(dsvc_clnt_t *, PKT_LIST *, int, uint_t *,
183 PKT *rep_pktp = NULL;
528 if (used_pkt_len < sizeof (PKT))
529 used_pkt_len = sizeof (PKT);
581 PKT *rep_pktp = NULL;
968 if (actual_len < sizeof (PKT))
969 actual_len = sizeof (PKT);
1245 if (actual_len < sizeof (PKT))
1246 actual_len = sizeof (PKT);
1435 PKT *rep_pkt
[all...]
H A Dgeneric.c264 load_options(int flags, PKT_LIST *c_plp, PKT *r_pktp, int replen, uchar_t *optp,
269 PKT *c_pktp = c_plp->pkt;
H A Dmain.c39 * interface's PKT list. This thread spawns worker threads as needed
778 PKT *
779 gen_bootp_pkt(int size, PKT *srcpktp)
781 PKT *pkt = (PKT *)smalloc(size);
H A Dinterfaces.c610 verify_len, sizeof (PKT),
624 plp->pkt = (PKT *)data.buf;
1133 write_interface(IF *ifp, PKT *clientp, int len, struct sockaddr_in *to)
1340 send_reply(IF *ifp, PKT *pp, int len, struct in_addr *dstp)
/opensolaris-onvv-gate/usr/src/stand/lib/inet/
H A Ddhcpv4.c56 static PKT *dhcp_snd_bufp, *dhcp_rcv_bufp;
87 init_msg(PKT *pkt, uint8_t *pkttype)
132 set_hw_spec_data(PKT *p, uint8_t **opt, uint8_t *pkttype)
252 PKT *s = (PKT *)dhcp_snd_bufp;
253 PKT *r = (PKT *)dhcp_rcv_bufp;
256 if (len < sizeof (PKT)) {
266 NULL) || ((pl->pkt = (PKT *)bkmem_zalloc(len)) == NULL)) {
295 PKT *
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.h91 PKT *pkt; /* the real underlying packet */
120 uint_t pkt_get_xid(const PKT *, boolean_t);
H A Dpacket.c131 * input: const PKT *: the packet to examine
136 pkt_get_xid(const PKT *pkt, boolean_t isv6)
188 dpkt->pkt = (PKT *)v6;
219 PKT *v4;
227 if (offsetof(PKT, options) > dpkt->pkt_max_len) {
234 dpkt->pkt_cur_len = offsetof(PKT, options);
323 raw_pkt += offsetof(PKT, options);
1028 * packets must be at least sizeof (PKT) or they may be dropped
1032 dpkt->pkt_cur_len = MAX(dpkt->pkt_cur_len, sizeof (PKT));
H A Dagent.c876 if (optnum.code + optnum.size > sizeof (PKT))
/opensolaris-onvv-gate/usr/src/common/net/dhcp/
H A Ddhcp_impl.h107 * The PKT * pointer here actually points to a dhcpv6_message_t if the packet
108 * is DHCPv6. We assume that PKT * the same or stricter alignment
116 PKT *pkt; /* client packet */
H A Ddhcpinfo.c91 if (code + optsize > sizeof (PKT))
H A Dscan.c107 * Load opts table in PKT_LIST entry with PKT's options.
113 PKT *pkt = pl->pkt;
/opensolaris-onvv-gate/usr/src/uts/common/netinet/
H A Ddhcp.h199 } PKT; typedef in typeref:struct:dhcp
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/
H A Dtest_client.c89 static PKT request;
195 PKT crequest, *irequestp;
409 if (sendto(ms, (char *)&crequest, sizeof (PKT), 0,
866 PKT *irequestp;
911 irequestp = (PKT *) bufp;
/opensolaris-onvv-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c93 * note: the PKT and PKT_LISTs are dynamically allocated here
101 PKT *pkt = NULL;

Completed in 111 milliseconds