Home
last modified time | relevance | path

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

/include/linux/isdn/
Dcapiutil.h150 unsigned capi_cmsg2message(_cmsg * cmsg, __u8 * msg);
156 unsigned capi_message2cmsg(_cmsg * cmsg, __u8 * msg);
163 unsigned capi_cmsg_header(_cmsg * cmsg, __u16 _ApplId,
189 _cdebbuf *capi_cmsg2str(_cmsg *cmsg);
194 static inline void capi_cmsg_answer(_cmsg * cmsg) in capi_cmsg_answer() argument
196 cmsg->Subcommand |= 0x01; in capi_cmsg_answer()
201 static inline void capi_fill_CONNECT_B3_REQ(_cmsg * cmsg, __u16 ApplId, __u16 Messagenumber, in capi_fill_CONNECT_B3_REQ() argument
205 capi_cmsg_header(cmsg, ApplId, 0x82, 0x80, Messagenumber, adr); in capi_fill_CONNECT_B3_REQ()
206 cmsg->NCPI = NCPI; in capi_fill_CONNECT_B3_REQ()
209 static inline void capi_fill_FACILITY_REQ(_cmsg * cmsg, __u16 ApplId, __u16 Messagenumber, in capi_fill_FACILITY_REQ() argument
[all …]
/include/linux/
Dsocket.h92 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) argument
93 #define CMSG_NXTHDR(mhdr, cmsg) cmsg_nxthdr((mhdr), (cmsg)) argument
97 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + sizeof(struct cmsghdr))) argument
105 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ argument
106 (cmsg)->cmsg_len <= (unsigned long) \
108 ((char *)(cmsg) - (char *)(mhdr)->msg_control)))
109 #define for_each_cmsghdr(cmsg, msg) \ argument
110 for (cmsg = CMSG_FIRSTHDR(msg); \
111 cmsg; \
112 cmsg = CMSG_NXTHDR(msg, cmsg))
/include/net/
Dsock.h1653 int __sock_cmsg_send(struct sock *sk, struct msghdr *msg, struct cmsghdr *cmsg,