Home
last modified time | relevance | path

Searched refs:mlptype (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dlabelsys.c871 tsol_mlp_anon(zone_t *zone, mlp_type_t mlptype, uchar_t proto, uint16_t port, in tsol_mlp_anon() argument
876 if (mlptype == mlptBoth || mlptype == mlptPrivate) in tsol_mlp_anon()
880 (mlptype == mlptBoth || mlptype == mlptShared)) { in tsol_mlp_anon()
1331 mlp_type_t mlptype) in tsol_mlp_port_type() argument
1335 if (mlptype == mlptBoth || mlptype == mlptPrivate) { in tsol_mlp_port_type()
1349 if (mlptype == mlptBoth) in tsol_mlp_port_type()
1350 mlptype = mlptShared; in tsol_mlp_port_type()
1351 else if (mlptype == mlptPrivate) in tsol_mlp_port_type()
1352 mlptype = mlptSingle; in tsol_mlp_port_type()
1355 if (mlptype == mlptBoth || mlptype == mlptShared) { in tsol_mlp_port_type()
[all …]
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c314 mlp_type_t addrtype, mlptype; in tcp_bind_select_lport() local
340 mlptype = mlptSingle; in tcp_bind_select_lport()
366 mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP, in tcp_bind_select_lport()
418 mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP, in tcp_bind_select_lport()
423 if (mlptype != mlptSingle) { in tcp_bind_select_lport()
439 if (mlptype == mlptShared && addrtype == mlptShared) { in tcp_bind_select_lport()
464 err = tsol_mlp_anon(zone, mlptype, connp->conn_proto, in tcp_bind_select_lport()
478 connp->conn_mlp_type = mlptype; in tcp_bind_select_lport()
489 (void) tsol_mlp_anon(zone, mlptype, connp->conn_proto, in tcp_bind_select_lport()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c640 mlp_type_t addrtype, mlptype; in sctp_bindi() local
675 mlptype = tsol_mlp_port_type(zone, IPPROTO_SCTP, in sctp_bindi()
677 if (mlptype != mlptSingle) { in sctp_bindi()
694 if (mlptype == mlptShared && in sctp_bindi()
702 connp->conn_mlp_type = mlptype; in sctp_bindi()
/titanic_41/usr/src/uts/common/inet/udp/
H A Dudp.c4832 mlp_type_t addrtype, mlptype; in udp_do_bind() local
5265 mlptype = tsol_mlp_port_type(zone, IPPROTO_UDP, mlpport, in udp_do_bind()
5272 if (mlptype != mlptSingle && in udp_do_bind()
5283 if (mlptype != mlptSingle && in udp_do_bind()
5301 if (mlptype == mlptShared && addrtype == mlptShared) { in udp_do_bind()
5326 error = tsol_mlp_anon(zone, mlptype, connp->conn_proto, in udp_do_bind()
5340 connp->conn_mlp_type = mlptype; in udp_do_bind()