Home
last modified time | relevance | path

Searched refs:cmhdr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/core/
Dscm.c217 struct cmsghdr cmhdr; in put_cmsg() local
232 cmhdr.cmsg_level = level; in put_cmsg()
233 cmhdr.cmsg_type = type; in put_cmsg()
234 cmhdr.cmsg_len = cmlen; in put_cmsg()
237 if (copy_to_user(cm, &cmhdr, sizeof cmhdr)) in put_cmsg()
/Linux-v5.4/net/
Dcompat.c213 struct compat_cmsghdr cmhdr; in put_cmsg_compat() local
250 cmhdr.cmsg_level = level; in put_cmsg_compat()
251 cmhdr.cmsg_type = type; in put_cmsg_compat()
252 cmhdr.cmsg_len = cmlen; in put_cmsg_compat()
254 if (copy_to_user(cm, &cmhdr, sizeof cmhdr)) in put_cmsg_compat()