Annotation of fwsync/driver/fwsync_proto.h, revision 1.1
1.1 ! misho 1: #ifndef __FWSYNC_PROTO_H
! 2: #define __FWSYNC_PROTO_H
! 3:
! 4:
! 5: struct fws_proto {
! 6: uint8_t fws_version;
! 7: uint8_t fws_fib;
! 8: uint8_t fws_addrtype;
! 9: uint8_t fws_proto;
! 10: uint16_t fws_sport;
! 11: uint16_t fws_dport;
! 12: union {
! 13: struct in_addr fws_saddr;
! 14: struct in6_addr fws_saddr6;
! 15: };
! 16: union {
! 17: struct in_addr fws_daddr;
! 18: struct in6_addr fws_daddr6;
! 19: };
! 20: uint32_t fws_scopeid;
! 21: } __packed;
! 22:
! 23: #define FWS_PKTVER_STATE 'S'
! 24: #define FWS_PKTVER_ALIAS_OUT 'N'
! 25: #define FWS_PKTVER_ALIAS_IN 'n'
! 26:
! 27:
! 28: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>