summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-29 05:22:03 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-29 05:22:03 +0000
commit6726d96aa8c7d3a306b0cd5741866b7d018cc989 (patch)
treec95f73db45300cdec7f7bf3d5e403d1daefa43fa /sys
parent1e8f0d5741ba62b4b7aaabea82c95e61190397db (diff)
enc_softc definition
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_enc.h7
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;