Searched refs:fd_ptr (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | print_toif.c | 21 (fdp->fd_ptr || (long)fdp->fd_ptr == -1) ? "" : "(!)"); in print_toif()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | evutil.c | 523 evutil_socket_connect_(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen) in evutil_socket_connect_() argument 527 if (*fd_ptr < 0) { in evutil_socket_connect_() 528 if ((*fd_ptr = socket(sa->sa_family, SOCK_STREAM, 0)) < 0) in evutil_socket_connect_() 531 if (evutil_make_socket_nonblocking(*fd_ptr) < 0) { in evutil_socket_connect_() 536 if (connect(*fd_ptr, sa, socklen) < 0) { in evutil_socket_connect_() 537 int e = evutil_socket_geterror(*fd_ptr); in evutil_socket_connect_() 549 evutil_closesocket(*fd_ptr); in evutil_socket_connect_() 550 *fd_ptr = -1; in evutil_socket_connect_()
|
| H A D | util-internal.h | 264 int evutil_socket_connect_(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen);
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | evutil.c | 527 evutil_socket_connect_(evutil_socket_t *fd_ptr, const struct sockaddr *sa, int socklen) in evutil_socket_connect_() argument 531 if (*fd_ptr < 0) { in evutil_socket_connect_() 532 if ((*fd_ptr = socket(sa->sa_family, SOCK_STREAM, 0)) < 0) in evutil_socket_connect_() 535 if (evutil_make_socket_nonblocking(*fd_ptr) < 0) { in evutil_socket_connect_() 540 if (connect(*fd_ptr, sa, socklen) < 0) { in evutil_socket_connect_() 541 int e = evutil_socket_geterror(*fd_ptr); in evutil_socket_connect_() 553 evutil_closesocket(*fd_ptr); in evutil_socket_connect_() 554 *fd_ptr = -1; in evutil_socket_connect_()
|
| H A D | util-internal.h | 264 int evutil_socket_connect_(evutil_socket_t *fd_ptr, const struct sockaddr *sa, int socklen);
|
| /freebsd-13.1/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_dstlist.c | 567 node->ipfd_dest.fd_ptr == (void *)-1) in ipf_dstlist_node_add() 1219 if (fdp->fd_ptr == NULL) in ipf_dstlist_select_node() 1220 fdp->fd_ptr = fin->fin_ifp; in ipf_dstlist_select_node()
|
| H A D | fil.c | 3138 if ((fdp != NULL) && (fdp->fd_ptr != NULL) && in ipf_check() 3139 (fdp->fd_ptr != (void *)-1)) { in ipf_check() 3153 } else if ((fdp != NULL) && (fdp->fd_ptr != NULL) && in ipf_check() 3154 (fdp->fd_ptr != (struct ifnet *)-1)) { in ipf_check() 3947 if ((ifp == NULL) || (fdp->fd_ptr == ifp)) { in ipf_synclist() 3954 if ((ifp == NULL) || (fdp->fd_ptr == ifp)) { in ipf_synclist() 3961 if ((ifp == NULL) || (fdp->fd_ptr == ifp)) { in ipf_synclist() 4616 if ((fp->fr_tifs[0].fd_ptr != NULL) || in frrequest() 4617 (fp->fr_tifs[1].fd_ptr != NULL) || in frrequest() 4618 (fp->fr_dif.fd_ptr != NULL) || in frrequest() [all …]
|
| H A D | ip_fil_freebsd.c | 735 if (ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, &node) == 0) in ipf_fastroute() 740 ifp = fdp->fd_ptr; in ipf_fastroute()
|
| H A D | ip_state.c | 1824 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, in ipf_state_add() 1832 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, in ipf_state_add() 1841 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, in ipf_state_add()
|
| H A D | ip_fil.h | 517 void *fd_ptr; member
|
| H A D | ip_nat6.c | 2586 ifp = fr->fr_tifs[fin->fin_rev].fd_ptr; in ipf_nat6_checkout()
|
| H A D | ip_nat.c | 4789 ifp = fr->fr_tifs[fin->fin_rev].fd_ptr; in ipf_nat_checkout()
|
| /freebsd-13.1/sbin/ipf/ipftest/ |
| H A D | ip_fil.c | 395 ipf_dstlist_select_node(fin, fdp->fd_ptr, NULL, &node); 398 ifp = fdp->fd_ptr;
|
| /freebsd-13.1/sbin/ipf/common/ |
| H A D | ipf_y.y | 646 fr->fr_dif.fd_ptr = (void *)-1; 676 fr->fr_tif.fd_ptr = (void *)-1; 704 fr->fr_rif.fd_ptr = (void *)-1;
|