• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netlabel/

Lines Matching refs:secattr

400  * netlbl_secattr_catmap_walk - Walk a LSM secattr catmap looking for a bit
405 * This function walks a LSM secattr category bitmap starting at @offset and
461 * This function walks a LSM secattr category bitmap starting at @offset and
515 * netlbl_secattr_catmap_setbit - Set a bit in a LSM secattr catmap
553 * netlbl_secattr_catmap_setrng - Set a range of bits in a LSM secattr catmap
619 * @secattr: the security attributes
623 * specified in @secattr. This function requires exclusive access to @sk,
632 const struct netlbl_lsm_secattr *secattr)
638 dom_entry = netlbl_domhsh_getentry(secattr->domain);
652 secattr);
694 * @secattr: the security attributes
699 * security attributes in @secattr. Returns zero on success, negative values
704 struct netlbl_lsm_secattr *secattr)
710 ret_val = cipso_v4_sock_getattr(sk, secattr);
728 * @secattr: the security attributes
732 * attributes specified in @secattr. The caller is responsible for ensuring
738 const struct netlbl_lsm_secattr *secattr)
748 af4_entry = netlbl_domhsh_getentry_af4(secattr->domain,
758 secattr);
789 * @secattr: the security attributes
793 * specified in @secattr. Returns zero on success, negative values on failure.
797 const struct netlbl_lsm_secattr *secattr)
806 dom_entry = netlbl_domhsh_getentry(secattr->domain);
815 af4_entry = netlbl_domhsh_getentry_af4(secattr->domain,
829 ret_val = cipso_v4_req_setattr(req, proto_cv4, secattr);
874 * @secattr: the security attributes
878 * specified in @secattr. Returns zero on success, negative values on failure.
883 const struct netlbl_lsm_secattr *secattr)
893 af4_entry = netlbl_domhsh_getentry_af4(secattr->domain,
903 secattr);
934 * @secattr: the security attributes
939 * attributes in @secattr. Returns zero on success, negative values on
945 struct netlbl_lsm_secattr *secattr)
950 cipso_v4_skbuff_getattr(skb, secattr) == 0)
959 return netlbl_unlabel_getattr(skb, family, secattr);
997 * @secattr: the packet's security attributes
1006 const struct netlbl_lsm_secattr *secattr)
1008 if ((secattr->flags & NETLBL_SECATTR_CACHE) == 0)
1012 return cipso_v4_cache_add(skb, secattr);