diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-09-15 03:37:10 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-09-15 03:37:10 +0000 |
commit | 6e0145d6f60f81df1978fabc858d9b73968b6707 (patch) | |
tree | 783e3ba6ec27727c640d39df0a297ae0aa25e373 /sys/netinet/ip_ipsp.h | |
parent | b58d668611b040e84acfc251f8c7271d1716f62f (diff) |
move from RB macros to RBT functions
shaves a bunch of bytes off kernels
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index c62bc32af3e..efec84a35c7 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.173 2015/12/03 13:12:20 tedu Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.174 2016/09/15 03:37:09 dlg Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -166,16 +166,16 @@ struct ipsec_id { }; struct ipsec_ids { - RB_ENTRY(ipsec_ids) id_node_id; - RB_ENTRY(ipsec_ids) id_node_flow; + RBT_ENTRY(ipsec_ids) id_node_id; + RBT_ENTRY(ipsec_ids) id_node_flow; struct ipsec_id *id_local; struct ipsec_id *id_remote; u_int32_t id_flow; int id_refcount; struct timeout id_timeout; }; -RB_HEAD(ipsec_ids_flows, ipsec_ids); -RB_HEAD(ipsec_ids_tree, ipsec_ids); +RBT_HEAD(ipsec_ids_flows, ipsec_ids); +RBT_HEAD(ipsec_ids_tree, ipsec_ids); struct ipsec_acquire { union sockaddr_union ipa_addr; |