Lines Matching defs:port
25 * bit corresponding to a single port in the ascending order. For example,
26 * the second most significant bit of buf[0] corresponds to port 1.
34 portset_isset(isc_portset_t *portset, in_port_t port) {
35 return (ISC_TF((portset->buf[port >> 5] & ((isc_uint32_t)1 << (port & 31))) != 0));
39 portset_add(isc_portset_t *portset, in_port_t port) {
40 if (!portset_isset(portset, port)) {
42 portset->buf[port >> 5] |= ((isc_uint32_t)1 << (port & 31));
47 portset_remove(isc_portset_t *portset, in_port_t port) {
48 if (portset_isset(portset, port)) {
50 portset->buf[port >> 5] &= ~((isc_uint32_t)1 << (port & 31));
82 isc_portset_isset(isc_portset_t *portset, in_port_t port) {
85 return (portset_isset(portset, port));
96 isc_portset_add(isc_portset_t *portset, in_port_t port) {
99 portset_add(portset, port);
103 isc_portset_remove(isc_portset_t *portset, in_port_t port) {
104 portset_remove(portset, port);