Searched refs:mlptype (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | labelsys.c | 869 tsol_mlp_anon(zone_t *zone, mlp_type_t mlptype, uchar_t proto, uint16_t port, in tsol_mlp_anon() argument 874 if (mlptype == mlptBoth || mlptype == mlptPrivate) in tsol_mlp_anon() 878 (mlptype == mlptBoth || mlptype == mlptShared)) { in tsol_mlp_anon() 1329 mlp_type_t mlptype) in tsol_mlp_port_type() argument 1333 if (mlptype == mlptBoth || mlptype == mlptPrivate) { in tsol_mlp_port_type() 1347 if (mlptype == mlptBoth) in tsol_mlp_port_type() 1348 mlptype = mlptShared; in tsol_mlp_port_type() 1349 else if (mlptype == mlptPrivate) in tsol_mlp_port_type() 1350 mlptype = mlptSingle; in tsol_mlp_port_type() 1353 if (mlptype == mlptBoth || mlptype == mlptShared) { in tsol_mlp_port_type() [all …]
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_bind.c | 316 mlp_type_t addrtype, mlptype; in tcp_bind_select_lport() local 343 mlptype = mlptSingle; in tcp_bind_select_lport() 369 mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP, in tcp_bind_select_lport() 421 mlptype = tsol_mlp_port_type(zone, IPPROTO_TCP, in tcp_bind_select_lport() 426 if (mlptype != mlptSingle) { in tcp_bind_select_lport() 442 if (mlptype == mlptShared && addrtype == mlptShared) { in tcp_bind_select_lport() 467 err = tsol_mlp_anon(zone, mlptype, connp->conn_proto, in tcp_bind_select_lport() 481 connp->conn_mlp_type = mlptype; in tcp_bind_select_lport() 492 (void) tsol_mlp_anon(zone, mlptype, connp->conn_proto, in tcp_bind_select_lport()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_bind.c | 640 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()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 4986 mlp_type_t addrtype, mlptype; in udp_do_bind() local 5421 mlptype = tsol_mlp_port_type(zone, IPPROTO_UDP, mlpport, in udp_do_bind() 5428 if (mlptype != mlptSingle && in udp_do_bind() 5439 if (mlptype != mlptSingle && in udp_do_bind() 5457 if (mlptype == mlptShared && addrtype == mlptShared) { in udp_do_bind() 5482 error = tsol_mlp_anon(zone, mlptype, connp->conn_proto, in udp_do_bind() 5496 connp->conn_mlp_type = mlptype; in udp_do_bind()
|