Home
last modified time | relevance | path

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

/NextBSD/contrib/ntp/lib/isc/
HDportset.c42 portset_isset(isc_portset_t *portset, in_port_t port) { in portset_isset() argument
43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0)); in portset_isset()
47 portset_add(isc_portset_t *portset, in_port_t port) { in portset_add() argument
48 if (!portset_isset(portset, port)) { in portset_add()
49 portset->nports++; in portset_add()
50 portset->buf[port >> 5] |= (1 << (port & 31)); in portset_add()
55 portset_remove(isc_portset_t *portset, in_port_t port) { in portset_remove() argument
56 if (portset_isset(portset, port)) { in portset_remove()
57 portset->nports--; in portset_remove()
58 portset->buf[port >> 5] &= ~(1 << (port & 31)); in portset_remove()
[all …]
/NextBSD/contrib/ntp/lib/isc/include/isc/
HDportset.h72 isc_portset_isset(isc_portset_t *portset, in_port_t port);
84 isc_portset_nports(isc_portset_t *portset);
96 isc_portset_add(isc_portset_t *portset, in_port_t port);
106 isc_portset_remove(isc_portset_t *portset, in_port_t port);
116 isc_portset_addrange(isc_portset_t *portset, in_port_t port_lo,
128 isc_portset_removerange(isc_portset_t *portset, in_port_t port_lo,
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/server-portset-fiddling/
HDMakefile2 PROG= bootstrap-portset-fiddling-server-test
3 SRCS= bootstrap-portset-fiddling-server.c
/NextBSD/usr.bin/mach-tests/bootstrap-kqueue/
HDMakefile6 server-portset-fiddling \
/NextBSD/contrib/ntp/lib/isc/win32/
HDlibisc.mak165 -@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.sbr" : $(SOURCE) "$(INTDIR)"
HDlibisc.dsp430 SOURCE=..\include\isc\portset.h
714 SOURCE=..\portset.c
/NextBSD/lib/libxpc/
HDxpc_misc.c474 xpc_pipe_try_receive(mach_port_t portset, xpc_object_t *requestobj, mach_port_t *rcvport, in xpc_pipe_try_receive() argument
493 request->msgh_local_port = portset; in xpc_pipe_try_receive()
/NextBSD/sys/compat/mach/defs/
HDmach_port.defs476 * Inserts the specified rights into the portset identified
481 * If the <task,pset> pair does not represent a valid portset
488 * the portset, KERN_ALREADY_IN_SET is returned.
496 * Extracts the specified right from the named portset
/NextBSD/lib/libmach/test/kqueue_tests/
HDkqueue_tests.c136 kmsg_recv(mach_port_t portset, mach_port_t port, int * msgh_id_return) in kmsg_recv() argument
/NextBSD/usr.bin/mach-tests/kqueue-tests/
HDkqueue-tests.c136 kmsg_recv(mach_port_t portset, mach_port_t port, int * msgh_id_return) in kmsg_recv() argument
/NextBSD/contrib/ntp/
HDCommitLog81540 lib/isc/include/isc/portset.h@1.2 +2 -2
148130 lib/isc/include/isc/portset.h@1.1 +141 -0
148133 lib/isc/include/isc/portset.h@1.0 +0 -0
148361 lib/isc/portset.c@1.1 +143 -0
148364 lib/isc/portset.c@1.0 +0 -0