ib_addr.h (a9474917099e007c0f51d5474394b5890111614f) | ib_addr.h (64c5e613b9dd34ef1281ed6d22478609667ae36a) |
---|---|
1/* 2 * Copyright (c) 2005 Voltaire Inc. All rights reserved. 3 * Copyright (c) 2005 Intel Corporation. All rights reserved. 4 * 5 * This software is available to you under a choice of one of two 6 * licenses. You may choose to be licensed under the terms of the GNU 7 * General Public License (GPL) Version 2, available from the file 8 * COPYING in the main directory of this source tree, or the --- 47 unchanged lines hidden (view full) --- 56 */ 57void rdma_addr_unregister_client(struct rdma_addr_client *client); 58 59struct rdma_dev_addr { 60 unsigned char src_dev_addr[MAX_ADDR_LEN]; 61 unsigned char dst_dev_addr[MAX_ADDR_LEN]; 62 unsigned char broadcast[MAX_ADDR_LEN]; 63 enum rdma_node_type dev_type; | 1/* 2 * Copyright (c) 2005 Voltaire Inc. All rights reserved. 3 * Copyright (c) 2005 Intel Corporation. All rights reserved. 4 * 5 * This software is available to you under a choice of one of two 6 * licenses. You may choose to be licensed under the terms of the GNU 7 * General Public License (GPL) Version 2, available from the file 8 * COPYING in the main directory of this source tree, or the --- 47 unchanged lines hidden (view full) --- 56 */ 57void rdma_addr_unregister_client(struct rdma_addr_client *client); 58 59struct rdma_dev_addr { 60 unsigned char src_dev_addr[MAX_ADDR_LEN]; 61 unsigned char dst_dev_addr[MAX_ADDR_LEN]; 62 unsigned char broadcast[MAX_ADDR_LEN]; 63 enum rdma_node_type dev_type; |
64 struct net_device *src_dev; |
|
64}; 65 66/** 67 * rdma_translate_ip - Translate a local IP address to an RDMA hardware 68 * address. 69 */ 70int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr); 71 --- 88 unchanged lines hidden --- | 65}; 66 67/** 68 * rdma_translate_ip - Translate a local IP address to an RDMA hardware 69 * address. 70 */ 71int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr); 72 --- 88 unchanged lines hidden --- |