Home
last modified time | relevance | path

Searched refs:actp (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dsigaction.c43 sigaction(int sig, struct sigaction *actp, struct sigaction *oactp) in sigaction() argument
53 (actp != NULL && sigismember(&cantmask, sig))) in sigaction()
59 if (actp) { in sigaction()
63 if (copyin(actp, &act, sizeof (act))) in sigaction()
114 if (actp) { in sigaction()
136 sigaction32(int sig, struct sigaction32 *actp, struct sigaction32 *oactp) in sigaction32() argument
146 (actp != NULL && sigismember(&cantmask, sig))) in sigaction32()
152 if (actp) { in sigaction32()
156 if (copyin(actp, &act32, sizeof (act32))) in sigaction32()
207 if (actp) { in sigaction32()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dspdsock.c811 ipsec_act_t act, *actp, *endactp; in spdsock_ext_to_actvec() local
839 actp = kmem_alloc(sizeof (*actp) * nact, KM_NOSLEEP); in spdsock_ext_to_actvec()
840 if (actp == NULL) { in spdsock_ext_to_actvec()
844 *actpp = actp; in spdsock_ext_to_actvec()
846 endactp = actp + nact; in spdsock_ext_to_actvec()
864 if (actp >= endactp) { in spdsock_ext_to_actvec()
871 *actp++ = act; in spdsock_ext_to_actvec()
963 if (actp != endactp) { in spdsock_ext_to_actvec()
983 ipsec_selkey_t *sel, ipsec_act_t *actp, int nact, uint_t dir, uint_t af, in mkrule() argument
991 pol = ipsec_policy_create(sel, actp, nact, rule->spd_rule_priority, in mkrule()
[all …]
H A Dip.c6124 ipsec_act_t *actp = NULL; in ipsec_set_req() local
6237 ipsec_actvec_from_req(req, &actp, &nact, ipst->ips_netstack); in ipsec_set_req()
6238 if (actp == NULL) in ipsec_set_req()
6245 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V4, in ipsec_set_req()
6249 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V4, in ipsec_set_req()
6258 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V6, in ipsec_set_req()
6261 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V6, in ipsec_set_req()
6266 ipsec_actvec_free(actp, nact); in ipsec_set_req()
6293 if (actp != NULL) in ipsec_set_req()
6294 ipsec_actvec_free(actp, nact); in ipsec_set_req()
H A Dspd.c1370 ipsec_actvec_from_req(const ipsec_req_t *req, ipsec_act_t **actp, uint_t *nactp, in ipsec_actvec_from_req() argument
1383 *actp = ipsec_act_wildcard_expand(&act, nactp, ns); in ipsec_actvec_from_req()
3879 ipsec_polhead_insert(ipsec_policy_head_t *ph, ipsec_act_t *actp, uint_t nact, in ipsec_polhead_insert() argument
3888 if ((pol = ipsec_policy_create(&sel, actp, nact, IPSEC_PRIO_SOCKET, in ipsec_polhead_insert()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c337 struct spd_ext_actions *actp; in list_kernel_algs() local
400 actp = (struct spd_ext_actions *)exts[SPD_EXT_ACTION]; in list_kernel_algs()
401 start = (uint64_t *)actp; in list_kernel_algs()
402 end = (start + actp->spd_actions_len); in list_kernel_algs()
404 attr = (struct spd_attribute *)&actp[1]; in list_kernel_algs()
H A Dipsecconf.c594 struct spd_ext_actions *actp; in fetch_algorithms() local
653 actp = (struct spd_ext_actions *)exts[SPD_EXT_ACTION]; in fetch_algorithms()
654 start = (uint64_t *)actp; in fetch_algorithms()
655 end = (start + actp->spd_actions_len); in fetch_algorithms()
657 attr = (struct spd_attribute *)&actp[1]; in fetch_algorithms()
/titanic_41/usr/src/uts/common/inet/iptun/
H A Diptun.c938 iptun_insert_simple_policies(ipsec_policy_head_t *ph, ipsec_act_t *actp, in iptun_insert_simple_policies() argument
943 if (!ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_INBOUND, ns) || in iptun_insert_simple_policies()
944 !ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_OUTBOUND, ns)) in iptun_insert_simple_policies()
948 return (ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_INBOUND, ns) && in iptun_insert_simple_policies()
949 ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_OUTBOUND, ns)); in iptun_insert_simple_policies()
961 ipsec_act_t *actp = NULL; in iptun_set_sec_simple() local
994 ipsec_actvec_from_req(ipsr, &actp, &nact, ns); in iptun_set_sec_simple()
995 if (actp == NULL) { in iptun_set_sec_simple()
1039 if (iptun_insert_simple_policies(itp->itp_policy, actp, nact, ns)) { in iptun_set_sec_simple()
1069 if (actp != NULL) in iptun_set_sec_simple()
[all …]