summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_os_bsd.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-06-02 11:05:08 +0000
committerrrs <rrs@FreeBSD.org>2007-06-02 11:05:08 +0000
commit18555b3d48ec06d96b44fa98539c6db54196054e (patch)
treec18f72f2ca85c02cfe7e378a329a507d80f9907b /sys/netinet/sctp_os_bsd.h
parentc5c0761a84c2231d37094c3bc212e67e381f5fe0 (diff)
downloadFreeBSD-src-18555b3d48ec06d96b44fa98539c6db54196054e.zip
FreeBSD-src-18555b3d48ec06d96b44fa98539c6db54196054e.tar.gz
- fix initial pcb vrf setting when the initial vrf is not the
default_vrf_id - Missing lock/unlock of inp added as well in the v6 side. - IFN hash table moves to sctppcbinfo since indexes are unique across systems (including different VRFs) this makes it easier to do ifn lookups.
Diffstat (limited to 'sys/netinet/sctp_os_bsd.h')
-rw-r--r--sys/netinet/sctp_os_bsd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/sctp_os_bsd.h b/sys/netinet/sctp_os_bsd.h
index 163b3b6..17dc168 100644
--- a/sys/netinet/sctp_os_bsd.h
+++ b/sys/netinet/sctp_os_bsd.h
@@ -164,10 +164,9 @@ MALLOC_DECLARE(SCTP_M_SOCKOPT);
#define SCTP_SIZE_OF_VRF_HASH 3
#define SCTP_IFNAMSIZ IFNAMSIZ
#define SCTP_DEFAULT_VRFID 0
-#define SCTP_DEFAULT_TABLEID 0
#define SCTP_VRF_ADDR_HASH_SIZE 16
#define SCTP_VRF_IFN_HASH_SIZE 3
-#define SCTP_VRF_DEFAULT_TABLEID(vrf_id) 0
+#define SCTP_INIT_VRF_TABLEID(vrf)
#define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP)
OpenPOWER on IntegriCloud