Home
last modified time | relevance | path

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

/third_party/ltp/utils/sctp/lib/
Dconnectx.c42 int addrs_size = 0; in __connectx_addrsize() local
50 addrs_size += sizeof(struct sockaddr_in); in __connectx_addrsize()
54 addrs_size += sizeof(struct sockaddr_in6); in __connectx_addrsize()
63 return addrs_size; in __connectx_addrsize()
69 int addrs_size = __connectx_addrsize(addrs, addrcnt); in __sctp_connectx() local
71 if (addrs_size < 0) in __sctp_connectx()
72 return addrs_size; in __sctp_connectx()
75 addrs_size); in __sctp_connectx()
82 static int __connectx(int fd, struct sockaddr *addrs, socklen_t addrs_size, in __connectx() argument
91 addrs_size); in __connectx()
[all …]
Dbindx.c44 socklen_t addrs_size = 0; in sctp_bindx() local
64 addrs_size += sizeof(struct sockaddr_in); in sctp_bindx()
68 addrs_size += sizeof(struct sockaddr_in6); in sctp_bindx()
77 return setsockopt(fd, SOL_SCTP, setsock_option, addrs, addrs_size); in sctp_bindx()
/third_party/ltp/utils/sctp/testlib/
Dsctputil.c374 socklen_t addrs_size = 0; in test_peer_addr() local
396 addrs_size += sizeof(struct sockaddr_in); in test_peer_addr()
400 addrs_size += sizeof(struct sockaddr_in6); in test_peer_addr()