/src/usr.sbin/wgconfig/ |
wgconfig.c | 132 prop_array_t allowedips; local in function:handle_allowed_ips 137 prop_obj = prop_dictionary_get(peer, "allowedips"); 141 errx(EXIT_FAILURE, "invalid allowedips"); 142 allowedips = prop_obj; 146 it = prop_array_iterator(allowedips); 580 prop_array_t allowedips; local in function:handle_option_allowed_ips 588 allowedips = prop_array_create(); 589 if (allowedips == NULL) 651 prop_array_set(allowedips, i, prop_allowedip); 653 prop_dictionary_set(prop_dict, "allowedips", allowedips) [all...] |
wgconfig.c | 132 prop_array_t allowedips; local in function:handle_allowed_ips 137 prop_obj = prop_dictionary_get(peer, "allowedips"); 141 errx(EXIT_FAILURE, "invalid allowedips"); 142 allowedips = prop_obj; 146 it = prop_array_iterator(allowedips); 580 prop_array_t allowedips; local in function:handle_option_allowed_ips 588 allowedips = prop_array_create(); 589 if (allowedips == NULL) 651 prop_array_set(allowedips, i, prop_allowedip); 653 prop_dictionary_set(prop_dict, "allowedips", allowedips) [all...] |
/src/sys/net/ |
if_wg.c | 145 * - It has a list of IP addresses and sub networks called allowedips 4736 prop_array_t allowedips; local in function:wg_handle_prop_peer 4738 allowedips = prop_dictionary_get(peer, "allowedips"); 4739 if (allowedips == NULL) 4742 prop_object_iterator_t _it = prop_array_iterator(allowedips); 5100 prop_array_t allowedips = prop_array_create(); local in function:wg_ioctl_get 5101 if (allowedips == NULL) 5138 prop_array_set(allowedips, j, prop_allowedip); 5142 prop_dictionary_set(prop_peer, "allowedips", allowedips) [all...] |
if_wg.c | 145 * - It has a list of IP addresses and sub networks called allowedips 4736 prop_array_t allowedips; local in function:wg_handle_prop_peer 4738 allowedips = prop_dictionary_get(peer, "allowedips"); 4739 if (allowedips == NULL) 4742 prop_object_iterator_t _it = prop_array_iterator(allowedips); 5100 prop_array_t allowedips = prop_array_create(); local in function:wg_ioctl_get 5101 if (allowedips == NULL) 5138 prop_array_set(allowedips, j, prop_allowedip); 5142 prop_dictionary_set(prop_peer, "allowedips", allowedips) [all...] |