| /freebsd-11-stable/sys/security/mac/ |
| HD | mac_inet.c | 207 struct label *mlabel, *fraglabel; in mac_netinet_fragment() local 212 mlabel = mac_mbuf_to_label(m); in mac_netinet_fragment() 215 MAC_POLICY_PERFORM_NOSLEEP(netinet_fragment, m, mlabel, frag, in mac_netinet_fragment() 235 struct label *mlabel; in mac_inpcb_create_mbuf() local 242 mlabel = mac_mbuf_to_label(m); in mac_inpcb_create_mbuf() 245 mlabel); in mac_inpcb_create_mbuf() 268 struct label *mlabel; in mac_netinet_arp_send() local 273 mlabel = mac_mbuf_to_label(m); in mac_netinet_arp_send() 277 mlabel); in mac_netinet_arp_send() 312 struct label *mlabel; in mac_netinet_igmp_send() local [all …]
|
| HD | mac_policy.h | 130 struct label *mlabel); 196 struct label *mlabel); 203 struct label *mlabel); 215 struct label *mlabel); 223 struct label *mlabel); 230 typedef void (*mpo_ip6q_create_t)(struct mbuf *m, struct label *mlabel, 234 typedef int (*mpo_ip6q_match_t)(struct mbuf *m, struct label *mlabel, 237 struct mbuf *m, struct label *mlabel); 238 typedef void (*mpo_ip6q_update_t)(struct mbuf *m, struct label *mlabel, 241 typedef void (*mpo_ipq_create_t)(struct mbuf *m, struct label *mlabel, [all …]
|
| HD | mac_inet6.c | 179 struct label *mlabel; in mac_netinet6_nd6_send() local 184 mlabel = mac_mbuf_to_label(m); in mac_netinet6_nd6_send() 187 mlabel); in mac_netinet6_nd6_send()
|
| /freebsd-11-stable/sys/security/mac_stub/ |
| HD | mac_stub.c | 186 struct mbuf *m, struct label *mlabel) in stub_bpfdesc_create_mbuf() argument 363 struct mbuf *m, struct label *mlabel) in stub_ifnet_check_transmit() argument 377 struct mbuf *m, struct label *mlabel) in stub_ifnet_create_mbuf() argument 391 struct mbuf *m, struct label *mlabel) in stub_inpcb_check_deliver() argument 406 struct mbuf *m, struct label *mlabel) in stub_inpcb_create_mbuf() argument 421 stub_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_create() argument 428 stub_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_match() argument 437 struct label *mlabel) in stub_ip6q_reassemble() argument 443 stub_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_update() argument 450 stub_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_create() argument [all …]
|
| /freebsd-11-stable/sys/security/mac_lomac/ |
| HD | mac_lomac.c | 900 struct mbuf *m, struct label *mlabel) in lomac_bpfdesc_create_mbuf() argument 905 dest = SLOT(mlabel); in lomac_bpfdesc_create_mbuf() 1157 struct mbuf *m, struct label *mlabel) in lomac_ifnet_check_transmit() argument 1164 p = SLOT(mlabel); in lomac_ifnet_check_transmit() 1230 struct mbuf *m, struct label *mlabel) in lomac_ifnet_create_mbuf() argument 1235 dest = SLOT(mlabel); in lomac_ifnet_create_mbuf() 1254 struct mbuf *m, struct label *mlabel) in lomac_inpcb_check_deliver() argument 1261 p = SLOT(mlabel); in lomac_inpcb_check_deliver() 1299 struct mbuf *m, struct label *mlabel) in lomac_inpcb_create_mbuf() argument 1304 dest = SLOT(mlabel); in lomac_inpcb_create_mbuf() [all …]
|
| /freebsd-11-stable/sys/security/mac_mls/ |
| HD | mac_mls.c | 769 struct mbuf *m, struct label *mlabel) in mls_bpfdesc_create_mbuf() argument 774 dest = SLOT(mlabel); in mls_bpfdesc_create_mbuf() 1005 struct mbuf *m, struct label *mlabel) in mls_ifnet_check_transmit() argument 1012 p = SLOT(mlabel); in mls_ifnet_check_transmit() 1037 struct mbuf *m, struct label *mlabel) in mls_ifnet_create_mbuf() argument 1042 dest = SLOT(mlabel); in mls_ifnet_create_mbuf() 1061 struct mbuf *m, struct label *mlabel) in mls_inpcb_check_deliver() argument 1068 p = SLOT(mlabel); in mls_inpcb_check_deliver() 1106 struct mbuf *m, struct label *mlabel) in mls_inpcb_create_mbuf() argument 1111 dest = SLOT(mlabel); in mls_inpcb_create_mbuf() [all …]
|
| /freebsd-11-stable/sys/security/mac_biba/ |
| HD | mac_biba.c | 804 struct mbuf *m, struct label *mlabel) in biba_bpfdesc_create_mbuf() argument 809 dest = SLOT(mlabel); in biba_bpfdesc_create_mbuf() 1043 struct mbuf *m, struct label *mlabel) in biba_ifnet_check_transmit() argument 1050 p = SLOT(mlabel); in biba_ifnet_check_transmit() 1115 struct mbuf *m, struct label *mlabel) in biba_ifnet_create_mbuf() argument 1120 dest = SLOT(mlabel); in biba_ifnet_create_mbuf() 1139 struct mbuf *m, struct label *mlabel) in biba_inpcb_check_deliver() argument 1146 p = SLOT(mlabel); in biba_inpcb_check_deliver() 1186 struct mbuf *m, struct label *mlabel) in biba_inpcb_create_mbuf() argument 1191 dest = SLOT(mlabel); in biba_inpcb_create_mbuf() [all …]
|
| /freebsd-11-stable/sys/security/mac_test/ |
| HD | mac_test.c | 188 struct mbuf *m, struct label *mlabel) in test_bpfdesc_create_mbuf() argument 192 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_bpfdesc_create_mbuf() 548 struct mbuf *m, struct label *mlabel) in test_ifnet_check_transmit() argument 552 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_ifnet_check_transmit() 580 struct mbuf *m, struct label *mlabel) in test_ifnet_create_mbuf() argument 584 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_ifnet_create_mbuf() 645 struct mbuf *m, struct label *mlabel) in test_inpcb_check_deliver() argument 649 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_inpcb_check_deliver() 684 struct mbuf *m, struct label *mlabel) in test_inpcb_create_mbuf() argument 688 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_inpcb_create_mbuf() [all …]
|
| /freebsd-11-stable/sys/security/mac_ifoff/ |
| HD | mac_ifoff.c | 133 struct mbuf *m, struct label *mlabel) in ifoff_ifnet_check_transmit() argument 141 struct mbuf *m, struct label *mlabel) in ifoff_inpcb_check_deliver() argument 153 struct mbuf *m, struct label *mlabel) in ifoff_socket_check_deliver() argument
|