Lines Matching refs:scm
61 #include <net/scm.h>
1322 struct scm_cookie scm;
1327 if (NULL == siocb->scm) {
1328 siocb->scm = &scm;
1329 memset(&scm, 0, sizeof(scm));
1331 err = scm_send(sock, msg, siocb->scm);
1368 memcpy(NETLINK_CREDS(skb), &siocb->scm->creds, sizeof(struct ucred));
1395 scm_destroy(siocb->scm);
1404 struct scm_cookie scm;
1463 if (NULL == siocb->scm) {
1464 memset(&scm, 0, sizeof(scm));
1465 siocb->scm = &scm;
1467 siocb->scm->creds = *NETLINK_CREDS(skb);
1476 scm_recv(sock, msg, siocb->scm, flags);