| /src/sys/security/mac/ |
| H A D | mac_inet.c | 216 struct label *mlabel, *fraglabel; in mac_netinet_fragment() local 221 mlabel = mac_mbuf_to_label(m); in mac_netinet_fragment() 224 MAC_POLICY_PERFORM_NOSLEEP(netinet_fragment, m, mlabel, frag, in mac_netinet_fragment() 244 struct label *mlabel; in mac_inpcb_create_mbuf() local 251 mlabel = mac_mbuf_to_label(m); in mac_inpcb_create_mbuf() 254 mlabel); in mac_inpcb_create_mbuf() 277 struct label *mlabel; in mac_netinet_arp_send() local 283 mlabel = mac_mbuf_to_label(m); in mac_netinet_arp_send() 287 m, mlabel); in mac_netinet_arp_send() 322 struct label *mlabel; in mac_netinet_igmp_send() local [all …]
|
| H A D | mac_policy.h | 137 struct label *mlabel); 213 struct label *mlabel); 220 struct label *mlabel); 232 struct label *mlabel); 240 struct label *mlabel); 247 typedef void (*mpo_ip6q_create_t)(struct mbuf *m, struct label *mlabel, 251 typedef int (*mpo_ip6q_match_t)(struct mbuf *m, struct label *mlabel, 254 struct mbuf *m, struct label *mlabel); 255 typedef void (*mpo_ip6q_update_t)(struct mbuf *m, struct label *mlabel, 264 typedef void (*mpo_ipq_create_t)(struct mbuf *m, struct label *mlabel, [all …]
|
| H A D | mac_inet6.c | 188 struct label *mlabel; in mac_netinet6_nd6_send() local 193 mlabel = mac_mbuf_to_label(m); in mac_netinet6_nd6_send() 196 mlabel); in mac_netinet6_nd6_send()
|
| /src/sys/security/mac_stub/ |
| H A D | mac_stub.c | 187 struct mbuf *m, struct label *mlabel) in stub_bpfdesc_create_mbuf() argument 397 struct mbuf *m, struct label *mlabel) in stub_ifnet_check_transmit() argument 411 struct mbuf *m, struct label *mlabel) in stub_ifnet_create_mbuf() argument 425 struct mbuf *m, struct label *mlabel) in stub_inpcb_check_deliver() argument 440 struct mbuf *m, struct label *mlabel) in stub_inpcb_create_mbuf() argument 455 stub_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_create() argument 462 stub_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_match() argument 471 struct label *mlabel) in stub_ip6q_reassemble() argument 477 stub_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_update() argument 484 stub_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_create() argument [all …]
|
| /src/sys/security/mac_lomac/ |
| H A D | mac_lomac.c | 908 struct mbuf *m, struct label *mlabel) in lomac_bpfdesc_create_mbuf() argument 913 dest = SLOT(mlabel); in lomac_bpfdesc_create_mbuf() 1165 struct mbuf *m, struct label *mlabel) in lomac_ifnet_check_transmit() argument 1172 p = SLOT(mlabel); in lomac_ifnet_check_transmit() 1238 struct mbuf *m, struct label *mlabel) in lomac_ifnet_create_mbuf() argument 1243 dest = SLOT(mlabel); in lomac_ifnet_create_mbuf() 1262 struct mbuf *m, struct label *mlabel) in lomac_inpcb_check_deliver() argument 1269 p = SLOT(mlabel); in lomac_inpcb_check_deliver() 1307 struct mbuf *m, struct label *mlabel) in lomac_inpcb_create_mbuf() argument 1312 dest = SLOT(mlabel); in lomac_inpcb_create_mbuf() [all …]
|
| /src/sys/security/mac_biba/ |
| H A D | mac_biba.c | 802 struct mbuf *m, struct label *mlabel) in biba_bpfdesc_create_mbuf() argument 807 dest = SLOT(mlabel); in biba_bpfdesc_create_mbuf() 1041 struct mbuf *m, struct label *mlabel) in biba_ifnet_check_transmit() argument 1048 p = SLOT(mlabel); in biba_ifnet_check_transmit() 1113 struct mbuf *m, struct label *mlabel) in biba_ifnet_create_mbuf() argument 1118 dest = SLOT(mlabel); in biba_ifnet_create_mbuf() 1137 struct mbuf *m, struct label *mlabel) in biba_inpcb_check_deliver() argument 1144 p = SLOT(mlabel); in biba_inpcb_check_deliver() 1184 struct mbuf *m, struct label *mlabel) in biba_inpcb_create_mbuf() argument 1189 dest = SLOT(mlabel); in biba_inpcb_create_mbuf() [all …]
|
| /src/sys/security/mac_mls/ |
| H A D | mac_mls.c | 766 struct mbuf *m, struct label *mlabel) in mls_bpfdesc_create_mbuf() argument 771 dest = SLOT(mlabel); in mls_bpfdesc_create_mbuf() 1002 struct mbuf *m, struct label *mlabel) in mls_ifnet_check_transmit() argument 1009 p = SLOT(mlabel); in mls_ifnet_check_transmit() 1034 struct mbuf *m, struct label *mlabel) in mls_ifnet_create_mbuf() argument 1039 dest = SLOT(mlabel); in mls_ifnet_create_mbuf() 1058 struct mbuf *m, struct label *mlabel) in mls_inpcb_check_deliver() argument 1065 p = SLOT(mlabel); in mls_inpcb_check_deliver() 1103 struct mbuf *m, struct label *mlabel) in mls_inpcb_create_mbuf() argument 1108 dest = SLOT(mlabel); in mls_inpcb_create_mbuf() [all …]
|
| /src/sys/security/mac_test/ |
| H A D | mac_test.c | 190 struct mbuf *m, struct label *mlabel) in test_bpfdesc_create_mbuf() argument 194 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_bpfdesc_create_mbuf() 598 struct mbuf *m, struct label *mlabel) in test_ifnet_check_transmit() argument 602 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_ifnet_check_transmit() 630 struct mbuf *m, struct label *mlabel) in test_ifnet_create_mbuf() argument 634 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_ifnet_create_mbuf() 695 struct mbuf *m, struct label *mlabel) in test_inpcb_check_deliver() argument 699 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_inpcb_check_deliver() 734 struct mbuf *m, struct label *mlabel) in test_inpcb_create_mbuf() argument 738 LABEL_CHECK(mlabel, MAGIC_MBUF); in test_inpcb_create_mbuf() [all …]
|
| /src/sys/security/mac_ifoff/ |
| H A D | mac_ifoff.c | 130 struct mbuf *m, struct label *mlabel) in ifoff_ifnet_check_transmit() argument 138 struct mbuf *m, struct label *mlabel) in ifoff_inpcb_check_deliver() argument 150 struct mbuf *m, struct label *mlabel) in ifoff_socket_check_deliver() argument
|