/external/ltp/utils/sctp/lib/ |
sendmsg.c | 38 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 40 struct sctp_sndrcvinfo *sinfo; 56 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 59 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 60 memset(sinfo, 0, sizeof(struct sctp_sndrcvinfo)); 75 const struct sctp_sndrcvinfo *sinfo, int flags) 79 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 99 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 102 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo));
|
recvmsg.c | 23 * that in order for the sctp_sndrcvinfo structure to be filled in by 34 * struct sctp_sndrcvinfo *sinfo, 44 * sinfo - A pointer to a sctp_sndrcvinfo structure 56 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, 62 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 98 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo));
|
/external/ltp/utils/sctp/func_tests/ |
test_sockopt.c | 75 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 77 struct sctp_sndrcvinfo *sinfo; 90 struct sctp_sndrcvinfo set_udp_sk_dflt_param, get_udp_sk_dflt_param; 91 struct sctp_sndrcvinfo set_tcp_sk_dflt_param, get_tcp_sk_dflt_param; 92 struct sctp_sndrcvinfo set_udp_assoc_dflt_param; 93 struct sctp_sndrcvinfo get_udp_assoc_dflt_param; 94 struct sctp_sndrcvinfo set_tcp_assoc_dflt_param; 95 struct sctp_sndrcvinfo get_tcp_assoc_dflt_param; 96 struct sctp_sndrcvinfo get_peeloff_assoc_dflt_param; 97 struct sctp_sndrcvinfo get_accept_assoc_dflt_param; [all...] |
test_assoc_abort.c | 73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 75 struct sctp_sndrcvinfo *sinfo; 128 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 130 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 131 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); 191 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 193 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 194 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_assoc_shutdown.c | 72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 74 struct sctp_sndrcvinfo *sinfo; 128 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 130 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 131 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); 192 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 194 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 195 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_inaddr_any.c | 72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 74 struct sctp_sndrcvinfo *sinfo; 160 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 162 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 163 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); 208 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 210 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 211 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_1_to_1_events.c | 60 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 66 struct sctp_sndrcvinfo *sinfo; 120 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 122 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 123 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_1_to_1_threads.c | 71 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 92 struct sctp_sndrcvinfo *sinfo; 109 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 112 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 113 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_1_to_1_addrs.c | 87 struct sctp_sndrcvinfo *sinfo; 89 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 159 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 161 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 162 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_1_to_1_nonblock.c | 73 struct sctp_sndrcvinfo *sinfo; 74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 169 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 171 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 172 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_fragments.c | 84 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 86 struct sctp_sndrcvinfo *sinfo; 152 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 154 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 155 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_1_to_1_sendmsg.c | 79 struct sctp_sndrcvinfo *sinfo; 81 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 138 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 140 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 141 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); 296 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 298 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 299 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_basic.c | 74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 76 struct sctp_sndrcvinfo *sinfo; 177 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 179 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 180 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); 292 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 294 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 295 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_timetolive.c | 99 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 101 struct sctp_sndrcvinfo *sinfo; 202 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 204 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 205 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); 276 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 278 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 279 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_peeloff.c | 71 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 73 struct sctp_sndrcvinfo *sinfo; 141 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 143 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 144 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
test_tcp_style.c | 75 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; 78 struct sctp_sndrcvinfo *sinfo; 418 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); 420 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 421 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo));
|
/external/ltp/utils/sctp/include/netinet/ |
sctp.h | 142 * IPPROTO_SCTP SCTP_SNDRCV struct sctp_sndrcvinfo 145 struct sctp_sndrcvinfo { struct 176 struct sctp_sndrcvinfo sndrcv; 290 struct sctp_sndrcvinfo ssf_info; 851 const struct sctp_sndrcvinfo *sinfo, int flags); 859 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo,
|
/external/ltp/utils/sctp/testlib/ |
sctputil.c | 235 struct sctp_sndrcvinfo *sinfo, int expected_datalen, 280 struct sctp_sndrcvinfo *sinfo = NULL; 291 (cmsg->cmsg_len < CMSG_LEN(sizeof(struct sctp_sndrcvinfo)))) 294 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg);
|
sctputil.h | 285 const struct sctp_sndrcvinfo *sinfo, 297 struct sctp_sndrcvinfo *sinfo, 317 void test_check_buf_data(void *, int, int, struct sctp_sndrcvinfo *, int, int,
|
/development/ndk/platforms/android-21/include/linux/ |
sctp.h | 86 struct sctp_sndrcvinfo { struct 112 struct sctp_sndrcvinfo sndrcv; 182 struct sctp_sndrcvinfo ssf_info;
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/linux/ |
sctp.h | 86 struct sctp_sndrcvinfo { struct 112 struct sctp_sndrcvinfo sndrcv; 182 struct sctp_sndrcvinfo ssf_info;
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/linux/ |
sctp.h | 86 struct sctp_sndrcvinfo { struct 112 struct sctp_sndrcvinfo sndrcv; 182 struct sctp_sndrcvinfo ssf_info;
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/linux/ |
sctp.h | 86 struct sctp_sndrcvinfo { struct 112 struct sctp_sndrcvinfo sndrcv; 182 struct sctp_sndrcvinfo ssf_info;
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips64/usr/include/linux/ |
sctp.h | 86 struct sctp_sndrcvinfo { struct 112 struct sctp_sndrcvinfo sndrcv; 182 struct sctp_sndrcvinfo ssf_info;
|
/prebuilts/ndk/r10/platforms/android-21/arch-x86/usr/include/linux/ |
sctp.h | 86 struct sctp_sndrcvinfo { struct 112 struct sctp_sndrcvinfo sndrcv; 182 struct sctp_sndrcvinfo ssf_info;
|