Searched refs:fd_ptr (Results 1 – 14 of 14) sorted by relevance
| /src/sbin/ipf/libipf/ |
| H A D | print_toif.c | 20 (fdp->fd_ptr || (long)fdp->fd_ptr == -1) ? "" : "(!)"); in print_toif()
|
| /src/contrib/libevent/ |
| H A D | evutil.c | 543 evutil_socket_connect_(evutil_socket_t *fd_ptr, const struct sockaddr *sa, int socklen) in evutil_socket_connect_() argument 547 if (*fd_ptr < 0) { in evutil_socket_connect_() 548 if ((*fd_ptr = socket(sa->sa_family, SOCK_STREAM, 0)) < 0) in evutil_socket_connect_() 551 if (evutil_make_socket_nonblocking(*fd_ptr) < 0) { in evutil_socket_connect_() 556 if (connect(*fd_ptr, sa, socklen) < 0) { in evutil_socket_connect_() 557 int e = evutil_socket_geterror(*fd_ptr); in evutil_socket_connect_() 569 evutil_closesocket(*fd_ptr); in evutil_socket_connect_() 570 *fd_ptr = -1; in evutil_socket_connect_()
|
| H A D | util-internal.h | 301 int evutil_socket_connect_(evutil_socket_t *fd_ptr, const struct sockaddr *sa, int socklen);
|
| /src/contrib/ntp/sntp/libevent/ |
| H A D | evutil.c | 543 evutil_socket_connect_(evutil_socket_t *fd_ptr, const struct sockaddr *sa, int socklen) in evutil_socket_connect_() argument 547 if (*fd_ptr < 0) { in evutil_socket_connect_() 548 if ((*fd_ptr = socket(sa->sa_family, SOCK_STREAM, 0)) < 0) in evutil_socket_connect_() 551 if (evutil_make_socket_nonblocking(*fd_ptr) < 0) { in evutil_socket_connect_() 556 if (connect(*fd_ptr, sa, socklen) < 0) { in evutil_socket_connect_() 557 int e = evutil_socket_geterror(*fd_ptr); in evutil_socket_connect_() 569 evutil_closesocket(*fd_ptr); in evutil_socket_connect_() 570 *fd_ptr = -1; in evutil_socket_connect_()
|
| H A D | util-internal.h | 301 int evutil_socket_connect_(evutil_socket_t *fd_ptr, const struct sockaddr *sa, int socklen);
|
| /src/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_dstlist.c | 564 node->ipfd_dest.fd_ptr == (void *)-1) in ipf_dstlist_node_add() 1216 if (fdp->fd_ptr == NULL) in ipf_dstlist_select_node() 1217 fdp->fd_ptr = fin->fin_ifp; in ipf_dstlist_select_node()
|
| H A D | fil.c | 3141 if ((fdp != NULL) && (fdp->fd_ptr != NULL) && in ipf_check() 3142 (fdp->fd_ptr != (void *)-1)) { in ipf_check() 3156 } else if ((fdp != NULL) && (fdp->fd_ptr != NULL) && in ipf_check() 3157 (fdp->fd_ptr != (struct ifnet *)-1)) { in ipf_check() 3973 if ((ifp == NULL) || (fdp->fd_ptr == ifp)) { in ipf_synclist() 3980 if ((ifp == NULL) || (fdp->fd_ptr == ifp)) { in ipf_synclist() 3987 if ((ifp == NULL) || (fdp->fd_ptr == ifp)) { in ipf_synclist() 4689 if ((fp->fr_tifs[0].fd_ptr != NULL) || in frrequest() 4690 (fp->fr_tifs[1].fd_ptr != NULL) || in frrequest() 4691 (fp->fr_dif.fd_ptr != NULL) || in frrequest() [all …]
|
| H A D | ip_fil_freebsd.c | 731 if (ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, &node) == 0) in ipf_fastroute() 736 ifp = fdp->fd_ptr; in ipf_fastroute()
|
| H A D | ip_state.c | 1810 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, in ipf_state_add() 1818 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, in ipf_state_add() 1827 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, in ipf_state_add()
|
| H A D | ip_fil.h | 514 void *fd_ptr; member
|
| H A D | ip_nat6.c | 2577 ifp = fr->fr_tifs[fin->fin_rev].fd_ptr; in ipf_nat6_checkout()
|
| H A D | ip_nat.c | 4818 ifp = fr->fr_tifs[fin->fin_rev].fd_ptr; in ipf_nat_checkout()
|
| /src/sbin/ipf/ipftest/ |
| H A D | ip_fil.c | 390 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, &node); 393 ifp = fdp->fd_ptr;
|
| /src/sbin/ipf/common/ |
| H A D | ipf_y.y | 645 fr->fr_dif.fd_ptr = (void *)-1; 675 fr->fr_tif.fd_ptr = (void *)-1; 703 fr->fr_rif.fd_ptr = (void *)-1;
|