/titanic_44/usr/src/uts/common/sys/tsol/ |
H A D | label.h | 106 } ts_label_t; typedef 128 extern ts_label_t *l_admin_low; 129 extern ts_label_t *l_admin_high; 134 extern ts_label_t *labelalloc(const m_label_t *, uint32_t, int); 135 extern ts_label_t *labeldup(const ts_label_t *, int); 136 extern void label_hold(ts_label_t *); 137 extern void label_rele(ts_label_t *); 138 extern m_label_t *label2bslabel(ts_label_t *); 139 extern uint32_t label2doi(ts_label_t *); 140 extern boolean_t label_equal(const ts_label_t *, const ts_label_t *); [all …]
|
H A D | tnet.h | 49 extern int tsol_check_dest(const ts_label_t *, const void *, uchar_t, 50 uint_t, boolean_t, ts_label_t **); 51 extern int tsol_compute_label_v4(const ts_label_t *, zoneid_t, ipaddr_t, 53 extern int tsol_compute_label_v6(const ts_label_t *, zoneid_t, 55 extern int tsol_check_label_v4(const ts_label_t *, zoneid_t, mblk_t **, 56 uint_t, boolean_t, ip_stack_t *, ts_label_t **); 57 extern int tsol_check_label_v6(const ts_label_t *, zoneid_t, mblk_t **, 58 uint_t, boolean_t, ip_stack_t *, ts_label_t **); 79 extern int tsol_ire_match_gwattr(ire_t *, const ts_label_t *);
|
/titanic_44/usr/src/uts/common/os/ |
H A D | tlabel.c | 53 ts_label_t *l_admin_low; 54 ts_label_t *l_admin_high; 74 tslabel_cache = kmem_cache_create("tslabel_cache", sizeof (ts_label_t), in label_init() 85 ts_label_t * 88 ts_label_t *lab = kmem_cache_alloc(tslabel_cache, flag); in labelalloc() 106 ts_label_t * 107 labeldup(const ts_label_t *val, int flag) in labeldup() 109 ts_label_t *lab = kmem_cache_alloc(tslabel_cache, flag); in labeldup() 112 bcopy(val, lab, sizeof (ts_label_t)); in labeldup() 122 label_hold(ts_label_t *lab) in label_hold() [all …]
|
H A D | cred.c | 923 ts_label_t *tslp; in cred2uclabel() 943 ts_label_t *tslp = is_system_labeled() ? crgetlabel(cr) : NULL; in cred2ucred() 1106 ts_label_t *lbl = labelalloc(blabel, doi, flags); in newcred_from_bslabel() 1126 copycred_from_tslabel(const cred_t *cr, ts_label_t *label, int flags) in copycred_from_tslabel() 1147 ts_label_t *lbl = labelalloc(blabel, doi, flags); in copycred_from_bslabel()
|
H A D | zone.c | 2034 const ts_label_t *lab = (ts_label_t *)key; in hash_bylabel() 2063 ts_label_t *lab1 = (ts_label_t *)key1; in hash_labelkey_cmp() 2064 ts_label_t *lab2 = (ts_label_t *)key2; in hash_labelkey_cmp() 2904 zone_find_all_by_label(const ts_label_t *label) in zone_find_all_by_label() 2970 zone_find_by_label(const ts_label_t *label) in zone_find_by_label() 4184 ts_label_t *tsl; in zone_set_label()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 291 tsol_check_dest(const ts_label_t *tsl, const void *dst, in tsol_check_dest() 293 ts_label_t **effective_tsl) in tsol_check_dest() 295 ts_label_t *newtsl = NULL; in tsol_check_dest() 317 ipaddr_t, dst, ts_label_t *, tsl); in tsol_check_dest() 357 tsol_tpc_t *, dst_rhtp, ts_label_t *, tsl); in tsol_check_dest() 371 tsol_tpc_t *, dst_rhtp, ts_label_t *, tsl); in tsol_check_dest() 413 tsol_tpc_t *, dst_rhtp, ts_label_t *, tsl); in tsol_check_dest() 468 tsol_compute_label_v4(const ts_label_t *tsl, zoneid_t zoneid, ipaddr_t dst, in tsol_compute_label_v4() 505 "with label(2).", ipaddr_t, dst, ts_label_t *, tsl); in tsol_compute_label_v4() 537 ipaddr_t, dst, ts_label_t *, tsl); in tsol_compute_label_v4() [all …]
|
H A D | tnet.c | 868 ts_label_t *plabel, *conn_plabel; in tsol_receive_local() 1032 ts_label_t *plabel = NULL; in tsol_can_accept_raw() 1127 ts_label_t *plabel = NULL; in tsol_can_reply_error() 1152 mblk_t *, mp, ts_label_t *, plabel); in tsol_can_reply_error() 1220 ts_label_t *label; in tsol_attr_to_zoneid() 1235 tsol_ire_match_gwattr(ire_t *ire, const ts_label_t *tsl) in tsol_ire_match_gwattr() 1263 "label(2)", ire_t *, ire, ts_label_t *, tsl); in tsol_ire_match_gwattr() 1362 ire_t *, ire, ts_label_t *, tsl); in tsol_ire_match_gwattr() 1386 ire_t *, ire, ts_label_t *, tsl); in tsol_ire_match_gwattr() 1408 ire_t *, ire, ts_label_t *, tsl, in tsol_ire_match_gwattr() [all …]
|
H A D | ip6_ire.c | 71 zoneid_t zoneid, const ts_label_t *tsl, int flags, 688 const ts_label_t *tsl, int match_flags) in ire_match_args_v6() 879 const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) in ire_gateway_ok_zone_v6() 918 zoneid_t zoneid, const ts_label_t *tsl, int flags, in ire_ftable_lookup_v6() 1020 zoneid_t zoneid, const ts_label_t *tsl, int flags, in ire_ftable_lookup_impl_v6() 1166 zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, in ire_route_recursive_impl_v6() 1454 const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, in ire_route_recursive_v6()
|
H A D | ip_sadb.c | 61 ipsec_label_match(ts_label_t *l1, ts_label_t *l2) in ipsec_label_match() 98 uint32_t *dst, sa_family_t af, uint8_t protocol, ts_label_t *tsl) in ipsec_getassocbyconn()
|
H A D | ip_attr.c | 153 ts_label_t *ixm_tsl; /* Refhold if set. */ 215 ts_label_t *irm_tsl; /* Refhold if set. */ 982 ip_xmit_attr_replace_tsl(ip_xmit_attr_t *ixa, ts_label_t *tsl) in ip_xmit_attr_replace_tsl() 1002 ip_recv_attr_replace_label(ip_recv_attr_t *ira, ts_label_t *tsl) in ip_recv_attr_replace_label()
|
H A D | ip_rts.c | 96 const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire, 100 const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, 306 ts_label_t *tsl = NULL; in ip_rts_request_common() 982 const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, in ire_lookup_v4() 1066 const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, in ire_lookup_v6()
|
H A D | ip_ftable.c | 96 int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, in ire_ftable_lookup_v4() 1400 zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, in ire_route_recursive_impl_v4() 1696 zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, in ire_route_recursive_v4()
|
H A D | sadb.c | 84 static ts_label_t *sadb_label_from_sens(sadb_sens_t *, uint64_t *); 85 static sadb_sens_t *sadb_make_sens_ext(ts_label_t *tsl, int *len); 3453 ts_label_t *tsl, *effective_tsl; 4807 uint64_t unique_id, ts_label_t *tsl) 4876 ts_label_t *tsl = NULL; 5398 sadb_sens_len_from_label(ts_label_t *tsl) 5405 sadb_sens_from_label(sadb_sens_t *sens, int exttype, ts_label_t *tsl, 5432 sadb_make_sens_ext(ts_label_t *tsl, int *len) 5451 ts_label_t * 5456 ts_label_t *tsl;
|
H A D | ip_ire.c | 1862 const ts_label_t *tsl, int match_flags) in ire_match_args() 2039 ire_alt_local(ire_t *ire, zoneid_t zoneid, const ts_label_t *tsl, in ire_alt_local() 2135 const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) in ire_gateway_ok_zone_v4()
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | ip_ire.h | 123 const ts_label_t *ift_tsl; 190 const ts_label_t *, ip_stack_t *, boolean_t); 192 const ts_label_t *, ip_stack_t *, boolean_t); 194 extern ire_t *ire_alt_local(ire_t *, zoneid_t, const ts_label_t *, 261 zoneid_t, const ts_label_t *, uint_t, uint_t, uint32_t, ip_stack_t *, 264 const ill_t *, zoneid_t, const ts_label_t *, uint_t, uint_t, uint32_t, 271 const ill_t *, zoneid_t, const ts_label_t *, uint_t, uint_t, uint32_t, 274 uint_t, const ill_t *, zoneid_t, const ts_label_t *, uint_t, uint_t, 340 const ts_label_t *, int);
|
H A D | sadb.h | 317 ts_label_t *ipsa_tsl; /* MLS: label attributes */ 318 ts_label_t *ipsa_otsl; /* MLS: outer label */ 531 ts_label_t *ipsacq_tsl; 727 sa_family_t, uint8_t, ts_label_t *); 903 extern int sadb_sens_len_from_label(ts_label_t *); 904 extern void sadb_sens_from_label(sadb_sens_t *, int, ts_label_t *, int);
|
H A D | ipsec_impl.h | 1018 extern boolean_t ipsec_label_match(ts_label_t *, ts_label_t *);
|
H A D | ip.h | 2183 ts_label_t *ixa_tsl; /* Always set. NULL if not TX */ 2337 ts_label_t *ira_tsl; /* Always set. NULL if not TX */ 3320 extern void ip_xmit_attr_replace_tsl(ip_xmit_attr_t *, ts_label_t *); 3322 boolean_t ip_recv_attr_replace_label(ip_recv_attr_t *, ts_label_t *);
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | zone.h | 531 ts_label_t *zone_slabel; /* zone sensitivity label */ 638 extern zone_t *zone_find_by_label(const ts_label_t *);
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 951 ts_label_t *zlabel; in smbfs_mount_label_policy() 953 ts_label_t *tsl = NULL; in smbfs_mount_label_policy()
|
/titanic_44/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2092 ts_label_t *tsl) in iptun_sendicmp_v4() 2149 ts_label_t *tsl) in iptun_sendicmp_v6() 2202 uint8_t type, uint8_t code, ts_label_t *tsl) in iptun_icmp_error_v4() 2215 mblk_t *mp, ts_label_t *tsl) in iptun_icmp_fragneeded_v4() 2229 uint8_t type, uint8_t code, uint32_t offset, ts_label_t *tsl) in iptun_icmp_error_v6() 2244 mblk_t *mp, ts_label_t *tsl) in iptun_icmp_toobig_v6() 3292 ts_label_t *effective_tsl = NULL; in iptun_output_check_label()
|
/titanic_44/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 194 ts_label_t *tsl; in udp_snmp_get()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 3217 ts_label_t * 3221 ts_label_t *zone_label; in nfs_getflabel() 3264 ts_label_t *tslabel; in do_rfs_label_check()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 779 ts_label_t *tsl; in sctp_snmp_get_mib2()
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 225 ts_label_t *tsl; in tcp_snmp_get()
|