/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | portset.c | 17 /* $Id: portset.c,v 1.4 2008/06/24 23:24:35 marka Exp $ */ 24 #include <isc/portset.h> 32 * Internal representation of portset. It's an array of 32-bit integers, each 42 portset_isset(isc_portset_t *portset, in_port_t port) { argument 43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0)); 47 portset_add(isc_portset_t *portset, in_port_t port) { argument 48 if (!portset_isset(portset, port)) { 49 portset->nports++; 50 portset->buf[port >> 5] |= (1 << (port & 31)); 55 portset_remove(isc_portset_t *portset, in_port_ argument 64 isc_portset_t *portset; local 81 isc_portset_t *portset; local 90 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument 97 isc_portset_nports(isc_portset_t *portset) argument 104 isc_portset_add(isc_portset_t *portset, in_port_t port) argument 111 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument 116 isc_portset_addrange(isc_portset_t *portset, in_port_t port_lo, in_port_t port_hi) argument 131 isc_portset_removerange(isc_portset_t *portset, in_port_t port_lo, in_port_t port_hi) argument [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | portset.c | 17 /* $Id: portset.c,v 1.4 2008/06/24 23:24:35 marka Exp $ */ 24 #include <isc/portset.h> 32 * Internal representation of portset. It's an array of 32-bit integers, each 42 portset_isset(isc_portset_t *portset, in_port_t port) { argument 43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0)); 47 portset_add(isc_portset_t *portset, in_port_t port) { argument 48 if (!portset_isset(portset, port)) { 49 portset->nports++; 50 portset->buf[port >> 5] |= (1 << (port & 31)); 55 portset_remove(isc_portset_t *portset, in_port_ argument 64 isc_portset_t *portset; local 81 isc_portset_t *portset; local 90 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument 97 isc_portset_nports(isc_portset_t *portset) argument 104 isc_portset_add(isc_portset_t *portset, in_port_t port) argument 111 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument 116 isc_portset_addrange(isc_portset_t *portset, in_port_t port_lo, in_port_t port_hi) argument 131 isc_portset_removerange(isc_portset_t *portset, in_port_t port_lo, in_port_t port_hi) argument [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/ |
H A D | portset.h | 17 /* $Id: portset.h,v 1.6 2009/06/25 05:28:34 marka Exp $ */ 19 /*! \file isc/portset.h 72 isc_portset_isset(isc_portset_t *portset, in_port_t port); 74 * Test whether the given port is stored in the portset. 77 *\li 'portset' to be a valid set. 84 isc_portset_nports(isc_portset_t *portset); 86 * Provides the number of ports stored in the given portset. 89 *\li 'portset' to be a valid set. 92 * \li the number of ports stored in portset. 96 isc_portset_add(isc_portset_t *portset, in_port_ [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | portset.h | 17 /* $Id: portset.h,v 1.6 2009/06/25 05:28:34 marka Exp $ */ 19 /*! \file isc/portset.h 72 isc_portset_isset(isc_portset_t *portset, in_port_t port); 74 * Test whether the given port is stored in the portset. 77 *\li 'portset' to be a valid set. 84 isc_portset_nports(isc_portset_t *portset); 86 * Provides the number of ports stored in the given portset. 89 *\li 'portset' to be a valid set. 92 * \li the number of ports stored in portset. 96 isc_portset_add(isc_portset_t *portset, in_port_ [all...] |
/freebsd-9.3-release/lib/bind/isc/ |
H A D | Makefile | 40 parseint.c pool.c portset.c \ 104 ${SRCDIR}/include/isc/portset.h \
|
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/ |
H A D | libisc.mak | 165 -@erase "$(INTDIR)\portset.obj" 289 "$(INTDIR)\portset.obj" \ 406 -@erase "$(INTDIR)\portset.obj" 407 -@erase "$(INTDIR)\portset.sbr" 558 "$(INTDIR)\portset.sbr" \ 646 "$(INTDIR)\portset.obj" \ 1693 SOURCE=..\portset.c 1698 "$(INTDIR)\portset.obj" : $(SOURCE) "$(INTDIR)" 1705 "$(INTDIR)\portset.obj" "$(INTDIR)\portset [all...] |
/freebsd-9.3-release/contrib/bind9/bin/named/ |
H A D | server.c | 41 #include <isc/portset.h> 4514 portset_fromconf(isc_portset_t *portset, const cfg_obj_t *ports, argument 4528 isc_portset_add(portset, port); 4530 isc_portset_remove(portset, port); 4541 isc_portset_addrange(portset, loport, hiport); 4543 isc_portset_removerange(portset, loport,
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | dispatch.c | 32 #include <isc/portset.h>
|