diff options
author | mvs <mvs@cvs.openbsd.org> | 2021-07-13 08:16:18 +0000 |
---|---|---|
committer | mvs <mvs@cvs.openbsd.org> | 2021-07-13 08:16:18 +0000 |
commit | 26ef9772679c2127197416e5c2e3400e0261f2c0 (patch) | |
tree | 8b65686a3e4c3f84eb9e425a6b5b91dd1738f278 /sys/netinet | |
parent | cde32f61c76ebd94d89bc72e3dda1bb32e656d63 (diff) |
Remove unused `PolicyHead' from 'sockaddr_encap' structure.
ok tobhe@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index f1aec7e6605..41801db1200 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.200 2021/07/08 21:07:19 bluhm Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.201 2021/07/13 08:16:17 mvs Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -113,8 +113,6 @@ struct sockaddr_encap { u_int16_t Sport; u_int16_t Dport; } Sip6; - - struct ipsec_policy *PolicyHead; /* SENT_IPSP */ } Sen; }; @@ -208,7 +206,6 @@ struct m_tag; #define sen_ip6_sport Sen.Sip6.Sport #define sen_ip6_dport Sen.Sip6.Dport #define sen_ip6_direction Sen.Sip6.Direction -#define sen_ipsp Sen.PolicyHead /* * The "type" is really part of the address as far as the routing @@ -219,8 +216,7 @@ struct m_tag; */ #define SENT_IP4 0x0001 /* data is two struct in_addr */ -#define SENT_IPSP 0x0002 /* data as in IP4/6 plus SPI */ -#define SENT_IP6 0x0004 +#define SENT_IP6 0x0002 #define SENT_LEN sizeof(struct sockaddr_encap) |