Searched refs:gaddrs (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_socket.c | 2350 struct sctp_getaddresses *gaddrs; local 2444 if ((gaddrs = (struct sctp_getaddresses *)malloc(argsz)) == NULL) { 2453 memset(gaddrs, 0, argsz); 2454 gaddrs->sget_assoc_id = 0; 2456 memcpy(gaddrs->addr, sa, sa->sa_len); 2457 if (usrsctp_setsockopt(so, IPPROTO_SCTP, flags, gaddrs, (socklen_t)argsz) != 0) { 2458 free(gaddrs); 2478 memcpy(gaddrs->addr, sa, sa_len); 2486 switch (gaddrs->addr->sa_family) { 2489 sin = (struct sockaddr_in *)gaddrs->addr; [all …]
|