ibcm_arp.h revision 17a2b317610f531d565bf4e940433aab2d9e6985
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SYS_IB_MGT_IBCM_IBCM_ARP_H
#define _SYS_IB_MGT_IBCM_IBCM_ARP_H
#ifdef __cplusplus
extern "C" {
#endif
#define IBCM_ARP_MAX_IFNAME_LEN 24
#define IBCM_H2N_GID(gid) \
{ \
}
#define IBCM_ARP_PR_RT_PENDING 0x01
#define IBCM_ARP_PR_RESOLVE_PENDING 0x02
/*
* Path record wait queue node definition
*/
typedef struct ibcm_arp_prwqn {
struct ibcm_arp_streams_s *ib_str;
char ifname[IBCM_ARP_MAX_IFNAME_LEN];
typedef struct ibcm_arp_streams_s {
int status;
typedef struct ibcm_arp_ip_s {
union {
struct sockaddr_in ip_sockaddr;
struct sockaddr_in6 ip_sockaddr6;
} ip_sin;
typedef struct ibcm_arp_ibd_insts_s {
#ifdef __cplusplus
}
#endif
#endif /* _SYS_IB_MGT_IBCM_IBCM_ARP_H */