* Stuart Henderson <s...@spacehopper.org> [2010-11-16 09:04]:
> Afaik the strictest requirements on any arch we support is that
> a data type must be aligned to the size of that data type. 32-bit
> aligned for 4-byte types, 64-bit aligned for 8-byte types, etc.
> 
> > @@ -807,6 +808,7 @@ struct pf_state {
> >     struct pf_state_key     *key[2];        /* addresses stack and wire  */
> >     struct pfi_kif          *kif;
> >     struct pfi_kif          *rt_kif;
> > +   struct pf_rule          *rt_rule;
> >     u_int64_t                packets[2];
> >     u_int64_t                bytes[2];
> >     u_int32_t                creation;
> 
> I might be mistaken but I think this will break compatibility with
> the pfsync wire format used by earlier versions.

you are - we don't send pf_state over the wire any more but use a
seperate pfsync_state.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting

Reply via email to