015f8fff605f2fbd5fd0072e555576297804d57bhiremath * CDDL HEADER START
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * The contents of this file are subject to the terms of the
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * Common Development and Distribution License (the "License").
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * You may not use this file except in compliance with the License.
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * See the License for the specific language governing permissions
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * and limitations under the License.
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * When distributing Covered Code, include this CDDL HEADER in each
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * If applicable, add the following below this CDDL HEADER, with the
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * fields enclosed by brackets "[]" replaced with your own identifying
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * information: Portions Copyright [yyyy] [name of copyright owner]
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * CDDL HEADER END
1cfa752f4e24c34133009b0f6c139127a5c461deRamaswamy Tummala * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
015f8fff605f2fbd5fd0072e555576297804d57bhiremathextern "C" {
d3a82192edbbe93c6027629b50fd93fed5d0e1abShantkumar Hiremath gid.gid_prefix = (uint64_t)(((uint64_t)ntohl(ptr[0]) << 32) | \
d3a82192edbbe93c6027629b50fd93fed5d0e1abShantkumar Hiremath gid.gid_guid = (uint64_t)(((uint64_t)ntohl(ptr[0]) << 32) | \
015f8fff605f2fbd5fd0072e555576297804d57bhiremath * Path record wait queue node definition
015f8fff605f2fbd5fd0072e555576297804d57bhiremath ibt_ip_addr_t usrc_addr; /* user supplied src address */
015f8fff605f2fbd5fd0072e555576297804d57bhiremath ibt_ip_addr_t dst_addr; /* user supplied dest address */
015f8fff605f2fbd5fd0072e555576297804d57bhiremath ibt_ip_addr_t src_addr; /* rts's view of src address */
d3a82192edbbe93c6027629b50fd93fed5d0e1abShantkumar Hiremath ibt_ip_addr_t gateway; /* rts returned gateway addr */
d3a82192edbbe93c6027629b50fd93fed5d0e1abShantkumar Hiremath ibt_ip_addr_t netmask; /* rts returned netmask */
261906274d77b4a1c6d61c75d170ab5a8e85a6a7Shantkumar Hiremathibt_status_t ibcm_arp_get_ibaddr(zoneid_t zoneid, ibt_ip_addr_t srcip,
261906274d77b4a1c6d61c75d170ab5a8e85a6a7Shantkumar Hiremath ibt_ip_addr_t destip, ib_gid_t *sgid, ib_gid_t *dgid,
d3a82192edbbe93c6027629b50fd93fed5d0e1abShantkumar Hiremathibt_status_t ibcm_arp_get_ibds(ibcm_arp_ibd_insts_t *ibdp, sa_family_t fam);
1cfa752f4e24c34133009b0f6c139127a5c461deRamaswamy Tummalavoid ibcm_arp_free_ibds(ibcm_arp_ibd_insts_t *ibds);
015f8fff605f2fbd5fd0072e555576297804d57bhiremath#endif /* _SYS_IB_MGT_IBCM_IBCM_ARP_H */