Home
last modified time | relevance | path

Searched refs:sctp_sndrcvinfo (Results 1 – 23 of 23) sorted by relevance

/external/ltp/utils/sctp/lib/
Dsendmsg.c38 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_sendmsg()
40 struct sctp_sndrcvinfo *sinfo; in sctp_sendmsg()
56 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg()
59 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in sctp_sendmsg()
60 memset(sinfo, 0, sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg()
75 const struct sctp_sndrcvinfo *sinfo, int flags) in sctp_send()
79 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_send()
99 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_send()
102 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); in sctp_send()
Drecvmsg.c56 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, in sctp_recvmsg()
62 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_recvmsg()
98 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in sctp_recvmsg()
/external/ltp/utils/sctp/func_tests/
Dtest_sockopt.c75 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
77 struct sctp_sndrcvinfo *sinfo; in main()
90 struct sctp_sndrcvinfo set_udp_sk_dflt_param, get_udp_sk_dflt_param; in main()
91 struct sctp_sndrcvinfo set_tcp_sk_dflt_param, get_tcp_sk_dflt_param; in main()
92 struct sctp_sndrcvinfo set_udp_assoc_dflt_param; in main()
93 struct sctp_sndrcvinfo get_udp_assoc_dflt_param; in main()
94 struct sctp_sndrcvinfo set_tcp_assoc_dflt_param; in main()
95 struct sctp_sndrcvinfo get_tcp_assoc_dflt_param; in main()
96 struct sctp_sndrcvinfo get_peeloff_assoc_dflt_param; in main()
97 struct sctp_sndrcvinfo get_accept_assoc_dflt_param; in main()
[all …]
Dtest_assoc_shutdown.c72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
74 struct sctp_sndrcvinfo *sinfo; in main()
128 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
130 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
131 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
192 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
194 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
195 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_assoc_abort.c73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
75 struct sctp_sndrcvinfo *sinfo; in main()
128 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
130 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
131 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
191 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
193 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
194 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_inaddr_any.c72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
74 struct sctp_sndrcvinfo *sinfo; in main()
160 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
162 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
163 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
208 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
210 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
211 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_1_to_1_threads.c71 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in t_recv()
92 struct sctp_sndrcvinfo *sinfo; in t_send()
109 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in t_send()
112 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in t_send()
113 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in t_send()
Dtest_1_to_1_events.c60 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
66 struct sctp_sndrcvinfo *sinfo; in main()
120 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
122 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
123 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_1_to_1_sendmsg.c79 struct sctp_sndrcvinfo *sinfo; in main()
81 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
138 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
140 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
141 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
296 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
298 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
299 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_1_to_1_nonblock.c73 struct sctp_sndrcvinfo *sinfo; in main()
74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
169 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
171 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
172 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_timetolive.c99 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
101 struct sctp_sndrcvinfo *sinfo; in main()
202 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
204 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
205 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
276 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
278 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
279 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_basic.c74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
76 struct sctp_sndrcvinfo *sinfo; in main()
177 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
179 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
180 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
292 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
294 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
295 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_1_to_1_addrs.c87 struct sctp_sndrcvinfo *sinfo; in main()
89 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
159 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
161 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
162 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_fragments.c84 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
86 struct sctp_sndrcvinfo *sinfo; in main()
152 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
154 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
155 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_peeloff.c71 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
73 struct sctp_sndrcvinfo *sinfo; in main()
141 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
143 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
144 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_tcp_style.c75 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
78 struct sctp_sndrcvinfo *sinfo; in main()
418 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
420 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
421 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); in main()
Dtest_sctp_sendrecvmsg.c89 struct sctp_sndrcvinfo sinfo; in main()
90 struct sctp_sndrcvinfo snd_sinfo; in main()
/external/ltp/utils/sctp/include/netinet/
Dsctp.h147 struct sctp_sndrcvinfo { struct
178 struct sctp_sndrcvinfo sndrcv; argument
292 struct sctp_sndrcvinfo ssf_info;
853 const struct sctp_sndrcvinfo *sinfo, int flags);
861 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo,
/external/ltp/utils/sctp/testlib/
Dsctputil.c235 struct sctp_sndrcvinfo *sinfo, int expected_datalen, in test_check_buf_data()
283 struct sctp_sndrcvinfo *sinfo = NULL; in test_check_msg_data()
294 (cmsg->cmsg_len < CMSG_LEN(sizeof(struct sctp_sndrcvinfo)))) in test_check_msg_data()
297 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in test_check_msg_data()
Dsctputil.h285 const struct sctp_sndrcvinfo *sinfo, in test_sctp_send()
297 struct sctp_sndrcvinfo *sinfo, in test_sctp_recvmsg()
317 void test_check_buf_data(void *, int, int, struct sctp_sndrcvinfo *, int, int,
/external/iproute2/include/uapi/linux/
Dsctp.h193 struct sctp_sndrcvinfo { struct
278 struct sctp_sndrcvinfo sndrcv;
397 struct sctp_sndrcvinfo ssf_info;
/external/kernel-headers/original/uapi/linux/
Dsctp.h200 struct sctp_sndrcvinfo { struct
313 struct sctp_sndrcvinfo sndrcv;
440 struct sctp_sndrcvinfo ssf_info;
/external/syzkaller/sys/linux/
Dsocket_inet_sctp.txt66 msg sctp_sndrcvinfo
165 …vel const[SOL_SCTP], opt const[SCTP_DEFAULT_SEND_PARAM], val ptr[in, sctp_sndrcvinfo], len len[val…
166 …vel const[SOL_SCTP], opt const[SCTP_DEFAULT_SEND_PARAM], val ptr[in, sctp_sndrcvinfo], len len[val…
167 … const[SOL_SCTP], opt const[SCTP_DEFAULT_SEND_PARAM], val ptr[inout, sctp_sndrcvinfo], len ptr[ino…
168 … const[SOL_SCTP], opt const[SCTP_DEFAULT_SEND_PARAM], val ptr[inout, sctp_sndrcvinfo], len ptr[ino…
398 sctp_sndrcvinfo {