12a8164dfSZhong Wang /* 22a8164dfSZhong Wang * CDDL HEADER START 32a8164dfSZhong Wang * 42a8164dfSZhong Wang * The contents of this file are subject to the terms of the 52a8164dfSZhong Wang * Common Development and Distribution License (the "License"). 62a8164dfSZhong Wang * You may not use this file except in compliance with the License. 72a8164dfSZhong Wang * 82a8164dfSZhong Wang * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92a8164dfSZhong Wang * or http://www.opensolaris.org/os/licensing. 102a8164dfSZhong Wang * See the License for the specific language governing permissions 112a8164dfSZhong Wang * and limitations under the License. 122a8164dfSZhong Wang * 132a8164dfSZhong Wang * When distributing Covered Code, include this CDDL HEADER in each 142a8164dfSZhong Wang * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152a8164dfSZhong Wang * If applicable, add the following below this CDDL HEADER, with the 162a8164dfSZhong Wang * fields enclosed by brackets "[]" replaced with your own identifying 172a8164dfSZhong Wang * information: Portions Copyright [yyyy] [name of copyright owner] 182a8164dfSZhong Wang * 192a8164dfSZhong Wang * CDDL HEADER END 202a8164dfSZhong Wang */ 212a8164dfSZhong Wang /* 222a8164dfSZhong Wang * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 232a8164dfSZhong Wang * Use is subject to license terms. 242a8164dfSZhong Wang */ 252a8164dfSZhong Wang #ifndef _FCOE_FC_H_ 262a8164dfSZhong Wang #define _FCOE_FC_H_ 272a8164dfSZhong Wang 282a8164dfSZhong Wang #ifdef __cplusplus 292a8164dfSZhong Wang extern "C" { 302a8164dfSZhong Wang #endif 312a8164dfSZhong Wang 322a8164dfSZhong Wang #ifdef _KERNEL 332a8164dfSZhong Wang 342a8164dfSZhong Wang extern void fcoe_release_frame(fcoe_frame_t *); 352a8164dfSZhong Wang extern fcoe_frame_t *fcoe_allocate_frame(fcoe_port_t *, uint32_t, void *); 362a8164dfSZhong Wang extern void fcoe_mac_notify_link_up(void *); 372a8164dfSZhong Wang extern void fcoe_mac_notify_link_down(void *); 382a8164dfSZhong Wang extern int fcoe_create_port(dev_info_t *, fcoe_mac_t *, int); 39*e6eb57e7SKevin Yu extern int fcoe_delete_port(dev_info_t *, fcoeio_t *, 40*e6eb57e7SKevin Yu datalink_id_t, uint64_t *is_target); 412a8164dfSZhong Wang 422a8164dfSZhong Wang #endif /* _KERNEL */ 432a8164dfSZhong Wang 442a8164dfSZhong Wang #ifdef __cplusplus 452a8164dfSZhong Wang } 462a8164dfSZhong Wang #endif 472a8164dfSZhong Wang 482a8164dfSZhong Wang #endif /* _FCOE_FC_H_ */ 49