Home
last modified time | relevance | path

Searched refs:smk_host (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/security/smack/
Dsmack.h148 struct in_addr smk_host; /* network address */ member
159 struct in6_addr smk_host; /* network address */ member
Dsmackfs.c1064 seq_printf(s, "%pI4/%d %s\n", &skp->smk_host.s_addr, in net4addr_seq_show()
1239 if (snp->smk_host.s_addr == nsa && snp->smk_masks == masks) { in smk_write_net4addr()
1252 snp->smk_host.s_addr = newname.sin_addr.s_addr; in smk_write_net4addr()
1265 &snp->smk_host, &snp->smk_mask, in smk_write_net4addr()
1279 &snp->smk_host, &snp->smk_mask, PF_INET, in smk_write_net4addr()
1328 seq_printf(s, "%pI6/%d %s\n", &skp->smk_host, skp->smk_masks, in net6addr_seq_show()
1516 snp->smk_host.s6_addr16[i]) { in smk_write_net6addr()
1529 snp->smk_host = newname; in smk_write_net6addr()
Dsmack_lsm.c2310 if (snp->smk_host.s_addr == in smack_ipv4host_label()
2373 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label()