Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/pf/pf_ioctl.c
Show First 20 Lines • Show All 4,659 Lines • ▼ Show 20 Lines | case DIOCCLRSRCNODES: { | ||||
pf_purge_expired_src_nodes(); | pf_purge_expired_src_nodes(); | ||||
break; | break; | ||||
} | } | ||||
case DIOCKILLSRCNODES: | case DIOCKILLSRCNODES: | ||||
pf_kill_srcnodes((struct pfioc_src_node_kill *)addr); | pf_kill_srcnodes((struct pfioc_src_node_kill *)addr); | ||||
break; | break; | ||||
#ifdef COMPAT_FREEBSD13 | |||||
jhb: Given you've merged it to stable/13, I think it probably should be COMPAT_FREEBSD13 and use… | |||||
case DIOCKEEPCOUNTERS_FREEBSD13: | |||||
#endif | |||||
case DIOCKEEPCOUNTERS: | case DIOCKEEPCOUNTERS: | ||||
error = pf_keepcounters((struct pfioc_nv *)addr); | error = pf_keepcounters((struct pfioc_nv *)addr); | ||||
break; | break; | ||||
case DIOCGETSYNCOOKIES: | case DIOCGETSYNCOOKIES: | ||||
error = pf_get_syncookies((struct pfioc_nv *)addr); | error = pf_get_syncookies((struct pfioc_nv *)addr); | ||||
break; | break; | ||||
▲ Show 20 Lines • Show All 1,213 Lines • Show Last 20 Lines |
Given you've merged it to stable/13, I think it probably should be COMPAT_FREEBSD13 and use _FREEBSD13 as the suffix. If we don't have a COMPAT_FREEBSD13 option yet, that can be added in a commit before this one (and I can help with that if needed)