003 File Manager
Current Path:
/usr/src/contrib/ofed/libibverbs
usr
/
src
/
contrib
/
ofed
/
libibverbs
/
📁
..
📄
alloca.h
(359 B)
📄
arch.h
(1.9 KB)
📄
cmd.c
(60.7 KB)
📄
compat-1_0.c
(26.36 KB)
📄
config.h
(998 B)
📄
device.c
(9.99 KB)
📄
driver.h
(11.89 KB)
📄
enum_strs.c
(4.89 KB)
📁
examples
📄
ibverbs.h
(4.18 KB)
📄
init.c
(9.39 KB)
📄
kern-abi.h
(25.17 KB)
📄
libibverbs.map
(3.11 KB)
📁
man
📄
marshall.c
(4.79 KB)
📄
marshall.h
(2.19 KB)
📄
memory.c
(14.17 KB)
📄
neigh.c
(19.13 KB)
📄
neigh.h
(1.43 KB)
📄
nl1_compat.h
(1.78 KB)
📄
opcode.h
(5.56 KB)
📄
sa-kern-abi.h
(1.58 KB)
📄
sa.h
(3.98 KB)
📄
sysfs.c
(2.59 KB)
📄
verbs.c
(26.15 KB)
📄
verbs.h
(61.88 KB)
Editing: neigh.h
/* Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md */ #ifndef _NEIGH_H_ #define _NEIGH_H_ #include <stddef.h> #include <stdint.h> #include "config.h" #ifdef HAVE_LIBNL1 #include <netlink/object.h> #include "nl1_compat.h" #else #include <netlink/object-api.h> #endif struct get_neigh_handler { #ifdef HAVE_LIBNL1 struct nl_handle *sock; #else struct nl_sock *sock; #endif struct nl_cache *link_cache; struct nl_cache *neigh_cache; struct nl_cache *route_cache; int32_t oif; int vid; struct rtnl_neigh *filter_neigh; struct nl_addr *found_ll_addr; struct nl_addr *dst; struct nl_addr *src; uint64_t timeout; }; int process_get_neigh(struct get_neigh_handler *neigh_handler); void neigh_free_resources(struct get_neigh_handler *neigh_handler); void neigh_set_vlan_id(struct get_neigh_handler *neigh_handler, uint16_t vid); uint16_t neigh_get_vlan_id_from_dev(struct get_neigh_handler *neigh_handler); int neigh_init_resources(struct get_neigh_handler *neigh_handler, int timeout); int neigh_set_src(struct get_neigh_handler *neigh_handler, int family, void *buf, size_t size); void neigh_set_oif(struct get_neigh_handler *neigh_handler, int oif); int neigh_set_dst(struct get_neigh_handler *neigh_handler, int family, void *buf, size_t size); int neigh_get_oif_from_src(struct get_neigh_handler *neigh_handler); int neigh_get_ll(struct get_neigh_handler *neigh_handler, void *addr_buf, int addr_size); #endif
Upload File
Create Folder