Home
last modified time | relevance | path

Searched refs:restricted_port_bitmap (Results 1 – 2 of 2) sorted by relevance

/xnu-8019.80.24/bsd/net/
H A Drestricted_in_port.c56 bitmap_t *restricted_port_bitmap = NULL; variable
206 int error = SYSCTL_OUT(req, restricted_port_bitmap, BITMAP_SIZE(UINT16_MAX));
300 bitmap_clear(restricted_port_bitmap, restricted_port_test); in sysctl_restricted_port_test_common()
323 bitmap_set(restricted_port_bitmap, restricted_port_test); in sysctl_restricted_port_test_common()
378 restricted_port_bitmap = bitmap_alloc(UINT16_MAX); in restricted_in_port_init()
380 if (restricted_port_bitmap == NULL) { in restricted_in_port_init()
393 bitmap_set(restricted_port_bitmap, rpe->rpe_port); in restricted_in_port_init()
H A Drestricted_in_port.h47 #define IS_RESTRICTED_IN_PORT(x) (bitmap_test(restricted_port_bitmap, ntohs((uint16_t)(x))))
49 extern bitmap_t *restricted_port_bitmap;