Home
last modified time | relevance | path

Searched refs:conn_cred (Results 1 – 21 of 21) sorted by relevance

/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c77 crgetzone(connp->conn_cred), sctps); in sctp_select_port()
110 if (secpolicy_net_privaddr(connp->conn_cred, in sctp_select_port()
159 connp->conn_ixa->ixa_cred = connp->conn_cred; in sctp_listen()
162 connp->conn_ixa->ixa_tsl = crgetlabel(connp->conn_cred); in sctp_listen()
549 zone_t *zone = crgetzone(connp->conn_cred); in sctp_bindi()
679 conn_cred) != 0) { in sctp_bindi()
H A Dsctp_conn.c270 ixa->ixa_tsl = crgetlabel(econnp->conn_cred); in sctp_conn_request()
456 if (connp->conn_cred != cr) { in sctp_connect()
458 crfree(connp->conn_cred); in sctp_connect()
459 connp->conn_cred = cr; in sctp_connect()
H A Dsctp_opt_data.c213 ispriv = secpolicy_ip_config(connp->conn_cred, B_TRUE) == 0; in sctp_set_rtoinfo()
376 (secpolicy_ip_config(connp->conn_cred, B_TRUE) != 0 && in sctp_set_initmsg()
816 sctp_opt_arr_size, B_FALSE, B_TRUE, connp->conn_cred); in sctp_get_opt()
1071 sctp_opt_arr_size, B_TRUE, B_FALSE, connp->conn_cred); in sctp_set_opt()
1324 B_FALSE, connp->conn_cred); in sctp_set_opt()
H A Dsctp.c215 if ((credp = psctp->sctp_connp->conn_cred) != NULL) { in sctp_create_eager()
216 connp->conn_cred = credp; in sctp_create_eager()
1444 ASSERT(connp->conn_cred == NULL); in sctp_create()
1452 connp->conn_cred = credp; in sctp_create()
H A Dsctp_cookie.c654 ixa->ixa_tsl = crgetlabel(connp->conn_cred); in sctp_send_initack()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dicmp.c855 if (connp->conn_cred != cr) { in rawip_do_connect()
857 crfree(connp->conn_cred); in rawip_do_connect()
858 connp->conn_cred = cr; in rawip_do_connect()
1777 connp->conn_cred = credp; in rawip_do_open()
1782 connp->conn_ixa->ixa_cred = connp->conn_cred; in rawip_do_open()
1785 connp->conn_ixa->ixa_tsl = crgetlabel(connp->conn_cred); in rawip_do_open()
3061 ixa->ixa_cred = connp->conn_cred; /* Restore */ in icmp_output_hdrincl()
3297 ixa->ixa_cred = connp->conn_cred; /* Restore */ in icmp_output_hdrincl()
3379 ixa->ixa_cred = connp->conn_cred; /* Restore */ in icmp_output_ancillary()
3638 ixa->ixa_cred = connp->conn_cred; /* Restore */ in icmp_output_ancillary()
[all …]
H A Dconn_opt.c522 cred_t *rcr = connp->conn_cred; in conn_recvancillary_add()
2881 ASSERT(lconnp->conn_cred != NULL); in conn_inherit_parent()
2882 econnp->conn_cred = credp = lconnp->conn_cred; in conn_inherit_parent()
2892 econnp->conn_ixa->ixa_cred = econnp->conn_cred; in conn_inherit_parent()
2895 econnp->conn_ixa->ixa_tsl = crgetlabel(econnp->conn_cred); in conn_inherit_parent()
H A Drts.c365 connp->conn_cred = credp; in rts_open()
369 connp->conn_ixa->ixa_cred = connp->conn_cred; in rts_open()
372 connp->conn_ixa->ixa_tsl = crgetlabel(connp->conn_cred); in rts_open()
H A Dipclassifier.c642 if (connp->conn_cred != NULL) { in ipcl_conn_destroy()
643 crfree(connp->conn_cred); in ipcl_conn_destroy()
644 connp->conn_cred = NULL; in ipcl_conn_destroy()
2200 ASSERT(connp->conn_cred == NULL); in ipcl_conn_cleanup()
H A Dtnet.c894 crgetzone(credp) == crgetzone(connp->conn_cred)) in tsol_receive_local()
898 conn_plabel = crgetlabel(connp->conn_cred); in tsol_receive_local()
H A Dip.c3332 (void) tsol_mlp_anon(crgetzone(connp->conn_cred), in ip_laddr_fanout_insert()
4191 (void) tsol_mlp_anon(crgetzone(connp->conn_cred), in ip_quiesce_conn()
6062 connp->conn_cred = credp; in ip_open()
6066 connp->conn_ixa->ixa_cred = connp->conn_cred; in ip_open()
6069 connp->conn_ixa->ixa_tsl = crgetlabel(connp->conn_cred); in ip_open()
6077 crhold(connp->conn_cred); in ip_open()
11518 (void) tsol_mlp_anon(crgetzone(connp->conn_cred), in ip_unbind()
/titanic_44/usr/src/uts/common/inet/iptun/
H A Diptun_dev.c94 (void) iptun_delete(linkid, iptun->iptun_connp->conn_cred); in iptun_stack_shutdown()
H A Diptun.c1251 connp->conn_cred = credp; in iptun_conn_create()
1253 crhold(connp->conn_cred); in iptun_conn_create()
1262 connp->conn_ixa->ixa_cred = connp->conn_cred; in iptun_conn_create()
1265 connp->conn_ixa->ixa_tsl = crgetlabel(connp->conn_cred); in iptun_conn_create()
2135 ixas.ixa_cred = connp->conn_cred; in iptun_sendicmp_v4()
2188 ixas.ixa_cred = connp->conn_cred; in iptun_sendicmp_v6()
/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp.c376 (nextport = tsol_next_port(crgetzone(udp->udp_connp->conn_cred), in udp_get_next_priv_port()
2584 (nextport = tsol_next_port(crgetzone(udp->udp_connp->conn_cred), in udp_update_next_port()
2649 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_ancillary()
2892 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_ancillary()
2936 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_connected()
2994 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_connected()
3032 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_connected()
3067 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_lastdst()
3125 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_lastdst()
3175 ixa->ixa_cred = connp->conn_cred; /* Restore */ in udp_output_lastdst()
[all …]
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c1018 if (econnp->conn_cred != NULL) in tcp_accept_swap()
1019 crfree(econnp->conn_cred); in tcp_accept_swap()
1020 econnp->conn_cred = aconnp->conn_cred; in tcp_accept_swap()
1022 econnp->conn_ixa->ixa_cred = econnp->conn_cred; in tcp_accept_swap()
1023 aconnp->conn_cred = NULL; in tcp_accept_swap()
H A Dtcp_bind.c269 (i = tsol_next_port(crgetzone(tcp->tcp_connp->conn_cred), port, in tcp_update_next_port()
301 (nextport = tsol_next_port(crgetzone(tcp->tcp_connp->conn_cred), in tcp_get_next_priv_port()
H A Dtcp.c545 if (connp->conn_cred != NULL) { in tcp_cleanup()
546 crfree(connp->conn_cred); in tcp_cleanup()
547 connp->conn_cred = NULL; in tcp_cleanup()
2692 connp->conn_cred = credp; in tcp_create_common()
4160 if (connp->conn_cred != cr) { in tcp_do_connect()
4162 crfree(connp->conn_cred); in tcp_do_connect()
4163 connp->conn_cred = cr; in tcp_do_connect()
H A Dtcp_fusion.c596 tcp->tcp_connp->conn_cred); in tcp_fuse_output()
H A Dtcp_stats.c164 secpolicy_ip_config((Q_TO_CONN(q))->conn_cred, B_TRUE) == 0; in tcp_snmp_get()
H A Dtcp_input.c1620 ixa->ixa_tsl = crgetlabel(econnp->conn_cred); in tcp_input_listener()
/titanic_44/usr/src/uts/common/inet/
H A Dipclassifier.h313 cred_t *conn_cred; /* Credentials */ member