Home
last modified time | relevance | path

Searched refs:fd_set (Results 1 – 25 of 274) sorted by relevance

1234567891011

/freebsd/sys/sys/
H A Dselect.h77 typedef struct fd_set { struct
79 } fd_set; typedef
89 __fdset_idx(const fd_set *p, unsigned long idx) in __fdset_idx()
112 fd_set *_p; \
124 int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
129 int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp132 fd_set *read_fdset_ptr = nullptr; in Select()
133 fd_set *write_fdset_ptr = nullptr; in Select()
134 fd_set *error_fdset_ptr = nullptr; in Select()
137 llvm::SmallVector<fd_set, 1> read_fdset; in Select()
138 llvm::SmallVector<fd_set, 1> write_fdset; in Select()
139 llvm::SmallVector<fd_set, 1> error_fdset; in Select()
153 for (auto &fd_set : read_fdset) in Select() local
154 FD_ZERO(&fd_set); in Select()
155 for (auto &fd_set : write_fdset) in Select() local
156 FD_ZERO(&fd_set); in Select()
[all …]
/freebsd/usr.sbin/ppp/
H A Dphysical.h62 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
157 extern int physical_doUpdateSet(struct fdescriptor *, fd_set *, fd_set *,
158 fd_set *, int *, int);
159 extern int physical_IsSet(struct fdescriptor *, const fd_set *);
161 const fd_set *);
163 extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
164 fd_set *);
H A Ddescriptor.h44 int (*UpdateSet)(struct fdescriptor *, fd_set *, fd_set *, fd_set *, int *);
45 int (*IsSet)(struct fdescriptor *, const fd_set *);
46 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *);
47 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
H A Dexec.c118 exec_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in exec_RemoveFromSet()
204 exec_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in exec_UpdateSet()
230 exec_IsSet(struct fdescriptor *d, const fd_set *fdset) in exec_IsSet()
H A Ddatalink.h151 extern int datalink_RemoveFromSet(struct datalink *, fd_set *, fd_set *,
152 fd_set *);
H A Dether.c136 ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in ether_RemoveFromSet()
223 fd_set *r; in ether_MessageIn()
376 ether_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in ether_UpdateSet()
395 ether_IsSet(struct fdescriptor *d, const fd_set *fdset) in ether_IsSet()
409 const fd_set *fdset) in ether_DescriptorRead()
H A Dserver.c51 server_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in server_UpdateSet()
73 server_IsSet(struct fdescriptor *d, const fd_set *fdset) in server_IsSet()
89 server_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) in server_Read()
196 const fd_set *fdset __unused) in server_Write()
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dnet.h159 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
160 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \
161 while (__i < ((fd_set FAR *)(set))->fd_count-1) { \
162 ((fd_set FAR *)(set))->fd_array[__i] = \
163 ((fd_set FAR *)(set))->fd_array[__i+1]; \
166 ((fd_set FAR *)(set))->fd_count--; \
175 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
176 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET)(fd)) { \
180 if (__i == ((fd_set FAR *)(set))->fd_count) { \
181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
[all …]
/freebsd/lib/libc/sys/
H A Dselect.c40 select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t) in select()
H A Dpselect.c40 pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t, in pselect()
/freebsd/lib/libc/tests/secure/
H A Dfortify_select_test.c171 fd_set __buf; in ATF_TC_BODY()
189 fd_set __buf; in ATF_TC_BODY()
207 fd_set __buf; in ATF_TC_BODY()
256 fd_set * __buf; in ATF_TC_BODY()
276 fd_set * __buf; in ATF_TC_BODY()
296 fd_set * __buf; in ATF_TC_BODY()
347 fd_set __buf; in ATF_TC_BODY()
365 fd_set __buf; in ATF_TC_BODY()
383 fd_set __buf; in ATF_TC_BODY()
432 fd_set * __buf; in ATF_TC_BODY()
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_select.h15 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
16 fd_set *pExceptFds, struct timeval *pTimeOut);
32 } fd_set; typedef
H A Dl_stdlib.h111 extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd/contrib/ntp/sntp/libevent/
H A Dselect.c82 fd_set *event_readset_in;
83 fd_set *event_writeset_in;
84 fd_set *event_readset_out;
85 fd_set *event_writeset_out;
147 fd_set *readset_out=NULL, *writeset_out=NULL; in select_dispatch()
214 fd_set *readset_in = NULL; in select_resize()
215 fd_set *writeset_in = NULL; in select_resize()
/freebsd/contrib/libevent/
H A Dselect.c82 fd_set *event_readset_in;
83 fd_set *event_writeset_in;
84 fd_set *event_readset_out;
85 fd_set *event_writeset_out;
147 fd_set *readset_out=NULL, *writeset_out=NULL; in select_dispatch()
214 fd_set *readset_in = NULL; in select_resize()
215 fd_set *writeset_in = NULL; in select_resize()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-pselect.c120 pselect_notify_prepare(fd_set *readset) in pselect_notify_prepare()
126 pselect_notify_done(fd_set *readset) in pselect_notify_done()
154 pselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in pselect()
H A Dbsd-misc.h130 int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *,
H A Dkludge-fd_set.c19 void kludge_FD_SET(int n, fd_set *set) { in kludge_FD_SET()
22 int kludge_FD_ISSET(int n, fd_set *set) { in kludge_FD_ISSET()
/freebsd/contrib/pf/libevent/
H A Dselect.c65 fd_set *event_readset_in;
66 fd_set *event_writeset_in;
67 fd_set *event_readset_out;
68 fd_set *event_writeset_out;
218 fd_set *readset_in = NULL; in select_resize()
219 fd_set *writeset_in = NULL; in select_resize()
220 fd_set *readset_out = NULL; in select_resize()
221 fd_set *writeset_out = NULL; in select_resize()
/freebsd/contrib/telnet/telnet/
H A Dnetwork.c81 fd_set excepts; in stilloob()
87 value = select(net+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout); in stilloob()
/freebsd/lib/libc/rpc/
H A Drtime.c70 fd_set readfds; in rtime()
107 (fd_set *)NULL, (fd_set *)NULL, timeout); in rtime()
/freebsd/contrib/ofed/librdmacm/
H A Drsocket.h70 int rselect(int nfds, fd_set *readfds, fd_set *writefds,
71 fd_set *exceptfds, struct timeval *timeout);
/freebsd/contrib/capsicum-test/
H A Dselect.cc13 int AddFDToSet(fd_set* fset, int fd, int maxfd) { in AddFDToSet()
19 int InitFDSet(fd_set* fset, int *fds, int fdcount) { in InitFDSet()
57 fd_set rset;
58 fd_set wset;
/freebsd/lib/libc/isc/
H A Deventlib_p.h231 fd_set rdLast, rdNext;
232 fd_set wrLast, wrNext;
233 fd_set exLast, exNext;
234 fd_set nonblockBefore;

1234567891011