Lines Matching refs:snp
2459 struct smk_net4addr *snp; in smack_ipv4host_label() local
2465 list_for_each_entry_rcu(snp, &smk_net4addr_list, list) in smack_ipv4host_label()
2471 if (snp->smk_host.s_addr == in smack_ipv4host_label()
2472 (siap->s_addr & snp->smk_mask.s_addr)) in smack_ipv4host_label()
2473 return snp->smk_label; in smack_ipv4host_label()
2509 struct smk_net6addr *snp; in smack_ipv6host_label() local
2520 list_for_each_entry_rcu(snp, &smk_net6addr_list, list) { in smack_ipv6host_label()
2525 if (snp->smk_label == NULL) in smack_ipv6host_label()
2533 if ((sap->s6_addr16[i] & snp->smk_mask.s6_addr16[i]) != in smack_ipv6host_label()
2534 snp->smk_host.s6_addr16[i]) { in smack_ipv6host_label()
2540 return snp->smk_label; in smack_ipv6host_label()