diff options
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r-- | sys/net/pfkeyv2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h index d4fe2586c15..7c1f20418ac 100644 --- a/sys/net/pfkeyv2.h +++ b/sys/net/pfkeyv2.h @@ -158,7 +158,8 @@ struct sadb_protocol { uint16_t sadb_protocol_exttype; uint8_t sadb_protocol_proto; uint8_t sadb_protocol_direction; - uint16_t sadb_protocol_reserved2; + uint8_t sadb_protocol_flags; + uint8_t sadb_protocol_reserved2; }; struct sadb_x_policy { @@ -265,6 +266,8 @@ struct sadb_x_cred { #define SADB_X_SAFLAGS_RANDOMPADDING 0x080 /* Random ESP padding */ #define SADB_X_SAFLAGS_NOREPLAY 0x100 /* No replay counter */ +#define SADB_X_POLICYFLAGS_POLICY 0x0001 /* This is a static policy */ + #define SADB_IDENTTYPE_RESERVED 0 #define SADB_IDENTTYPE_PREFIX 1 #define SADB_IDENTTYPE_FQDN 2 |