Home
last modified time | relevance | path

Searched refs:t_uscalar_t (Results 1 – 25 of 92) sorted by relevance

1234

/titanic_50/usr/src/uts/common/sys/
H A Ddlpi.h523 t_uscalar_t dl_qos_type;
535 t_uscalar_t dl_qos_type;
547 t_uscalar_t dl_qos_type;
555 t_uscalar_t dl_qos_type;
563 t_uscalar_t dl_qos_type;
607 t_uscalar_t dl_cap; /* capability type */
608 t_uscalar_t dl_length; /* length of data following */
618 t_uscalar_t mid[4]; /* private fields */
633 t_uscalar_t mdt_version; /* interface version */
634 t_uscalar_t mdt_flags; /* flags */
[all …]
H A Dtpicommon.h185 t_uscalar_t level; /* protocol level affected */
186 t_uscalar_t name; /* option to modify */
187 t_uscalar_t len; /* length of option value */
190 #define OPTLEN(x) ((((x) + sizeof (t_uscalar_t) - 1) / \
191 sizeof (t_uscalar_t)) * sizeof (t_uscalar_t))
H A Dtihdr.h277 t_uscalar_t ACCEPTOR_id; /* id of accepting endpoint */
316 t_uscalar_t CONIND_number; /* connect indications requested */
451 t_uscalar_t CONIND_number; /* connect ind to be queued */
524 t_uscalar_t CAP_bits1; /* capability bits #1 */
529 t_uscalar_t CAP_bits1; /* capability bits #1 */
532 t_uscalar_t ACCEPTOR_id; /* accepting endpoint id */
644 t_uscalar_t len; /* total length of option (header+value) */
645 t_uscalar_t level; /* protocol level */
646 t_uscalar_t name; /* option name */
647 t_uscalar_t status; /* status value */
H A Dsocketvar.h831 char *pr_addr(int, struct sockaddr *, t_uscalar_t);
897 extern void *sogetoff(mblk_t *, t_uscalar_t, t_uscalar_t, uint_t);
898 extern void so_getopt_srcaddr(void *, t_uscalar_t,
899 void **, t_uscalar_t *);
900 extern int so_getopt_unix_close(void *, t_uscalar_t);
904 extern void so_closefds(void *, t_uscalar_t, int, int);
905 extern int so_getfdopt(void *, t_uscalar_t, int, void **, int *);
906 t_uscalar_t so_optlen(void *, t_uscalar_t, int);
907 extern void so_cmsg2opt(void *, t_uscalar_t, int, mblk_t *);
908 extern t_uscalar_t
[all …]
H A Dsoftmac_impl.h70 t_uscalar_t sl_pending_prim;
369 extern int softmac_send_promisc_req(softmac_lower_t *, t_uscalar_t,
381 extern int softmac_output(softmac_lower_t *, mblk_t *, t_uscalar_t,
382 t_uscalar_t, mblk_t **);
383 extern int softmac_mexchange_error_ack(mblk_t **, t_uscalar_t,
384 t_uscalar_t, t_uscalar_t);
H A Ddld_impl.h90 t_uscalar_t ds_ppa; /* SL */
111 t_uscalar_t ds_dlstate; /* SL */
116 t_uscalar_t ds_style; /* WO */
246 t_uscalar_t);
248 extern int dld_str_attach(dld_str_t *, t_uscalar_t);
/titanic_50/usr/src/uts/common/inet/
H A Doptcom.c64 t_uscalar_t *worst_statusp);
65 static t_uscalar_t get_worst_status(t_uscalar_t, t_uscalar_t);
67 t_uscalar_t *, cred_t *, optdb_obj_t *);
69 t_uscalar_t *, cred_t *cr, optdb_obj_t *);
71 uint_t optset_context, uchar_t **resptrp, t_uscalar_t *worst_statusp,
73 static boolean_t opt_level_valid(t_uscalar_t, optlevel_t *, uint_t);
74 static size_t opt_level_allopts_lengths(t_uscalar_t, opdes_t *, uint_t);
75 static boolean_t opt_length_ok(opdes_t *, t_uscalar_t optlen);
76 static t_uscalar_t optcom_max_optbuf_len(opdes_t *, uint_t);
188 t_uscalar_t max_optbuf_len; in svr4_optcom_req()
[all …]
H A Dip_arp.h60 t_uscalar_t arl_sap;
61 t_uscalar_t arl_sap_length;
65 t_uscalar_t arl_mactype;
78 t_uscalar_t arl_dlpi_pending;
117 extern uint32_t arp_hw_type(t_uscalar_t);
H A Doptcom.h40 t_uscalar_t opdes_name; /* option name */
41 t_uscalar_t opdes_level; /* option "level" */
46 t_uscalar_t opdes_size; /* length of option */
159 typedef t_uscalar_t optlevel_t;
196 extern t_uscalar_t optcom_max_optsize(opdes_t *, uint_t);
198 extern int process_auxiliary_options(conn_t *, void *, t_uscalar_t,
H A Dproto_set.h50 extern int proto_opt_check(int, int, int, t_uscalar_t *, opdes_t *,
52 extern opdes_t *proto_opt_lookup(t_uscalar_t, t_uscalar_t, opdes_t *, uint_t);
/titanic_50/usr/src/uts/common/io/
H A Dsundlpi.c47 t_uscalar_t addrlen, in dlbindack()
48 t_uscalar_t maxconind, in dlbindack()
49 t_uscalar_t xidtest) in dlbindack()
73 t_uscalar_t correct_primitive) in dlokack()
89 t_uscalar_t error_primitive, in dlerrorack()
90 t_uscalar_t error, in dlerrorack()
91 t_uscalar_t unix_errno) in dlerrorack()
110 t_uscalar_t addrlen, in dluderrorind()
111 t_uscalar_t error, in dluderrorind()
112 t_uscalar_t unix_errno) in dluderrorind()
[all …]
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.h38 t_uscalar_t soa_len; /* Length in bytes for kmem_free */
39 t_uscalar_t soa_maxlen; /* Allocated length */
170 t_uscalar_t sti_tsdu_size;
171 t_uscalar_t sti_etsdu_size;
173 t_uscalar_t sti_opt_size;
174 t_uscalar_t sti_tidu_size;
178 t_uscalar_t sti_acceptor_id;
H A Dsocksubr.c413 sogetoff(mblk_t *mp, t_uscalar_t offset, in sogetoff()
414 t_uscalar_t length, uint_t align_size) in sogetoff()
860 static t_uscalar_t
863 return (t_uscalar_t)((fdbuflen - FDBUF_HDRSIZE) / in fdbuf_cmsglen()
945 so_closefds(void *control, t_uscalar_t controllen, int oldflg, in so_closefds()
979 so_getfdopt(void *control, t_uscalar_t controllen, int oldflg, in so_getfdopt()
1030 t_uscalar_t
1031 so_optlen(void *control, t_uscalar_t controllen, int oldflg) in so_optlen()
1034 t_uscalar_t optlen = 0; in so_optlen()
1035 t_uscalar_t len; in so_optlen()
[all …]
H A Dsocktpi.c219 struct uio *, void *, t_uscalar_t, int);
542 &protocol, (t_uscalar_t)sizeof (protocol), cr); in sotpi_init()
633 t_uscalar_t addrlen; in sotpi_bindlisten()
680 addrlen = (t_uscalar_t)sizeof (sti->sti_ux_laddr); in sotpi_bindlisten()
688 addrlen = (t_uscalar_t)sti->sti_laddr_len; in sotpi_bindlisten()
723 addrlen = (t_uscalar_t)sizeof (sti->sti_ux_laddr); in sotpi_bindlisten()
930 if (namelen > (t_uscalar_t)sti->sti_laddr_maxlen) { in sotpi_bindlisten()
943 addrlen = (t_uscalar_t)sti->sti_laddr_len; in sotpi_bindlisten()
1012 addrlen = (t_uscalar_t)sizeof (sti->sti_ux_laddr); in sotpi_bindlisten()
1095 (t_uscalar_t)sizeof (*bind_ack), &mp, 0); in sotpi_bindlisten()
[all …]
H A Dnl7c.h81 extern void *nl7c_lookup_addr(void *, t_uscalar_t);
82 extern void *nl7c_add_addr(void *, t_uscalar_t);
H A Dsocktpi_impl.h48 extern void so_alloc_addr(struct sonode *, t_uscalar_t);
64 t_uscalar_t, mblk_t **, clock_t);
/titanic_50/usr/src/uts/common/io/softmac/
H A Dsoftmac_pkt.c94 dlpi_get_errno(t_uscalar_t error, t_uscalar_t unix_errno) in dlpi_get_errno()
100 softmac_output(softmac_lower_t *slp, mblk_t *mp, t_uscalar_t dl_prim, in softmac_output()
101 t_uscalar_t ack, mblk_t **mpp) in softmac_output()
192 softmac_mexchange_error_ack(mblk_t **mpp, t_uscalar_t error_primitive, in softmac_mexchange_error_ack()
193 t_uscalar_t error, t_uscalar_t unix_errno) in softmac_mexchange_error_ack()
213 t_uscalar_t dl_prim; in softmac_proto_tx()
H A Dsoftmac_capab.c33 int (*sc_hcksum_ack)(void *, t_uscalar_t);
34 int (*sc_zcopy_ack)(void *, t_uscalar_t);
39 static int softmac_fill_hcksum_ack(void *, t_uscalar_t);
40 static int softmac_fill_zcopy_ack(void *, t_uscalar_t);
42 static int softmac_adv_hcksum_ack(void *, t_uscalar_t);
43 static int softmac_adv_zcopy_ack(void *, t_uscalar_t);
45 static int softmac_enable_hcksum_ack(void *, t_uscalar_t);
165 softmac_fill_hcksum_ack(void *arg, t_uscalar_t flags) in softmac_fill_hcksum_ack()
190 softmac_fill_zcopy_ack(void *arg, t_uscalar_t flags) in softmac_fill_zcopy_ack()
362 softmac_adv_hcksum_ack(void *arg, t_uscalar_t flags) in softmac_adv_hcksum_ack()
[all …]
/titanic_50/usr/src/uts/common/inet/ip/
H A Dkeysock_opt_data.c52 (t_uscalar_t)sizeof (int), 0 },
54 (t_uscalar_t)sizeof (int), 0 },
56 (t_uscalar_t)sizeof (int), 0 },
H A Dspdsock_opt_data.c55 (t_uscalar_t)sizeof (int), 0 },
57 (t_uscalar_t)sizeof (int), 0 },
/titanic_50/usr/src/uts/common/io/dld/
H A Ddld_proto.c68 t_uscalar_t prim; in dld_proto()
70 if (MBLKL(mp) < sizeof (t_uscalar_t)) { in dld_proto()
323 t_uscalar_t dl_err; in proto_attach_req()
358 dlerrorack(q, mp, DL_ATTACH_REQ, dl_err, (t_uscalar_t)err); in proto_attach_req()
368 t_uscalar_t dl_err; in proto_detach_req()
406 t_uscalar_t dl_err; in proto_bind_req()
502 dlerrorack(q, mp, DL_BIND_REQ, dl_err, (t_uscalar_t)err); in proto_bind_req()
512 t_uscalar_t dl_err; in proto_unbind_req()
577 t_uscalar_t dl_err; in proto_promiscon_req()
641 dlerrorack(q, mp, DL_PROMISCON_REQ, dl_err, (t_uscalar_t)err); in proto_promiscon_req()
[all …]
/titanic_50/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c57 static int i_dlpi_checkstyle(dlpi_impl_t *, t_uscalar_t);
63 static int i_dlpi_strgetmsg(dlpi_impl_t *, int, dlpi_msg_t *, t_uscalar_t,
64 t_uscalar_t, size_t, void *, size_t *, size_t *);
68 static size_t i_dlpi_getprimsize(t_uscalar_t);
69 static int i_dlpi_multi(dlpi_handle_t, t_uscalar_t, const uint8_t *, size_t);
70 static int i_dlpi_promisc(dlpi_handle_t, t_uscalar_t, uint_t);
269 t_uscalar_t dataoff, datalen; in dlpi_info()
281 infop->di_qos_range.dl_qos_type = (t_uscalar_t)DL_UNKNOWN; in dlpi_info()
291 infop->di_qos_sel.dl_qos_type = (t_uscalar_t)DL_UNKNOWN; in dlpi_info()
511 i_dlpi_multi(dlpi_handle_t dh, t_uscalar_t op, const uint8_t *addrp, in i_dlpi_multi()
[all …]
H A Dlibdlpi_impl.h80 t_uscalar_t dp_prim; /* store DLPI primitive */
115 t_uscalar_t dli_style; /* style 1 or 2 */
/titanic_50/usr/src/head/
H A Dxti.h298 t_uscalar_t len; /* total length of option */
299 t_uscalar_t level; /* protocol level */
300 t_uscalar_t name; /* option name */
301 t_uscalar_t status; /* status value */
/titanic_50/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c681 if (maxlen < (t_uscalar_t)sizeof (int32_t)) { in sosdp_getsockopt()
688 if (maxlen < (t_uscalar_t)sizeof (struct linger)) { in sosdp_getsockopt()
695 len = (t_uscalar_t)sizeof (uint32_t); /* Default */ in sosdp_getsockopt()
730 len = (t_uscalar_t)sizeof (struct linger); in sosdp_getsockopt()
734 len = (t_uscalar_t)sizeof (int); in sosdp_getsockopt()
739 len = (t_uscalar_t)sizeof (int); in sosdp_getsockopt()
744 len = (t_uscalar_t)sizeof (int); in sosdp_getsockopt()
749 len = (t_uscalar_t)sizeof (int); in sosdp_getsockopt()
799 const void *optval, t_uscalar_t optlen, struct cred *cr) in sosdp_setsockopt()
848 if (optlen != (t_uscalar_t)sizeof (int32_t)) { in sosdp_setsockopt()
[all …]

1234