Home
last modified time | relevance | path

Searched refs:seqnum (Results 1 – 25 of 29) sorted by relevance

12

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_seqnum.c34 kg_make_seq_num(context, key, direction, seqnum, cksum, buf) in kg_make_seq_num() argument
38 krb5_ui_4 seqnum;
50 plain[0] = (seqnum>>24) & 0xff;
51 plain[1] = (seqnum>>16) & 0xff;
52 plain[2] = (seqnum>>8) & 0xff;
53 plain[3] = seqnum & 0xff;
61 plain[0] = (unsigned char) (seqnum&0xff);
62 plain[1] = (unsigned char) ((seqnum>>8)&0xff);
63 plain[2] = (unsigned char) ((seqnum>>16)&0xff);
64 plain[3] = (unsigned char) ((seqnum>>24)&0xff);
[all …]
H A Dutil_ordering.c129 queue_insert(queue *q, int after, gssint_uint64 seqnum) in queue_insert() argument
144 QELEM(q,after+1) = seqnum; in queue_insert()
160 g_order_init(void **vqueue, gssint_uint64 seqnum, in g_order_init() argument
174 q->firstnum = seqnum; in g_order_init()
182 g_order_check(void **vqueue, gssint_uint64 seqnum) in g_order_check() argument
195 seqnum -= q->firstnum; in g_order_check()
202 seqnum &= q->mask; in g_order_check()
207 if (seqnum == expected) { in g_order_check()
208 queue_insert(q, q->start+q->length-1, seqnum); in g_order_check()
213 if (after(seqnum, expected, q->mask)) { in g_order_check()
[all …]
H A Dk5seal.c59 gssint_uint64 *seqnum, in make_seal_token_v1() argument
292 seqnum32 = (OM_uint32)(*seqnum & 0xFFFFFFFF); in make_seal_token_v1()
309 bigend_seqnum[0] = (*seqnum>>24) & 0xff; in make_seal_token_v1()
310 bigend_seqnum[1] = (*seqnum>>16) & 0xff; in make_seal_token_v1()
311 bigend_seqnum[2] = (*seqnum>>8) & 0xff; in make_seal_token_v1()
312 bigend_seqnum[3] = *seqnum & 0xff; in make_seal_token_v1()
354 (*seqnum)++; in make_seal_token_v1()
355 *seqnum &= (ulong_t)0xffffffffU; in make_seal_token_v1()
H A Dk5unseal.c86 krb5_ui_4 seqnum; local
195 &seqnum))) {
218 bigend_seqnum[0] = (seqnum>>24) & 0xff;
219 bigend_seqnum[1] = (seqnum>>16) & 0xff;
220 bigend_seqnum[2] = (seqnum>>8) & 0xff;
221 bigend_seqnum[3] = seqnum & 0xff;
635 retval = g_order_check(&(ctx->seqstate), (gssint_uint64)seqnum);
H A Dk5sealv3.c357 gssint_uint64 seqnum; in gss_krb5int_unseal_token_v3() local
434 seqnum = load_64_be(ptr+8); in gss_krb5int_unseal_token_v3()
536 err = g_order_check(&ctx->seqstate, seqnum); in gss_krb5int_unseal_token_v3()
548 seqnum = load_64_be(ptr+8); in gss_krb5int_unseal_token_v3()
574 err = g_order_check(&ctx->seqstate, seqnum); in gss_krb5int_unseal_token_v3()
/titanic_41/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c53 uint64_t seqnum; member
219 uint64_t seqnum; in door_server() local
224 seqnum = get_seqnum(); in door_server()
225 if (nvlist_add_uint64(results, HPD_SEQNUM, seqnum) != 0) { in door_server()
240 add_buffer(seqnum, buf); in door_server()
545 uint64_t seqnum; in get_seqnum() local
549 seqnum = buffer_seqnum++; in get_seqnum()
553 return (seqnum); in get_seqnum()
562 add_buffer(uint64_t seqnum, char *buf) in add_buffer() argument
573 node->seqnum = seqnum; in add_buffer()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_signing.c61 uint32_t seqnum,
67 uint32_t seqnum, in smb_sign_find_seqnum() argument
79 start_seqnum = seqnum - 10; in smb_sign_find_seqnum()
85 sign->seqnum = i; in smb_sign_find_seqnum()
171 session->signing.seqnum = 0; in smb_sign_begin()
213 uint32_t seqnum, in smb_sign_calc() argument
263 smbhdr.s.sig[0] = htolel(seqnum); in smb_sign_calc()
H A Dsmb_session.c589 sr->session->signing.seqnum++; in smb_session_message()
590 sr->sr_seqnum = sr->session->signing.seqnum + 1; in smb_session_message()
593 sr->session->signing.seqnum += 2; in smb_session_message()
594 sr->sr_seqnum = sr->session->signing.seqnum; in smb_session_message()
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A DMICwrap.c94 mic->seqnum = __dh_next_seqno(cntx); in __dh_gss_sign()
179 stat = __dh_seq_detection(cntx, mic->seqnum); in __dh_gss_verify()
255 wrap->mic.seqnum = __dh_next_seqno(cntx); in __dh_gss_seal()
386 stat = __dh_seq_detection(cntx, wrap->mic.seqnum); in __dh_gss_unseal()
H A Ddhmech_prot.x102 unsigned seqnum; member
H A Dcontext.c324 wrap->mic.seqnum = 0; in __dh_gss_wrap_size_limit()
/titanic_41/usr/src/uts/common/inet/
H A Dmi.h146 t_scalar_t seqnum);
149 char *dst, t_scalar_t dst_length, t_scalar_t seqnum);
151 t_scalar_t seqnum);
H A Dmi.c1399 t_scalar_t opt_length, t_scalar_t seqnum) in mi_tpi_conn_ind() argument
1408 ((struct T_conn_ind *)mp->b_rptr)->SEQ_number = seqnum; in mi_tpi_conn_ind()
1417 t_scalar_t seqnum) in mi_tpi_extconn_ind() argument
1435 ((struct T_extconn_ind *)mp->b_rptr)->SEQ_number = seqnum; in mi_tpi_extconn_ind()
1442 mi_tpi_discon_ind(MBLKP trailer_mp, t_scalar_t reason, t_scalar_t seqnum) in mi_tpi_discon_ind() argument
1451 tdi->SEQ_number = seqnum; in mi_tpi_discon_ind()
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Dmap_ctrl.c638 int seqnum = 0; in map_id_list_init() local
699 if (insert_map_in_list(mapbuf, seqnum) in map_id_list_init()
708 seqnum++; in map_id_list_init()
712 max_map = seqnum; in map_id_list_init()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_generic.h214 gss_int32 g_order_init (void **queue, gssint_uint64 seqnum,
217 gss_int32 g_order_check (void **queue, gssint_uint64 seqnum);
H A DgssapiP_krb5.h252 int direction, krb5_ui_4 seqnum, unsigned char *cksum,
258 krb5_ui_4 *seqnum);
/titanic_41/usr/src/uts/common/sys/
H A Dcpu_event.h201 typedef int (* cpu_idle_prop_update_t)(void *arg, uint64_t seqnum,
/titanic_41/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c1175 uint64_t seqnum; in i_hp_call_hotplugd() local
1254 (nvlist_lookup_uint64(results, HPD_SEQNUM, &seqnum) == 0)) { in i_hp_call_hotplugd()
1255 door_arg.data_ptr = (char *)(uintptr_t)&seqnum; in i_hp_call_hotplugd()
1256 door_arg.data_size = sizeof (seqnum); in i_hp_call_hotplugd()
/titanic_41/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c225 unsigned int seqnum; member
1771 tmpnum = htonl(text->seqnum);
1793 tmpnum = htonl(text->seqnum);
1805 text->seqnum++;
1890 unsigned int seqnum; local
1962 memcpy(&seqnum, text->buffer+text->size-4,4);
1963 seqnum=ntohl(seqnum);
1965 if (seqnum!=text->rec_seqnum)
2041 tmpnum = htonl(text->seqnum);
2059 tmpnum = htonl(text->seqnum);
[all …]
/titanic_41/usr/src/uts/common/io/sfe/
H A Dsfe_util.h183 #define SLOT(seqnum, size) (((unsigned int)(seqnum)) & ((size)-1)) argument
/titanic_41/usr/src/uts/common/io/uath/
H A Duath.c1598 if (chunk->seqnum == 0 && chunk->flags == 0 && chunk->length == 0) { in uath_data_rxeof()
1606 if (chunk->seqnum != sc->sc_intrx_nextnum) { in uath_data_rxeof()
1609 chunk->seqnum, sc->sc_intrx_nextnum); in uath_data_rxeof()
1617 if ((chunk->seqnum == 0 && !(chunk->flags & UATH_CFLAGS_FINAL)) || in uath_data_rxeof()
1618 (chunk->seqnum != 0 && (chunk->flags & UATH_CFLAGS_FINAL)) || in uath_data_rxeof()
1623 chunk->seqnum, chunk->flags, BE_16(chunk->length)); in uath_data_rxeof()
2074 chunk->seqnum = 0; in uath_send()
2340 chunk->seqnum = 0; in uath_dataflush()
H A Duath_reg.h146 uint8_t seqnum; /* sequence number for ordering */ member
/titanic_41/usr/src/lib/librcm/
H A Dlibrcm.c706 int seqnum; in rcm_info_seqnum() local
713 if (errno = nvlist_lookup_int32(tuple->info, RCM_SEQ_NUM, &seqnum)) in rcm_info_seqnum()
716 return (seqnum); in rcm_info_seqnum()
/titanic_41/usr/src/uts/common/os/
H A Dcpu_event.c201 static int cpu_idle_prop_update_intr_cnt(void *arg, uint64_t seqnum,
1112 static int cpu_idle_prop_update_intr_cnt(void *arg, uint64_t seqnum, in cpu_idle_prop_update_intr_cnt() argument
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp.c1740 tcp_disconnect_common(tcp_t *tcp, t_scalar_t seqnum) in tcp_disconnect_common() argument
1762 if (seqnum == -1 || tcp->tcp_conn_req_max == 0) { in tcp_disconnect_common()
1854 } else if (!tcp_eager_blowoff(tcp, seqnum)) { in tcp_disconnect_common()
1868 t_scalar_t seqnum; in tcp_disconnect() local
1877 seqnum = ((struct T_discon_req *)mp->b_rptr)->SEQ_number; in tcp_disconnect()
1878 error = tcp_disconnect_common(tcp, seqnum); in tcp_disconnect()

12