Home
last modified time | relevance | path

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

/external/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()
/external/elfutils/libebl/
Deblobjnote.c67 size_t addrs_size = gelf_fsize (ebl->elf, ELF_T_ADDR, 3, EV_CURRENT); in ebl_object_note() local
68 if (descsz < addrs_size + 3) in ebl_object_note()
78 .d_buf = (void *) desc, .d_size = addrs_size in ebl_object_note()
84 .d_buf = &addrs, .d_size = addrs_size in ebl_object_note()
94 const char *provider = desc + addrs_size; in ebl_object_note()
/external/ltp/utils/sctp/testlib/
Dsctputil.c371 socklen_t addrs_size = 0; in test_peer_addr() local
391 addrs_size += sizeof(struct sockaddr_in); in test_peer_addr()
395 addrs_size += sizeof(struct sockaddr_in6); in test_peer_addr()