Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Disrv.c40 #define FD2PEER (state->fd2peer) macro
93 FD2PEER = xrealloc(FD2PEER, FD_COUNT * sizeof(FD2PEER[0])); in isrv_register_fd()
94 while (n < fd) FD2PEER[n++] = -1; in isrv_register_fd()
99 FD2PEER[fd] = peer; in isrv_register_fd()
112 FD2PEER[fd] = -1; in isrv_close_fd()
114 do fd--; while (fd >= 0 && FD2PEER[fd] == -1); in isrv_close_fd()
119 FD2PEER = xrealloc(FD2PEER, FD_COUNT * sizeof(FD2PEER[0])); in isrv_close_fd()
151 if (FD2PEER[fd] == peer) { in remove_peer()
156 if (FD2PEER[fd] > peer) in remove_peer()
157 FD2PEER[fd]--; in remove_peer()
[all …]