Annotation of fwsync/patches/ip_fw_h.patch, revision 1.1

1.1     ! misho       1: diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
        !             2: index 4d3099a781a..e09646d6047 100644
        !             3: --- a/sys/netinet/ip_fw.h
        !             4: +++ b/sys/netinet/ip_fw.h
        !             5: @@ -141,6 +141,28 @@ typedef struct _ip_fw3_opheader {
        !             6:  #define       IP_FW_NAT64CLAT_STATS   164     /* Get NAT64CLAT instance statistics */
        !             7:  #define       IP_FW_NAT64CLAT_RESET_STATS 165 /* Reset NAT64CLAT instance statistics */
        !             8:  
        !             9: +#define       IP_FW_SYNC_XCONFIG      171     /* Create/modify sync instance */
        !            10: +#define       IP_FW_SYNC_DESTROY      172     /* Destroys sync instance */
        !            11: +#define       IP_FW_SYNC_XGETCONFIG   173     /* Get sync instance config */
        !            12: +#define       IP_FW_SYNC_LIST         174     /* List of exported states */
        !            13: +#define       IP_FW_SYNC_START        175     /* Start of sync service */
        !            14: +#define       IP_FW_SYNC_STOP         176     /* Stop of sync service */
        !            15: +
        !            16: +struct ipfw_sync_cfg {
        !            17: +      char            name[64];
        !            18: +      u_char          mode;
        !            19: +      u_char          addrs;
        !            20: +      struct cfg_addr {
        !            21: +              union {
        !            22: +                      struct sockaddr         addr;
        !            23: +                      struct sockaddr_in      ip4;
        !            24: +                      struct sockaddr_in6     ip6;
        !            25: +              };
        !            26: +      }               addr[3];
        !            27: +};
        !            28: +#define CFG_SYNC_EDGE                 1
        !            29: +#define CFG_SYNC_COLLECTOR            2
        !            30: +
        !            31:  /*
        !            32:   * The kernel representation of ipfw rules is made of a list of
        !            33:   * 'instructions' (for all practical purposes equivalent to BPF

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>