diff options
author | 1999-10-29 05:22:02 +0000 | |
---|---|---|
committer | 1999-10-29 05:22:02 +0000 | |
commit | 3630c4ed5a19fc2045766971d1e76fc78805163d (patch) | |
tree | 2c1e261aa106fce1075d70939d417559f0c6bfc3 | |
parent | Support multiple enc interfaces. (diff) | |
download | wireguard-openbsd-3630c4ed5a19fc2045766971d1e76fc78805163d.tar.xz wireguard-openbsd-3630c4ed5a19fc2045766971d1e76fc78805163d.zip |
enc_softc definition
-rw-r--r-- | sys/net/if_enc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/net/if_enc.h b/sys/net/if_enc.h index eb7c340238b..bfae0a16fb4 100644 --- a/sys/net/if_enc.h +++ b/sys/net/if_enc.h @@ -37,6 +37,13 @@ #define ENCMTU (1024+512) #define ENC_HDRLEN 12 +struct enc_softc { + struct ifnet sc_if; /* the interface */ + union sockaddr_union sc_dst; + u_int32_t sc_spi; + u_int32_t sc_sproto; +}; + struct enchdr { u_int32_t af; u_int32_t spi; |