Home
last modified time | relevance | path

Searched refs:scm_cookie (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/include/net/
Dscm.h28 struct scm_cookie { struct
37 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm); argument
38 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
39 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
40 void __scm_destroy(struct scm_cookie *scm);
44 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
49 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
53 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred()
62 static __inline__ void scm_destroy_cred(struct scm_cookie *scm) in scm_destroy_cred()
68 static __inline__ void scm_destroy(struct scm_cookie *scm) in scm_destroy()
[all …]
/linux-4.4.14/net/core/
Dscm.c118 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy()
133 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
254 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/linux-4.4.14/net/unix/
Daf_unix.c141 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
146 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
151 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
156 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
159 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
162 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
1491 static void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
1504 struct scm_cookie scm; in unix_destruct_scm()
1533 static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
1568 static int unix_scm_to_skb(struct scm_cookie *scm, struct sk_buff *skb, bool send_fds) in unix_scm_to_skb()
[all …]
/linux-4.4.14/net/netlink/
Daf_netlink.c746 struct scm_cookie *scm) in netlink_mmap_sendmsg()
2435 struct scm_cookie scm; in netlink_sendmsg()
2521 struct scm_cookie scm; in netlink_recvmsg()
/linux-4.4.14/net/
Dcompat.c258 void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm) in scm_detach_fds_compat()