Home
last modified time | relevance | path

Searched refs:UNIXCB (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/include/net/
Daf_unix.h35 #define UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb)) macro
36 #define UNIXSID(skb) (&UNIXCB((skb)).secid)
/linux-2.6.39/net/unix/
Daf_unix.c1327 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
1328 UNIXCB(skb).fp = NULL; in unix_detach_fds()
1338 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
1339 scm.cred = UNIXCB(skb).cred; in unix_destruct_scm()
1340 if (UNIXCB(skb).fp) in unix_destruct_scm()
1374 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
1375 if (!UNIXCB(skb).fp) in unix_attach_fds()
1388 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1389 UNIXCB(skb).cred = get_cred(scm->cred); in unix_scm_to_skb()
1390 UNIXCB(skb).fp = NULL; in unix_scm_to_skb()
[all …]
Dgarbage.c167 if (UNIXCB(skb).fp) { in scan_inflight()
172 int nfd = UNIXCB(skb).fp->count; in scan_inflight()
173 struct file **fp = UNIXCB(skb).fp->fp; in scan_inflight()