Lines Matching defs:netcred
75 static struct netcred *vfs_export_lookup(struct mount *, struct sockaddr *);
80 struct netcred {
92 struct netcred ne_defexported; /* Default export */
105 struct netcred *np;
158 i = sizeof(struct netcred) + argp->ex_addrlen + argp->ex_masklen;
159 np = (struct netcred *) malloc(i, M_NETADDR, M_WAITOK | M_ZERO);
207 if (rn == NULL || np != (struct netcred *)rn) { /* already exists */
210 "netcred already exists for given addr/mask");
238 cred = ((struct netcred *)rn)->netc_anon;
610 * to struct netcred so that the filesystem can examine it for
613 static struct netcred *
618 struct netcred *np = NULL;
644 np = (struct netcred *) (*rnh->rnh_matchaddr)(saddr, &rnh->rh);
673 struct netcred *np;