OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sctp_getpaddrs
(Results
1 - 5
of
5
) sorted by null
/external/ltp/utils/sctp/func_tests/
test_1_to_1_addrs.c
6
*
sctp_getpaddrs
(), sctp_freeapaddrs () for 1-1 style sockets
19
*
sctp_getpaddrs
() Tests:
229
/*
sctp_getpaddrs
() TEST6: Bad socket descriptor, EBADF Expected error*/
230
error =
sctp_getpaddrs
(-1, 0, &paddrs);
232
tst_brkm(TBROK, tst_exit, "
sctp_getpaddrs
with a bad socket "
235
tst_resm(TPASS, "
sctp_getpaddrs
() with a bad socket descriptor - "
238
/*
sctp_getpaddrs
() TEST7: Invalid socket, ENOTSOCK Expected error*/
244
error =
sctp_getpaddrs
(fd, 0, &paddrs);
250
tst_brkm(TBROK, tst_exit, "
sctp_getpaddrs
with invalid socket "
253
tst_resm(TPASS, "
sctp_getpaddrs
() with invalid socket - ENOTSOCK")
[
all
...]
test_basic.c
376
n_paddrs =
sctp_getpaddrs
(sk1, associd1, &paddrs);
378
tst_brkm(TBROK, tst_exit, "
sctp_getpaddrs
: %s",
381
tst_resm(TPASS, "
sctp_getpaddrs
");
/external/ltp/utils/sctp/lib/
addrs.c
93
sctp_getpaddrs
(int sd, sctp_assoc_t id, struct sockaddr **addrs)
function
98
} /*
sctp_getpaddrs
() */
100
/* Frees all resources allocated by
sctp_getpaddrs
(). This is a new SCTP API
/external/ltp/utils/sctp/include/netinet/
sctp.h
740
*
sctp_getpaddrs
() and sctp_getladdrs() API.
820
int
sctp_getpaddrs
(int sd, sctp_assoc_t id, struct sockaddr **addrs);
822
/* Frees all resources allocated by
sctp_getpaddrs
(). This is a new SCTP API
/external/ltp/utils/sctp/testlib/
sctputil.c
376
error =
sctp_getpaddrs
(sk, asoc, &addrs);
378
tst_brkm(TBROK, tst_exit, "
sctp_getpaddrs
: %s", strerror(errno));
401
tst_brkm(TBROK, tst_exit, "
sctp_getpaddrs
: %s", strerror(errno));
Completed in 62 milliseconds