Searched refs:state_kill (Results 1 – 1 of 1) sorted by relevance
/freebsd/sbin/pfctl/ |
H A D | pfctl.c | 142 static char *state_kill[2]; variable 726 if (state_killers == 2 && (strcmp(state_kill[0], "nat") == 0)) { in pfctl_net_kill_states() 728 state_kill[0] = state_kill[1]; in pfctl_net_kill_states() 732 pfctl_addrprefix(state_kill[0], &kill.src.addr.v.a.mask); in pfctl_net_kill_states() 737 if ((ret_ga = getaddrinfo(state_kill[0], NULL, NULL, &res[0]))) { in pfctl_net_kill_states() 767 pfctl_addrprefix(state_kill[1], in pfctl_net_kill_states() 769 if ((ret_ga = getaddrinfo(state_kill[1], NULL, NULL, in pfctl_net_kill_states() 831 if (state_killers != 2 || (strlen(state_kill[1]) == 0)) { in pfctl_gateway_kill_states() 847 pfctl_addrprefix(state_kill[1], &kill.rt_addr.addr.v.a.mask); in pfctl_gateway_kill_states() 849 if ((ret_ga = getaddrinfo(state_kill[1], NULL, NULL, &res))) { in pfctl_gateway_kill_states() [all …]
|