1*dbed73cbSSangeeta Misra /* 2*dbed73cbSSangeeta Misra * CDDL HEADER START 3*dbed73cbSSangeeta Misra * 4*dbed73cbSSangeeta Misra * The contents of this file are subject to the terms of the 5*dbed73cbSSangeeta Misra * Common Development and Distribution License (the "License"). 6*dbed73cbSSangeeta Misra * You may not use this file except in compliance with the License. 7*dbed73cbSSangeeta Misra * 8*dbed73cbSSangeeta Misra * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*dbed73cbSSangeeta Misra * or http://www.opensolaris.org/os/licensing. 10*dbed73cbSSangeeta Misra * See the License for the specific language governing permissions 11*dbed73cbSSangeeta Misra * and limitations under the License. 12*dbed73cbSSangeeta Misra * 13*dbed73cbSSangeeta Misra * When distributing Covered Code, include this CDDL HEADER in each 14*dbed73cbSSangeeta Misra * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*dbed73cbSSangeeta Misra * If applicable, add the following below this CDDL HEADER, with the 16*dbed73cbSSangeeta Misra * fields enclosed by brackets "[]" replaced with your own identifying 17*dbed73cbSSangeeta Misra * information: Portions Copyright [yyyy] [name of copyright owner] 18*dbed73cbSSangeeta Misra * 19*dbed73cbSSangeeta Misra * CDDL HEADER END 20*dbed73cbSSangeeta Misra */ 21*dbed73cbSSangeeta Misra 22*dbed73cbSSangeeta Misra /* 23*dbed73cbSSangeeta Misra * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*dbed73cbSSangeeta Misra * Use is subject to license terms. 25*dbed73cbSSangeeta Misra */ 26*dbed73cbSSangeeta Misra 27*dbed73cbSSangeeta Misra #ifndef _INET_ILB_ALG_H 28*dbed73cbSSangeeta Misra #define _INET_ILB_ALG_H 29*dbed73cbSSangeeta Misra 30*dbed73cbSSangeeta Misra 31*dbed73cbSSangeeta Misra #ifdef __cplusplus 32*dbed73cbSSangeeta Misra extern "C" { 33*dbed73cbSSangeeta Misra #endif 34*dbed73cbSSangeeta Misra 35*dbed73cbSSangeeta Misra /* Load balance algorithms initialization routines. */ 36*dbed73cbSSangeeta Misra ilb_alg_data_t *ilb_alg_rr_init(ilb_rule_t *, void *); 37*dbed73cbSSangeeta Misra ilb_alg_data_t *ilb_alg_hash_init(ilb_rule_t *, const void *); 38*dbed73cbSSangeeta Misra 39*dbed73cbSSangeeta Misra 40*dbed73cbSSangeeta Misra #ifdef __cplusplus 41*dbed73cbSSangeeta Misra } 42*dbed73cbSSangeeta Misra #endif 43*dbed73cbSSangeeta Misra 44*dbed73cbSSangeeta Misra #endif /* _INET_ILB_ALG_H */ 45