Home
last modified time | relevance | path

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

/include/linux/
Dsocket.h103 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
104 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument
108 #define CMSG_DATA(cmsg) \ argument
109 ((void *)(cmsg) + sizeof(struct cmsghdr))
110 #define CMSG_USER_DATA(cmsg) \ argument
111 ((void __user *)(cmsg) + sizeof(struct cmsghdr))
119 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument
120 (cmsg)->cmsg_len <= (unsigned long) \
122 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
123 #define for_each_cmsghdr(cmsg, msg) \ argument
[all …]
/include/net/
Dsock.h1770 int __sock_cmsg_send(struct sock *sk, struct msghdr *msg, struct cmsghdr *cmsg,