Home
last modified time | relevance | path

Searched refs:addrs_size (Results 1 – 4 of 4) 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/elfutils/libebl/
Deblobjnote.c72 size_t addrs_size = gelf_fsize (ebl->elf, ELF_T_ADDR, 3, EV_CURRENT); in ebl_object_note() local
73 if (descsz < addrs_size + 3) in ebl_object_note()
83 .d_buf = (void *) desc, .d_size = addrs_size in ebl_object_note()
89 .d_buf = &addrs, .d_size = addrs_size in ebl_object_note()
99 const char *provider = desc + addrs_size; in ebl_object_note()
/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()