/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 579 esp_age_bytes(ipsa_t *assoc, uint64_t bytes, boolean_t inbound) in esp_age_bytes() argument 586 netstack_t *ns = assoc->ipsa_netstack; in esp_age_bytes() 590 if (!assoc->ipsa_haspeer) { in esp_age_bytes() 591 return (sadb_age_bytes(espstack->esp_pfkey_q, assoc, bytes, in esp_age_bytes() 607 isv6 = (assoc->ipsa_addrfam == AF_INET6); in esp_age_bytes() 611 inassoc = assoc; in esp_age_bytes() 633 outassoc = assoc; in esp_age_bytes() 672 esp_fix_natt_checksums(mblk_t *data_mp, ipsa_t *assoc) in esp_fix_natt_checksums() argument 678 uint32_t sum = assoc->ipsa_inbound_cksum; in esp_fix_natt_checksums() 975 esp_set_usetime(ipsa_t *assoc, boolean_t inbound) in esp_set_usetime() argument [all …]
|
H A D | sadb.c | 348 sadb_delete_cluster(ipsa_t *assoc) in sadb_delete_cluster() argument 353 ((assoc->ipsa_state == IPSA_STATE_LARVAL) || in sadb_delete_cluster() 354 (assoc->ipsa_state == IPSA_STATE_MATURE))) { in sadb_delete_cluster() 355 protocol = (assoc->ipsa_type == SADB_SATYPE_AH) ? in sadb_delete_cluster() 357 cl_inet_deletespi(assoc->ipsa_netstack->netstack_stackid, in sadb_delete_cluster() 358 protocol, assoc->ipsa_spi, NULL); in sadb_delete_cluster() 1088 sadb_sa_t *assoc; in sadb_sa2msg() local 1266 assoc = (sadb_sa_t *)(newsamsg + 1); in sadb_sa2msg() 1267 assoc->sadb_sa_len = SADB_8TO64(sizeof (*assoc)); in sadb_sa2msg() 1268 assoc->sadb_sa_exttype = SADB_EXT_SA; in sadb_sa2msg() [all …]
|
H A D | ipsecah.c | 763 sadb_sa_t *assoc = (sadb_sa_t *)ksi->ks_in_extv[SADB_EXT_SA]; in ah_add_sa_finish() local 792 if (assoc->sadb_sa_flags & IPSA_F_INBOUND) { in ah_add_sa_finish() 796 if (assoc->sadb_sa_flags & IPSA_F_OUTBOUND) in ah_add_sa_finish() 799 if (assoc->sadb_sa_flags & IPSA_F_OUTBOUND) { in ah_add_sa_finish() 812 assoc->sadb_sa_flags |= IPSA_F_OUTBOUND; in ah_add_sa_finish() 823 assoc->sadb_sa_flags |= IPSA_F_INBOUND; in ah_add_sa_finish() 839 assoc->sadb_sa_flags |= IPSA_F_OUTBOUND; in ah_add_sa_finish() 843 assoc->sadb_sa_flags |= IPSA_F_INBOUND; in ah_add_sa_finish() 902 larval = ipsec_getassocbyspi(sq.inbound, sq.assoc->sadb_sa_spi, in ah_add_sa_finish() 1022 sadb_sa_t *assoc = (sadb_sa_t *)ksi->ks_in_extv[SADB_EXT_SA]; in ah_add_sa() local [all …]
|
H A D | ip_sadb.c | 573 ipsa_t *assoc; in ipsec_outbound_sa() local 635 assoc = ipsec_getassocbyconn(bucket, ixa, src_ptr, dst_ptr, af, in ipsec_outbound_sa() 639 if (assoc == NULL) in ipsec_outbound_sa() 642 if (assoc->ipsa_state == IPSA_STATE_DEAD) { in ipsec_outbound_sa() 643 IPSA_REFRELE(assoc); in ipsec_outbound_sa() 647 ASSERT(assoc->ipsa_state != IPSA_STATE_LARVAL); in ipsec_outbound_sa() 649 *sa = assoc; in ipsec_outbound_sa() 662 ipsa_t *assoc; in ipsec_inbound_ah_sa() local 729 assoc = ipsec_getassocbyspi(hptr, ah->ah_spi, src_ptr, dst_ptr, af); in ipsec_inbound_ah_sa() 732 if (assoc == NULL || assoc->ipsa_state == IPSA_STATE_DEAD || in ipsec_inbound_ah_sa() [all …]
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 203 assoc_t *assoc; member 234 %type <assoc> resource_assign resource_assigns resource_list 235 %type <assoc> component_assign component_assigns component_list 565 assoc_t *assoc = NULL; variable 568 for (assoc = cmd->cmd_assoc_list; assoc != NULL; 569 assoc = assoc->assoc_next) 570 prev = assoc; /* Find end of list */ 580 assoc_t *assoc = NULL; variable 583 for (assoc = cmd->cmd_assoc_list; assoc != NULL; 584 assoc = assoc->assoc_next) [all …]
|
H A D | poolcfg.h | 56 typedef struct assoc { struct 59 struct assoc *assoc_next; argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 1755 struct sadb_sa *assoc = NULL; in doaddup() local 1826 if (assoc == NULL) { in doaddup() 1827 assoc = malloc(sizeof (*assoc)); in doaddup() 1828 if (assoc == NULL) in doaddup() 1830 bzero(assoc, sizeof (*assoc)); in doaddup() 1831 assoc->sadb_sa_exttype = SADB_EXT_SA; in doaddup() 1832 assoc->sadb_sa_len = in doaddup() 1833 SADB_8TO64(sizeof (*assoc)); in doaddup() 1834 totallen += sizeof (*assoc); in doaddup() 1842 if (assoc->sadb_sa_spi != 0) { in doaddup() [all …]
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 1852 print_sa(FILE *file, char *prefix, struct sadb_sa *assoc) in print_sa() argument 1854 if (assoc->sadb_sa_len != SADB_8TO64(sizeof (*assoc))) { in print_sa() 1857 SADB_64TO8(assoc->sadb_sa_len)); in print_sa() 1860 if ((assoc->sadb_sa_flags & SADB_X_SAFLAGS_TCPSIG) == 0) { in print_sa() 1863 prefix, ntohl(assoc->sadb_sa_spi), assoc->sadb_sa_replay); in print_sa() 1868 switch (assoc->sadb_sa_state) { in print_sa() 1890 "<unknown %u>"), assoc->sadb_sa_state); in print_sa() 1893 if (assoc->sadb_sa_auth != SADB_AALG_NONE) { in print_sa() 1897 if ((assoc->sadb_sa_flags & SADB_X_SAFLAGS_TCPSIG) != 0) in print_sa() 1898 (void) dump_tcpsigalg(assoc->sadb_sa_auth, file); in print_sa() [all …]
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200.c | 1626 struct ipw2200_associate assoc; in ipw2200_auth_and_assoc() local 1689 (void) memset(&assoc, 0, sizeof (assoc)); in ipw2200_auth_and_assoc() 1744 assoc.mode = IEEE80211_IS_CHAN_5GHZ(in->in_chan) ? in ipw2200_auth_and_assoc() 1746 assoc.chan = ieee80211_chan2ieee(ic, in->in_chan); in ipw2200_auth_and_assoc() 1752 assoc.auth = (ic->ic_def_txkey << 4) | IPW2200_AUTH_SHARED; in ipw2200_auth_and_assoc() 1759 assoc.policy = LE_16(IPW2200_POLICY_WPA); /* RSN/WPA active */ in ipw2200_auth_and_assoc() 1760 (void) memcpy(assoc.tstamp, in->in_tstamp.data, 8); in ipw2200_auth_and_assoc() 1761 assoc.capinfo = LE_16(in->in_capinfo); in ipw2200_auth_and_assoc() 1762 assoc.lintval = LE_16(ic->ic_lintval); in ipw2200_auth_and_assoc() 1763 assoc.intval = LE_16(in->in_intval); in ipw2200_auth_and_assoc() [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dd.c | 221 isns_obj_t *assoc, in get_member_info() argument 238 attr1 = &assoc->attrs[ATTR_INDEX_ASSOC_ISCSI( in get_member_info() 240 attr2 = &assoc->attrs[ATTR_INDEX_ASSOC_ISCSI( in get_member_info() 1464 isns_obj_t *assoc in add_dd_member() argument 1472 dd_id = get_parent_uid(assoc); in add_dd_member() 1480 ec = get_member_info(assoc, &m_type, &m_id, 1); in add_dd_member() 1492 ec = write_data(DATA_ADD, assoc); in add_dd_member() 1497 (void) make_scn(ISNS_MEMBER_ADDED, assoc); in add_dd_member() 1506 isns_obj_t *assoc in add_dds_member() argument 1511 uint32_t m_id = assoc->attrs[ATTR_INDEX_ASSOC_DD( in add_dds_member() [all …]
|
H A D | func.c | 1403 isns_obj_t *assoc; local 1525 assoc = (isns_obj_t *)&aiscsi; 1526 if ((ec = add_dd_member(assoc)) == 1552 assoc = (isns_obj_t *)&aiscsi; 1553 if ((ec = add_dd_member(assoc)) == 1639 isns_obj_t *assoc; local 1774 assoc = (isns_obj_t *)&add; 1775 if ((ec = add_dds_member(assoc)) == 1835 isns_obj_t *assoc; local 1874 assoc = (isns_obj_t *)&aiscsi; [all …]
|
H A D | admintf.c | 1687 isns_obj_t *assoc; in i_delete_ddmember_op() local 1717 assoc = (isns_obj_t *)&aiscsi; in i_delete_ddmember_op() 1718 ret = remove_dd_member(assoc); in i_delete_ddmember_op() 2463 isns_obj_t *assoc; in create_ddmember_ddsetmember_op() local 2517 assoc = (isns_obj_t *)&aiscsi; in create_ddmember_ddsetmember_op() 2520 ret = add_dd_member(assoc); in create_ddmember_ddsetmember_op() 2536 assoc = (isns_obj_t *)&add; in create_ddmember_ddsetmember_op() 2539 ret = add_dds_member(assoc); in create_ddmember_ddsetmember_op()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sig.c | 153 sadb_sa_t *assoc; in tcpsig_make_sa_ext() local 157 if (start == NULL || end - start < sizeof (*assoc)) in tcpsig_make_sa_ext() 160 assoc = (sadb_sa_t *)start; in tcpsig_make_sa_ext() 161 assoc->sadb_sa_exttype = SADB_EXT_SA; in tcpsig_make_sa_ext() 162 assoc->sadb_sa_len = SADB_8TO64(sizeof (*assoc)); in tcpsig_make_sa_ext() 163 assoc->sadb_sa_auth = sa->ts_key.sak_algid; in tcpsig_make_sa_ext() 164 assoc->sadb_sa_flags = SADB_X_SAFLAGS_TCPSIG; in tcpsig_make_sa_ext() 165 assoc->sadb_sa_state = sa->ts_state; in tcpsig_make_sa_ext() 167 return ((uint8_t *)(assoc + 1)); in tcpsig_make_sa_ext() 381 sadb_sa_t *assoc; in tcpsig_sa_expiremsg() local [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/regex/data/ |
H A D | leftassoc.dat | 1 NOTE left-assoc:pass-all right-assoc:pass-none : 2002-04-29
|
H A D | rightassoc.dat | 1 NOTE left-assoc:pass-none right-assoc:pass-all : 2002-04-29
|
H A D | forcedassoc.dat | 1 NOTE left-assoc:pass-all right-assoc:pass-all : 2002-04-29
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 1993 pool_assoc_undo_t *assoc; in pool_knl_pool_associate() local 2014 if ((assoc = malloc(sizeof (pool_assoc_undo_t))) == NULL) { in pool_knl_pool_associate() 2018 assoc->pau_assoc = TO_ELEM(pool); in pool_knl_pool_associate() 2019 assoc->pau_oldres = (pool_elem_t *)orig_res; in pool_knl_pool_associate() 2020 assoc->pau_newres = TO_ELEM(resource); in pool_knl_pool_associate() 2022 assoc->pau_ioctl.pa_o_id_type = res_class; in pool_knl_pool_associate() 2024 if (log_append(prov->pkc_log, POOL_ASSOC, (void *)assoc) != in pool_knl_pool_associate() 2026 free(assoc); in pool_knl_pool_associate() 2787 pool_assoc_undo_t *assoc; in log_item_commit() local 2877 assoc = (pool_assoc_undo_t *)li->li_details; in log_item_commit() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpool.c | 208 pool_assoc_t assoc; in pool_ioctl() local 362 if (ddi_copyin((void *)arg, &assoc, in pool_ioctl() 367 ret = pool_assoc(assoc.pa_o_pool_id, in pool_ioctl() 368 assoc.pa_o_id_type, assoc.pa_o_res_id); in pool_ioctl()
|
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 1310 const isns_obj_t *assoc in xml_delete_assoc() argument 1334 parent_type = TYPE_OF_PARENT[assoc->type]; in xml_delete_assoc() 1336 puid = get_parent_uid(assoc); in xml_delete_assoc() 1340 i = get_index_by_otype(assoc->type); in xml_delete_assoc() 1343 match_uid = assoc->attrs[UID_ATTR_INDEX[assoc->type]].value.ui; in xml_delete_assoc() 1360 xmlArg1[i] == assoc->type) { in xml_delete_assoc()
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | forward.c | 265 associate(file_info_t *file, boolean_t assoc, port_event_t *ev) in associate() argument 277 if (assoc) { in associate() 327 if (assoc) { in associate()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sadb.h | 685 sadb_sa_t *assoc; member 913 mutex_enter(&assoc->ipsa_lock); \ 917 ipss = assoc->ipsa_netstack->netstack_ipsec; \ 922 mutex_exit(&assoc->ipsa_lock); \
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | cpuid.c | 7148 add_amd_assoc(dev_info_t *devi, const char *label, uint_t assoc) in add_amd_assoc() argument 7150 switch (assoc) { in add_amd_assoc() 7154 add_cache_prop(devi, label, assoc_str, assoc); in add_amd_assoc() 7163 add_amd_tlb(dev_info_t *devi, const char *label, uint_t assoc, uint_t size) in add_amd_tlb() argument 7168 add_amd_assoc(devi, label, assoc); in add_amd_tlb() 7173 uint_t size, uint_t assoc, uint_t lines_per_tag, uint_t line_size) in add_amd_cache() argument 7177 add_amd_assoc(devi, label, assoc); in add_amd_cache() 7191 add_amd_l2_assoc(dev_info_t *devi, const char *label, uint_t assoc) in add_amd_l2_assoc() argument 7193 switch (assoc) { in add_amd_l2_assoc() 7199 add_cache_prop(devi, label, assoc_str, assoc); in add_amd_l2_assoc() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.h | 744 uint32_t assoc; member 867 uint8_t assoc; member
|
H A D | audiohd.c | 551 uint8_t maxp, assoc; in audiohd_get_channels() local 557 assoc = i; in audiohd_get_channels() 561 statep->assoc = assoc; in audiohd_get_channels() 618 pin->assoc != statep->assoc) { in audiohd_init_play_path() 2719 pin->assoc = (config & AUDIOHD_PIN_ASO_MASK) >> AUDIOHD_PIN_ASO_OFF; in audiohd_get_pin_config() 2741 if (p->assoc > pin->assoc) in audiohd_get_pin_config() 2743 if ((p->assoc == pin->assoc) && in audiohd_get_pin_config() 3266 statep->chann[pin->assoc] += 2; in audiohd_do_build_output_path()
|
/illumos-gate/usr/src/cmd/isns/isnsadm/ |
H A D | isnsadm.c | 295 handle_association_info(xmlChar *name, association_t assoc) in handle_association_info() argument 303 if ((ret = build_assoc_xml_doc(name, assoc, &doc)) != 0) { in handle_association_info() 326 assoc)) != 0) { in handle_association_info() 615 process_get_assoc_response(xmlChar *doc, association_t assoc) in process_get_assoc_response() argument 644 ((assoc == node_to_dd) || (dd_to_node)) ? in process_get_assoc_response() 665 switch (assoc) { in process_get_assoc_response() 2034 build_assoc_xml_doc(xmlChar *name, association_t assoc, xmlChar **doc) in build_assoc_xml_doc() argument 2062 switch (assoc) { in build_assoc_xml_doc()
|