Searched refs:sa_addr (Results 1 – 11 of 11) sorted by relevance
/external/ltp/utils/sctp/lib/ |
D | bindx.c | 43 struct sockaddr *sa_addr; in sctp_bindx() local 61 sa_addr = (struct sockaddr *)addrbuf; in sctp_bindx() 62 switch (sa_addr->sa_family) { in sctp_bindx()
|
D | connectx.c | 41 const struct sockaddr *sa_addr; in __connectx_addrsize() local 47 sa_addr = (const struct sockaddr *)addrbuf; in __connectx_addrsize() 48 switch (sa_addr->sa_family) { in __connectx_addrsize()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_basic.c | 90 struct sockaddr *sa_addr; in main() local 355 sa_addr = (struct sockaddr *)addr_buf; in main() 356 if (AF_INET == sa_addr->sa_family) { in main() 357 in_addr = (struct sockaddr_in *)sa_addr; in main() 363 in6_addr = (struct sockaddr_in6 *)sa_addr; in main() 385 sa_addr = (struct sockaddr *)addr_buf; in main() 386 if (AF_INET == sa_addr->sa_family) { in main() 387 in_addr = (struct sockaddr_in *)sa_addr; in main() 393 in6_addr = (struct sockaddr_in6 *)sa_addr; in main()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 199 sp.sa_addr.pppoe.sid = conn->session; in PPPOEConnectDevice() 200 memcpy(sp.sa_addr.pppoe.dev, conn->ifName, IFNAMSIZ); in PPPOEConnectDevice() 201 memcpy(sp.sa_addr.pppoe.remote, conn->peerEth, ETH_ALEN); in PPPOEConnectDevice() 269 sp.sa_addr.pppoe.sid = 0; in PPPOEDisconnectDevice() 270 memcpy(sp.sa_addr.pppoe.dev, conn->ifName, IFNAMSIZ); in PPPOEDisconnectDevice() 271 memcpy(sp.sa_addr.pppoe.remote, conn->peerEth, ETH_ALEN); in PPPOEDisconnectDevice()
|
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/emi_mpu/ |
D | emi_mpu.c | 119 unsigned int sa_addr = EMI_MPU_SA0; in dump_emi_mpu_regions() local 125 sa = mmio_read_32(sa_addr + i * 4); in dump_emi_mpu_regions()
|
/external/ltp/utils/sctp/testlib/ |
D | sctputil.c | 373 struct sockaddr *sa_addr; in test_peer_addr() local 393 sa_addr = (struct sockaddr *)addrbuf; in test_peer_addr() 394 switch (sa_addr->sa_family) { in test_peer_addr() 411 if (cmp_addr((sockaddr_storage_t *)sa_addr, in test_peer_addr()
|
/external/curl/lib/ |
D | connect.c | 1140 if(!Curl_addr2string((struct sockaddr*)&addr.sa_addr, addr.addrlen, in singleipconnect() 1189 Curl_ipv6_scope((struct sockaddr*)&addr.sa_addr)); in singleipconnect() 1223 endpoints.sae_dstaddr = &addr.sa_addr; in singleipconnect() 1231 rc = connect(sockfd, &addr.sa_addr, addr.addrlen); in singleipconnect() 1234 rc = connect(sockfd, &addr.sa_addr, addr.addrlen); in singleipconnect() 1241 rc = connect(sockfd, &addr.sa_addr, addr.addrlen); in singleipconnect() 1244 rc = connect(sockfd, &addr.sa_addr, addr.addrlen); in singleipconnect() 1250 rc = connect(sockfd, &addr.sa_addr, addr.addrlen); in singleipconnect() 1260 &addr.sa_addr, addr.addrlen); in singleipconnect() 1517 memcpy(&addr->sa_addr, ai->ai_addr, addr->addrlen); in Curl_socket() [all …]
|
D | connect.h | 98 #define sa_addr _sa_ex_u.addr macro
|
/external/mtpd/ |
D | pptp.c | 394 src.sa_addr.pptp.call_id = ntohs(local); in create_pppox_pptp() 395 src.sa_addr.pptp.sin_addr = local_addr; in create_pppox_pptp() 399 dst.sa_addr.pptp.call_id = ntohs(remote); in create_pppox_pptp() 400 dst.sa_addr.pptp.sin_addr = remote_addr; in create_pppox_pptp()
|
/external/kernel-headers/original/uapi/linux/ |
D | if_pppox.h | 71 } sa_addr; member
|
/external/ipsec-tools/src/racoon/ |
D | isakmp.c | 3616 struct sockaddr_in6 *sp_addr, *sa_addr; local 3619 sa_addr = (struct sockaddr_in6 *)sa_addr0; 3627 if (sa_addr->sin6_family != AF_INET6) { 3633 if (!IN6_IS_ADDR_LINKLOCAL(&sa_addr->sin6_addr)) { 3639 sp_addr->sin6_scope_id = sa_addr->sin6_scope_id;
|