I am currently working on bringing IPv6 support to pfsync. This required some changes to allow for differentiating between the two families in a more generic way.
As I am still ironing out the last issues with the IPv6 support, I figured it would be a nice idea to submit the non-IPv6 part of changes for review.
I am happy to get any suggestions on how to improve this, as this is my first big project in the FreeBSD kernel.
So far, I have tested it by just setting up pfsync between two hosts and ensuring states get synced between them.
Sponsored by: InnoGames GmbH