Searched refs:SN_TABLE_HASH (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/netinet/libalias/ |
H A D | alias_sctp.c | 289 #define SN_TABLE_HASH(vtag, port, size) (((u_int) vtag + (u_int) port) % (u_int) size) /**< Calcula… macro 2033 i = SN_TABLE_HASH(l_vtag, l_port, la->sctpNatTableSize); in FindSctpLocal() 2071 i = SN_TABLE_HASH(Cassoc->g_vtag, Cassoc->g_port, la->sctpNatTableSize); in FindSctpGlobalClash() 2118 i = SN_TABLE_HASH(g_vtag, g_port, la->sctpNatTableSize); in FindSctpGlobal() 2159 i = SN_TABLE_HASH(l_vtag, g_port, la->sctpNatTableSize); in FindSctpLocalT() 2201 i = SN_TABLE_HASH(g_vtag, l_port, la->sctpNatTableSize); in FindSctpGlobalT() 2260 …LIST_INSERT_HEAD(&la->sctpTableLocal[SN_TABLE_HASH(assoc->l_vtag, assoc->l_port, la->sctpNatTableS… in AddSctpAssocLocal() 2310 …LIST_INSERT_HEAD(&la->sctpTableGlobal[SN_TABLE_HASH(assoc->g_vtag, assoc->g_port, la->sctpNatTable… in AddSctpAssocGlobal()
|