--- fwsync/driver/fwsync_proto.h 2022/06/28 12:56:52 1.1 +++ fwsync/driver/fwsync_proto.h 2022/07/11 15:59:42 1.3 @@ -1,3 +1,7 @@ +/************************************************************************* +* (C) 2022 CloudSigma AG - Sofia/Bulgaria +* by Michael Pounov +**************************************************************************/ #ifndef __FWSYNC_PROTO_H #define __FWSYNC_PROTO_H @@ -9,6 +13,10 @@ struct fws_proto { uint8_t fws_proto; uint16_t fws_sport; uint16_t fws_dport; + uint16_t fws_aport; + uint16_t fws_pport; + struct in_addr fws_aaddr; + struct in_addr fws_paddr; union { struct in_addr fws_saddr; struct in6_addr fws_saddr6; @@ -21,8 +29,7 @@ struct fws_proto { } __packed; #define FWS_PKTVER_STATE 'S' -#define FWS_PKTVER_ALIAS_OUT 'N' -#define FWS_PKTVER_ALIAS_IN 'n' +#define FWS_PKTVER_ALIAS 'N' #endif