• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/rpc_parse/

Lines Matching refs:psa

52 BOOL sec_io_ace(const char *desc, SEC_ACE *psa, prs_struct *ps, int depth)
57 if (psa == NULL)
65 if(!prs_uint8("type ", ps, depth, &psa->type))
68 if(!prs_uint8("flags", ps, depth, &psa->flags))
71 if(!prs_uint16_pre("size ", ps, depth, &psa->size, &offset_ace_size))
74 if(!sec_io_access("info ", &psa->info, ps, depth))
78 if (!sec_ace_object(psa->type)) {
79 if (!smb_io_dom_sid("trustee ", &psa->trustee , ps, depth))
82 if (!prs_uint32("obj_flags", ps, depth, &psa->obj_flags))
85 if (psa->obj_flags & SEC_ACE_OBJECT_PRESENT)
86 if (!smb_io_uuid("obj_guid", &psa->obj_guid, ps,depth))
89 if (psa->obj_flags & SEC_ACE_OBJECT_INHERITED_PRESENT)
90 if (!smb_io_uuid("inh_guid", &psa->inh_guid, ps,depth))
93 if(!smb_io_dom_sid("trustee ", &psa->trustee , ps, depth))
101 if (MARSHALLING(ps) && (psa->size > prs_offset(ps) - old_offset)) {
102 uint32 extra_len = psa->size - (prs_offset(ps) - old_offset);
112 if(!prs_uint16_post("size ", ps, depth, &psa->size, offset_ace_size, old_offset))
130 SEC_ACL *psa;
142 psa = *ppsa;
144 if(UNMARSHALLING(ps) && psa == NULL) {
148 if((psa = PRS_ALLOC_MEM(ps, SEC_ACL, 1)) == NULL)
150 *ppsa = psa;
158 if(!prs_uint16("revision", ps, depth, &psa->revision))
161 if(!prs_uint16_pre("size ", ps, depth, &psa->size, &offset_acl_size))
164 if(!prs_uint32("num_aces ", ps, depth, &psa->num_aces))
173 if((psa->ace = PRS_ALLOC_MEM(ps, SEC_ACE, psa->num_aces+1)) == NULL)
177 for (i = 0; i < psa->num_aces; i++) {
180 if(!sec_io_ace(tmp, &psa->ace[i], ps, depth))
188 if (MARSHALLING(ps) && (psa->size > prs_offset(ps) - old_offset)) {
189 uint32 extra_len = psa->size - (prs_offset(ps) - old_offset);
198 if(!prs_uint16_post("size ", ps, depth, &psa->size, offset_acl_size, old_offset))