Home
last modified time | relevance | path

Searched refs:socklen_t (Results 1 – 25 of 62) sorted by relevance

123

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnameinfo.c98 socklen_t hostlen
103 socklen_t a_addrlen;
104 socklen_t a_socklen;
122 static int getnameinfo_inet __P((const struct sockaddr *, socklen_t, char *,
123 socklen_t, char *, socklen_t, int));
126 socklen_t, int));
130 static int getnameinfo_link __P((const struct sockaddr *, socklen_t, char *,
131 socklen_t, char *, socklen_t, int));
132 static int hexname __P((const u_int8_t *, size_t, char *, socklen_t));
141 socklen_t salen, in getnameinfo()
[all …]
Daccept.c39 socklen_t * address_len in AcceptWork()
125 socklen_t * address_len in accept()
154 socklen_t * address_len in AcceptNB()
Drecvfrom.c54 socklen_t * address_len in recvfrom()
57 socklen_t ByteCount; in recvfrom()
Dbind.c45 IN socklen_t namelen in bind()
Dgetpeername.c41 socklen_t * address_len in getpeername()
Dgetsockname.c41 socklen_t * address_len in getsockname()
Dsetsockopt.c37 IN socklen_t option_len in setsockopt()
Dgetsockopt.c38 IN OUT socklen_t * __restrict option_len in getsockopt()
Dconnect.c57 socklen_t address_len in connect()
/device/linaro/bootloader/edk2/StdLib/Include/
Dnetdb.h104 #ifndef socklen_t
105 typedef __socklen_t socklen_t; typedef
106 #define socklen_t __socklen_t macro
174 socklen_t ai_addrlen; /**< length of ai_addr */
241 struct hostent *gethostbyaddr (const char *, socklen_t, int);
261 int getnameinfo ( const struct sockaddr * __restrict, socklen_t,
262 char * __restrict, socklen_t,
263 char * __restrict, socklen_t, int);
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dsocket.h82 #ifndef socklen_t
83 typedef __socklen_t socklen_t; typedef
84 #define socklen_t __socklen_t macro
446 socklen_t msg_namelen; /* size of address */
450 socklen_t msg_controllen; /* ancillary data buffer len */
473 socklen_t cmsg_len; /* data byte count, including hdr */
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);
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/Protocol/
DEfiSocket.h97 IN OUT socklen_t * pSockAddrLength,
135 IN socklen_t SockAddrLength,
228 IN socklen_t SockAddrLength,
257 IN OUT socklen_t * pAddressLength,
286 IN OUT socklen_t * pAddressLength,
352 IN OUT socklen_t * __restrict pOptionLength,
382 IN socklen_t OptionLength,
456 IN OUT socklen_t * pAddressLength,
559 IN socklen_t AddressLength,
612 socklen_t * address_len
/device/linaro/bootloader/edk2/StdLib/Include/arpa/
Dinet.h73 #ifndef socklen_t
74 typedef __socklen_t socklen_t; typedef
75 #define socklen_t __socklen_t macro
89 char * __restrict, socklen_t);
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/
Dinet_ntop.c61 static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
62 static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
73 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop()
103 inet_ntop4(const u_char *src, char *dst, socklen_t size) in inet_ntop4()
113 if (l <= 0 || (socklen_t) l >= size) { in inet_ntop4()
129 inet_ntop6(const u_char *src, char *dst, socklen_t size) in inet_ntop6()
205 if (!inet_ntop4(src+12, tp, (socklen_t)(ep - tp))) in inet_ntop6()
/device/linaro/bootloader/edk2/StdLib/Include/Efi/
DEfiSocketLib.h367 IN socklen_t SockAddrLength,
457 IN socklen_t SockAddrLength,
485 IN OUT socklen_t * pAddressLength,
513 IN OUT socklen_t * pAddressLength,
577 IN OUT socklen_t * __restrict option_len,
606 IN socklen_t option_len,
678 IN OUT socklen_t * pAddressLength,
746 IN socklen_t AddressLength,
/device/linaro/bootloader/edk2/StdLib/Include/netinet6/
Din6.h771 extern int inet6_opt_init (void *, socklen_t);
772 extern int inet6_opt_append (void *, socklen_t, int, uint8_t,
773 socklen_t, uint8_t, void **);
774 extern int inet6_opt_finish (void *, socklen_t, int);
775 extern int inet6_opt_set_val (void *, int, void *, socklen_t);
777 extern int inet6_opt_next (void *, socklen_t, int, uint8_t *,
778 socklen_t *, void **);
779 extern int inet6_opt_find (void *, socklen_t, int, uint8_t,
780 socklen_t *, void **);
781 extern int inet6_opt_get_val (void *, int, void *, socklen_t);
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DPlainSocket.h34 socklen_t *addressLen) override;
40 socklen_t addrLen) override;
DBufferedSocket.h41 socklen_t *addressLen) = 0;
51 socklen_t addrLen) = 0;
DSSLSocket.h61 socklen_t *addressLen) override;
67 socklen_t addrLen) override;
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h117 socklen_t* addrlen);
189 int Bind(const struct sockaddr* addr, socklen_t addrlen) { in Bind()
196 int Connect(const struct sockaddr* addr, socklen_t addrlen) { in Connect()
234 int GetSockName(struct sockaddr* addr, socklen_t* addrlen) { in GetSockName()
245 socklen_t length = sizeof(vm_socket); in VsockServerPort()
322 int SetSockOpt(int level, int optname, const void* optval, socklen_t optlen) { in SetSockOpt()
369 FileInstance* Accept(struct sockaddr* addr, socklen_t* addrlen) const { in Accept()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DPlainSocket.cpp37 socklen_t *addressLen) { in recvfrom()
45 socklen_t addrLen) { in sendto()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetSockOpt/
DSetSockOpt.c78 socklen_t LengthInBytes, in DisplayOption()
169 socklen_t
175 socklen_t BytesToWrite; in GetOptionValue()
249 socklen_t BytesToWrite; in main()
250 socklen_t LengthInBytes; in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/
DRawIp4Rx.c36 socklen_t LocalPortLength; in RawIp4Rx()
38 socklen_t RemotePortLength; in RawIp4Rx()
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/include/webrtc/
DRTPSocketHandler.h105 socklen_t mClientAddrLen;
129 socklen_t addrLen,
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DSocket.h499 IN OUT socklen_t * pSockAddrLength
655 OUT socklen_t * __restrict pOptionLength
677 IN socklen_t OptionLength
848 IN socklen_t SockAddrLength
899 IN socklen_t AddressLength
952 socklen_t MinimumAddressLength; ///< Minimum address length in bytes
953 socklen_t AddressLength; ///< Address length in bytes

123