19087SZhong.Wang@Sun.COM /* 29087SZhong.Wang@Sun.COM * CDDL HEADER START 39087SZhong.Wang@Sun.COM * 49087SZhong.Wang@Sun.COM * The contents of this file are subject to the terms of the 59087SZhong.Wang@Sun.COM * Common Development and Distribution License (the "License"). 69087SZhong.Wang@Sun.COM * You may not use this file except in compliance with the License. 79087SZhong.Wang@Sun.COM * 89087SZhong.Wang@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 99087SZhong.Wang@Sun.COM * or http://www.opensolaris.org/os/licensing. 109087SZhong.Wang@Sun.COM * See the License for the specific language governing permissions 119087SZhong.Wang@Sun.COM * and limitations under the License. 129087SZhong.Wang@Sun.COM * 139087SZhong.Wang@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 149087SZhong.Wang@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 159087SZhong.Wang@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 169087SZhong.Wang@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 179087SZhong.Wang@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 189087SZhong.Wang@Sun.COM * 199087SZhong.Wang@Sun.COM * CDDL HEADER END 209087SZhong.Wang@Sun.COM */ 219087SZhong.Wang@Sun.COM /* 229087SZhong.Wang@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 239087SZhong.Wang@Sun.COM * Use is subject to license terms. 249087SZhong.Wang@Sun.COM */ 259087SZhong.Wang@Sun.COM #ifndef _FCOE_FC_H_ 269087SZhong.Wang@Sun.COM #define _FCOE_FC_H_ 279087SZhong.Wang@Sun.COM 289087SZhong.Wang@Sun.COM #ifdef __cplusplus 299087SZhong.Wang@Sun.COM extern "C" { 309087SZhong.Wang@Sun.COM #endif 319087SZhong.Wang@Sun.COM 329087SZhong.Wang@Sun.COM #ifdef _KERNEL 339087SZhong.Wang@Sun.COM 349087SZhong.Wang@Sun.COM extern void fcoe_release_frame(fcoe_frame_t *); 359087SZhong.Wang@Sun.COM extern fcoe_frame_t *fcoe_allocate_frame(fcoe_port_t *, uint32_t, void *); 369087SZhong.Wang@Sun.COM extern void fcoe_mac_notify_link_up(void *); 379087SZhong.Wang@Sun.COM extern void fcoe_mac_notify_link_down(void *); 389087SZhong.Wang@Sun.COM extern int fcoe_create_port(dev_info_t *, fcoe_mac_t *, int); 39*9895SKevin.Yu@Sun.COM extern int fcoe_delete_port(dev_info_t *, fcoeio_t *, 40*9895SKevin.Yu@Sun.COM datalink_id_t, uint64_t *is_target); 419087SZhong.Wang@Sun.COM 429087SZhong.Wang@Sun.COM #endif /* _KERNEL */ 439087SZhong.Wang@Sun.COM 449087SZhong.Wang@Sun.COM #ifdef __cplusplus 459087SZhong.Wang@Sun.COM } 469087SZhong.Wang@Sun.COM #endif 479087SZhong.Wang@Sun.COM 489087SZhong.Wang@Sun.COM #endif /* _FCOE_FC_H_ */ 49