Home
last modified time | relevance | path

Searched refs:sa_addr (Results 1 – 11 of 11) sorted by relevance

/external/ltp/utils/sctp/lib/
Dbindx.c43 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()
Dconnectx.c41 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/
Dtest_basic.c90 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/
Dplugin.c199 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/
Demi_mpu.c119 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/
Dsctputil.c373 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/
Dconnect.c1140 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 …]
Dconnect.h98 #define sa_addr _sa_ex_u.addr macro
/external/mtpd/
Dpptp.c394 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/
Dif_pppox.h71 } sa_addr; member
/external/ipsec-tools/src/racoon/
Disakmp.c3616 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;