Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dscm.h31 struct scm_cookie { struct
40 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm); argument
41 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
42 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
43 void __scm_destroy(struct scm_cookie *scm);
47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
52 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
56 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred()
65 static __inline__ void scm_destroy_cred(struct scm_cookie *scm) in scm_destroy_cred()
71 static __inline__ void scm_destroy(struct scm_cookie *scm) in scm_destroy()
[all …]
/Linux-v4.19/net/core/
Dscm.c119 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy()
134 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
255 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/Linux-v4.19/net/unix/
Daf_unix.c142 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
147 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
152 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
157 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
160 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
163 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
1487 static void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
1500 struct scm_cookie scm; in unix_destruct_scm()
1527 static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
1548 static int unix_scm_to_skb(struct scm_cookie *scm, struct sk_buff *skb, bool send_fds) in unix_scm_to_skb()
[all …]
/Linux-v4.19/net/
Dcompat.c264 void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm) in scm_detach_fds_compat()
/Linux-v4.19/net/netlink/
Daf_netlink.c1842 struct scm_cookie scm; in netlink_sendmsg()
1918 struct scm_cookie scm; in netlink_recvmsg()