Author: ae Date: Thu Sep 20 19:45:27 2018 New Revision: 338839 URL: https://svnweb.freebsd.org/changeset/base/338839
Log: Add new field max_hdrsize to struct encap_config. It is currently unused and reserved for future use to keep KBI/KPI. Also add several spare pointers to be able extend structure if it will be needed. Approved by: re (gjb) Modified: head/sys/netinet/ip_encap.h Modified: head/sys/netinet/ip_encap.h ============================================================================== --- head/sys/netinet/ip_encap.h Thu Sep 20 19:35:35 2018 (r338838) +++ head/sys/netinet/ip_encap.h Thu Sep 20 19:45:27 2018 (r338839) @@ -48,12 +48,15 @@ typedef int (*encap_input_t)(struct mbuf *, int , int, struct encap_config { int proto; /* protocol */ int min_length; /* minimum packet length */ + int max_hdrsize; /* maximum header size */ int exact_match; /* a packet is exactly matched */ #define ENCAP_DRV_LOOKUP 0x7fffffff encap_lookup_t lookup; encap_check_t check; encap_input_t input; + + void *pad[3]; }; struct encaptab; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"