Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/uts/common/sys/
H A Dsocket_proto.h108 socklen_t, sock_connid_t *, cred_t *);
110 socklen_t *, cred_t *);
112 socklen_t *, cred_t *);
114 socklen_t *, cred_t *);
116 socklen_t, cred_t *);
140 socklen_t, struct sockaddr *, socklen_t, short);
151 socklen_t, cred_t *);
156 socklen_t *, cred_t *);
158 socklen_t *, cred_t *);
160 socklen_t *, cred_t *);
[all …]
H A Dsockfilter.h76 void *, struct sockaddr *, socklen_t, struct sockaddr *, socklen_t,
86 struct sockaddr *, socklen_t *, cred_t *);
91 struct sockaddr *, socklen_t *, cred_t *);
95 struct sockaddr *, socklen_t *, cred_t *);
97 struct sockaddr *, socklen_t *, cred_t *);
99 int, int, void *, socklen_t *, cred_t *);
101 int, int, void *, socklen_t *, cred_t *);
H A Dksocket.h88 extern int ksocket_bind(ksocket_t, struct sockaddr *, socklen_t,
91 extern int ksocket_accept(ksocket_t, struct sockaddr *, socklen_t *,
93 extern int ksocket_connect(ksocket_t, struct sockaddr *, socklen_t,
98 struct sockaddr *, socklen_t, size_t *, struct cred *);
106 struct sockaddr *, socklen_t *, size_t *, struct cred *);
114 extern int ksocket_getpeername(ksocket_t, struct sockaddr *, socklen_t *,
116 extern int ksocket_getsockname(ksocket_t, struct sockaddr *, socklen_t *,
H A Dsocket.h80 typedef size_t socklen_t; typedef
82 typedef uint32_t socklen_t;
86 typedef socklen_t *_RESTRICT_KYWD Psocklen_t;
361 socklen_t msg_namelen; /* size of address */
367 socklen_t msg_controllen; /* ancillary data buffer len */
384 socklen_t msg_namelen; /* size of address */
457 socklen_t cmsg_len; /* data byte count, including hdr */
543 extern int bind(int, const struct sockaddr *, socklen_t);
544 extern int connect(int, const struct sockaddr *, socklen_t);
557 socklen_t);
[all …]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon.h53 extern int socket_bind(struct sonode *, struct sockaddr *, socklen_t, int,
58 socklen_t, int, int, struct cred *);
64 extern int socket_getsockopt(struct sonode *, int, int, void *, socklen_t *,
67 socklen_t, struct cred *);
112 socklen_t *, boolean_t, struct cred *);
120 extern int so_bind(struct sonode *, struct sockaddr *, socklen_t, int,
124 socklen_t, int, int, struct cred *);
126 socklen_t *, int, struct cred *);
128 socklen_t, struct cred *);
130 socklen_t *, boolean_t, struct cred *);
[all …]
H A Dsockfilter_impl.h149 extern int sof_setsockopt(struct sonode *, int, const void *, socklen_t,
151 extern int sof_getsockopt(struct sonode *, int, void *, socklen_t *,
187 socklen_t *, cred_t *);
190 socklen_t *, cred_t *);
194 socklen_t *, cred_t *);
196 socklen_t *, cred_t *);
198 socklen_t *, cred_t *);
200 socklen_t *, cred_t *);
H A Dsock_notsupp.c46 socklen_t namelen, struct cred *cr) in sock_bind_notsupp()
62 const struct sockaddr *name, socklen_t namelen, sock_connid_t *conp, in sock_connect_notsupp()
71 socklen_t *len, struct cred *cr) in sock_getsockname_notsupp()
79 socklen_t *addrlen, struct cred *cr) in sock_getpeername_notsupp()
87 int option_name, void *optval, socklen_t *optlenp, struct cred *cr) in sock_getsockopt_notsupp()
95 int option_name, const void *optval, socklen_t optlen, struct cred *cr) in sock_setsockopt_notsupp()
H A Dsocktpi_impl.h58 socklen_t);
60 socklen_t, int, void **, socklen_t *);
92 socklen_t, struct uio *, int);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c51 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init()
71 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, in inet6_opt_append()
72 socklen_t len, uint_t align, void **databufp) in inet6_opt_append()
75 socklen_t endlen; in inet6_opt_append()
143 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) in inet6_opt_finish()
197 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) in inet6_opt_set_val()
212 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, uint8_t *typep, in inet6_opt_next()
213 socklen_t *lenp, void **databufp) in inet6_opt_next()
273 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, uint8_t type, in inet6_opt_find()
274 socklen_t *lenp, void **databufp) in inet6_opt_find()
[all …]
H A Drexec.c128 socklen_t sin2len; in rexec_af()
138 sin2len = (socklen_t)sizeof (sin2); in rexec_af()
152 socklen_t len = (socklen_t)sizeof (from); in rexec_af()
/illumos-gate/usr/src/boot/sys/sys/
H A Dsocket.h71 typedef __socklen_t socklen_t; typedef
409 socklen_t msg_namelen; /* size of address */
413 socklen_t msg_controllen; /* ancillary data buffer len */
447 socklen_t cmsg_len; /* data byte count, including hdr */
615 int accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
616 int bind(int, const struct sockaddr *, socklen_t);
617 int connect(int, const struct sockaddr *, socklen_t);
620 int bindat(int, int, const struct sockaddr *, socklen_t);
621 int connectat(int, int, const struct sockaddr *, socklen_t);
637 size_t, int, const struct sockaddr *, socklen_t);
[all …]
/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c79 socklen_t *);
82 const struct sockaddr *, socklen_t);
216 const struct sockaddr *to, socklen_t tolen) in st_local_sendto()
237 struct sockaddr *from, socklen_t *fromlen) in st_local_recvfrom()
259 socklen_t *optlen) in st_local_getsockopt()
270 socklen_t optlen) in st_local_setsockopt()
514 socklen_t addr_len; in st_accept()
669 socklen_t fromlen; in st_recvfrom()
714 socklen_t addr_size; in st_echo()
846 socklen_t len; in st_getsockname()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dsdp_itf.h87 socklen_t addrlen);
90 const struct sockaddr *dst, socklen_t addrlen);
99 void *opts, socklen_t *optlen);
101 struct sockaddr *addr, socklen_t *addrlen);
103 struct sockaddr *addr, socklen_t *addrlen);
111 const void *opts, socklen_t optlen);
H A Dsctp_itf.h81 socklen_t addrlen);
86 socklen_t addrlen, cred_t *cr, pid_t pid);
92 socklen_t *optlen);
94 socklen_t *addrlen);
96 socklen_t *addrlen);
102 const void *opts, socklen_t optlen);
/illumos-gate/usr/src/boot/include/netinet6/
H A Din6.h683 typedef __socklen_t socklen_t; typedef
712 extern int inet6_opt_init(void *, socklen_t);
713 extern int inet6_opt_append(void *, socklen_t, int, uint8_t, socklen_t,
715 extern int inet6_opt_finish(void *, socklen_t, int);
716 extern int inet6_opt_set_val(void *, int, void *, socklen_t);
718 extern int inet6_opt_next(void *, socklen_t, int, uint8_t *, socklen_t *,
720 extern int inet6_opt_find(void *, socklen_t, int, uint8_t, socklen_t *,
722 extern int inet6_opt_get_val(void *, int, void *, socklen_t);
723 extern socklen_t inet6_rth_space(int, int);
724 extern void *inet6_rth_init(void *, socklen_t, int, int);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h115 …== AF_INET6 ? (socklen_t) sizeof (struct sockaddr_in6) : (X)->sa_family == AF_INET ? (socklen_t) s…
117 … define socklen(X) ((X)->sa_family == AF_INET ? (socklen_t) sizeof (struct sockaddr_in) : (sockl…
/illumos-gate/usr/src/lib/libsocket/socket/
H A Dweaks.c82 _bind(int sock, struct sockaddr *addr, socklen_t addrlen) in _bind()
106 _connect(int sock, struct sockaddr *addr, socklen_t addrlen) in _connect()
151 const struct sockaddr *addr, socklen_t addrlen) in _sendto()
174 socklen_t len = *optlen; in _getsockopt()
214 _setsockopt(int sock, int level, int optname, char *optval, socklen_t optlen) in _setsockopt()
221 __xnet_bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in __xnet_bind()
234 __xnet_connect(int sock, const struct sockaddr *addr, socklen_t addrlen) in __xnet_connect()
253 const struct sockaddr *addr, socklen_t addrlen) in __xnet_sendto()
261 void *option_value, socklen_t *option_lenp) in __xnet_getsockopt()
/illumos-gate/usr/src/uts/common/netinet/
H A Din.h55 typedef size_t socklen_t; typedef
57 typedef uint32_t socklen_t;
61 typedef socklen_t *Psocklen_t;
1154 extern socklen_t inet6_rth_space(int type, int segments);
1161 extern int inet6_opt_init(void *extbuf, socklen_t extlen);
1163 uint8_t type, socklen_t len, uint_t align, void **databufp);
1166 socklen_t vallen);
1167 extern int inet6_opt_next(void *extbuf, socklen_t extlen, int offset,
1168 uint8_t *typep, socklen_t *lenp, void **databufp);
1170 uint8_t type, socklen_t *lenp, void **databufp);
[all …]
/illumos-gate/usr/src/lib/libc/port/inet/
H A Dinet_ntop.c38 static const char *inet_ntop4(const uchar_t *, char *, socklen_t);
39 static const char *inet_ntop6(const uchar_t *, char *, socklen_t);
49 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop()
75 inet_ntop4(const uchar_t *src, char *dst, socklen_t size) in inet_ntop4()
97 inet_ntop6(const uchar_t *src, char *dst, socklen_t size) in inet_ntop6()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dctl.c70 socklen_t length; in open_sockt()
85 length = (socklen_t) sizeof (my_addr); in open_sockt()
97 socklen_t length; in open_ctl()
113 length = (socklen_t) sizeof (ctl_addr); in open_ctl()
/illumos-gate/usr/src/head/
H A Dnetdb.h120 socklen_t ai_addrlen;
283 struct hostent *gethostbyaddr(const void *, socklen_t, int);
325 socklen_t, char *_RESTRICT_KYWD, socklen_t,
326 char *_RESTRICT_KYWD, socklen_t, int);
/illumos-gate/usr/src/lib/libsctp/common/
H A Dsctp.c68 socklen_t sz; in sctp_bindx()
108 socklen_t bufsz; in sctp_getpaddrs()
169 socklen_t bufsz; in sctp_getladdrs()
227 sctp_opt_info(int sock, sctp_assoc_t id, int opt, void *arg, socklen_t *len) in sctp_opt_info()
262 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) in sctp_recvmsg()
310 socklen_t tolen, uint32_t ppid, uint32_t sinfo_flags, uint16_t stream_no, in sctp_send_common()
364 socklen_t tolen, uint32_t ppid, uint32_t flags, uint16_t stream_no, in sctp_sendmsg()
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getsockname.c41 int syscall, int sock, struct sockaddr *name, socklen_t *namelen) in get_sock_peer_name()
86 extern int _so_getsockname(int, struct sockaddr *, socklen_t *, int);
87 extern int _so_getpeername(int, struct sockaddr *, socklen_t *, int);
95 int sock, struct sockaddr *name, socklen_t *namelen) in pr_getsockname()
108 int sock, struct sockaddr *name, socklen_t *namelen) in pr_getpeername()
/illumos-gate/usr/src/boot/include/arpa/
H A Dinet.h104 typedef __socklen_t socklen_t; typedef
148 socklen_t);
160 char *inet_ntoa_r(struct in_addr, char *buf, socklen_t size);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Din.talkd.c72 socklen_t from_size = (socklen_t)sizeof (from); in main()
114 (socklen_t)sizeof (request.ctl_addr)); in main()

12345678