/device/linaro/bootloader/edk2/StdLib/Include/net/ |
D | route.h | 57 struct sockaddr ro_dst; 104 #define rt_key(r) ((struct sockaddr *)((r)->rt_nodes->rn_key)) 105 #define rt_mask(r) ((struct sockaddr *)((r)->rt_nodes->rn_mask)) 106 struct sockaddr *rt_gateway; /* value */ 112 struct sockaddr *rt_genmask; /* for generation of cloned routes */ 117 struct sockaddr *, struct rtentry *)); 129 struct sockaddr rt_dst; /* key */ 130 struct sockaddr rt_gateway; /* value */ 248 struct sockaddr *rti_info[RTAX_MAX]; 278 struct sockaddr *, struct sockaddr *)); [all …]
|
D | if.h | 157 struct sockaddr ifru_addr; 158 struct sockaddr ifru_dstaddr; 159 struct sockaddr ifru_broadaddr; 179 ((ifr).ifr_addr.sa_len > sizeof(struct sockaddr) ? \ 180 (sizeof(struct ifreq) - sizeof(struct sockaddr) + \ 185 struct sockaddr ifra_addr; 186 struct sockaddr ifra_broadaddr; 187 struct sockaddr ifra_mask;
|
/device/generic/goldfish/dhcp/common/ |
D | socket.cpp | 86 Result Socket::bind(const void* sockaddr, size_t sockaddrLength) { in bind() argument 92 reinterpret_cast<const struct sockaddr*>(sockaddr), in bind() 102 struct sockaddr_in sockaddr; in bindIp() local 103 memset(&sockaddr, 0, sizeof(sockaddr)); in bindIp() 104 sockaddr.sin_family = AF_INET; in bindIp() 105 sockaddr.sin_port = htons(port); in bindIp() 106 sockaddr.sin_addr.s_addr = address; in bindIp() 108 return bind(&sockaddr, sizeof(sockaddr)); in bindIp() 112 struct sockaddr_ll sockaddr; in bindRaw() local 113 memset(&sockaddr, 0, sizeof(sockaddr)); in bindRaw() [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/Protocol/ |
D | EfiSocket.h | 96 IN struct sockaddr * pSockAddr, 134 IN const struct sockaddr * pSockAddr, 227 IN const struct sockaddr * pSockAddr, 256 OUT struct sockaddr * pAddress, 285 OUT struct sockaddr * pAddress, 455 OUT struct sockaddr * pAddress, 558 IN const struct sockaddr * pAddress, 611 struct sockaddr * address,
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | socket.h | 207 struct sockaddr { struct 386 struct sockaddr _kis_src; /* STRUCT: local address */ 390 struct sockaddr _kid_dst; /* STRUCT: remote address */ 544 int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); 545 int bind(int, const struct sockaddr *, socklen_t); 546 int connect(int, const struct sockaddr *, socklen_t); 547 int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); 548 int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); 553 struct sockaddr * __restrict, socklen_t * __restrict); 557 size_t, int, const struct sockaddr *, socklen_t);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | accept.c | 38 struct sockaddr * address, in AcceptWork() 124 struct sockaddr * address, in accept() 153 struct sockaddr * address, in AcceptNB()
|
D | getnameinfo.c | 122 static int getnameinfo_inet __P((const struct sockaddr *, socklen_t, char *, 125 static int ip6_parsenumeric __P((const struct sockaddr *, const char *, char *, 130 static int getnameinfo_link __P((const struct sockaddr *, socklen_t, char *, 140 const struct sockaddr * sa, in getnameinfo() 171 const struct sockaddr * sa, in getnameinfo_inet() 372 const struct sockaddr *sa, in ip6_parsenumeric() 478 const struct sockaddr * sa,
|
D | bind.c | 44 IN const struct sockaddr * name, in bind()
|
D | getsockname.c | 40 struct sockaddr * address, in getsockname()
|
D | getpeername.c | 40 struct sockaddr * address, in getpeername()
|
/device/generic/goldfish/wifi/ipv6proxy/ |
D | socket.h | 99 Result sendTo(const sockaddr& destination, 109 return sendTo(*reinterpret_cast<const sockaddr*>(&destination), in sendTo() 118 const sockaddr& destination, 134 *reinterpret_cast<const sockaddr*>(&destination), in sendFrom()
|
D | socket.cpp | 118 int res = ::bind(mSocket, address.get<sockaddr>(), address.size()); in bind() 159 sockaddr* source = from->get<sockaddr>(); in receiveFrom() 187 Result Socket::sendTo(const sockaddr& destination, in sendTo() 209 return sendTo(*reinterpret_cast<sockaddr*>(&addr), in sendTo() 216 const sockaddr& destination, in sendFrom() 225 messageHeader.msg_name = const_cast<struct sockaddr*>(&destination); in sendFrom() 268 *reinterpret_cast<sockaddr*>(&addr), in sendFrom()
|
D | address.cpp | 53 auto sockaddr = reinterpret_cast<struct sockaddr_in6*>(mStorage.data()); in Address() local 54 sockaddr->sin6_family = AF_INET6; in Address() 55 sockaddr->sin6_addr = address; in Address()
|
/device/linaro/bootloader/edk2/StdLib/Include/Efi/ |
D | EfiSocketLib.h | 366 IN CONST struct sockaddr * pSockAddr, 456 IN const struct sockaddr * pSockAddr, 484 OUT struct sockaddr * pAddress, 512 OUT struct sockaddr * pAddress, 677 OUT struct sockaddr * pAddress, 745 IN const struct sockaddr * pAddress,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/ |
D | RawIp4Rx.c | 65 (struct sockaddr *)&LocalPort, in RawIp4Rx() 77 RetVal = getsockname ( s, (struct sockaddr *)&LocalPort, &LocalPortLength ); in RawIp4Rx() 107 (struct sockaddr *)&RemotePort, in RawIp4Rx()
|
/device/generic/goldfish/network/netmgr/ |
D | monitor.cpp | 57 reinterpret_cast<struct sockaddr*>(&storage), in onReadAvailable() 134 struct sockaddr* sa = reinterpret_cast<struct sockaddr*>(&addr); in openSocket()
|
/device/google/marlin/dataservices/sockev/src/ |
D | sockev_cli.c | 72 rc = bind(skfd, (struct sockaddr *)&my_addr, in main() 82 (struct sockaddr *)&src_addr, &addrlen); in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
D | Ports.c | 72 (struct sockaddr *)&LocalAddress, in PortsPage() 101 (struct sockaddr *)&LocalAddress, in PortsPage()
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | TcpStream.cpp | 48 if (bind(s, reinterpret_cast<sockaddr*>(&addr), sizeof(addr)) < 0) { in _socket_loopback_server() 97 clientSock = ::accept(m_sock, (sockaddr *)&addr, &len); in accept()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/ |
D | RawIp4Tx.c | 88 (struct sockaddr *)&LocalPort, in RawIp4Tx() 123 (struct sockaddr *)&RemotePort, in RawIp4Tx()
|
/device/google/cuttlefish_common/common/libs/fs/ |
D | shared_fd.cpp | 220 SharedFD SharedFD::Accept(const FileInstance& listener, struct sockaddr* addr, in Accept() 303 if (rval->Connect(reinterpret_cast<sockaddr*>(&addr), addrlen) == -1) { in SocketLocalClient() 318 if (rval->Connect(reinterpret_cast<const sockaddr*>(&addr), in SocketLocalClient() 340 if(rval->Bind(reinterpret_cast<sockaddr*>(&addr), sizeof(addr)) < 0) { in SocketLocalServer() 372 if (rval->Bind(reinterpret_cast<sockaddr*>(&addr), addrlen) == -1) { in SocketLocalServer() 407 auto casted_addr = reinterpret_cast<sockaddr*>(&addr); in VsockServer() 430 auto casted_addr = reinterpret_cast<sockaddr*>(&addr); in VsockClient()
|
D | shared_fd.h | 136 static SharedFD Accept(const FileInstance& listener, struct sockaddr* addr, 212 int Bind(const struct sockaddr* addr, socklen_t addrlen) { in Bind() 219 int Connect(const struct sockaddr* addr, socklen_t addrlen) { in Connect() 346 ssize_t RecvFrom(void* buf, size_t len, int flags, struct sockaddr* src_addr, in RecvFrom() 444 const struct sockaddr* dest_addr, socklen_t addrlen) { in SendTo() 521 FileInstance* Accept(struct sockaddr* addr, socklen_t* addrlen) const { in Accept()
|
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
D | Socket.h | 498 IN struct sockaddr * pSockAddr, 552 OUT struct sockaddr * pAddress 581 IN CONST struct sockaddr * pSockAddr, 807 OUT struct sockaddr * pAddress, 823 OUT struct sockaddr * pAddress 847 IN CONST struct sockaddr * pSockAddr, 898 IN const struct sockaddr * pAddress, 1394 IN CONST struct sockaddr * pSockAddr,
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | netdb.h | 179 struct sockaddr *ai_addr; /**< binary address */ 261 int getnameinfo ( const struct sockaddr * __restrict, socklen_t,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/ |
D | OobRx.c | 73 (struct sockaddr *)&LocalPort, in OobRx() 96 (struct sockaddr *)&RemotePort, in OobRx()
|