Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.59.180
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-25 /
include /
rdma /
[ HOME SHELL ]
Name
Size
Permission
Action
ib.h
2.09
KB
-rw-r--r--
ib_addr.h
7.66
KB
-rw-r--r--
ib_cache.h
4.23
KB
-rw-r--r--
ib_cm.h
16.92
KB
-rw-r--r--
ib_hdrs.h
6.79
KB
-rw-r--r--
ib_mad.h
24.48
KB
-rw-r--r--
ib_marshall.h
778
B
-rw-r--r--
ib_pack.h
7.71
KB
-rw-r--r--
ib_pma.h
4.17
KB
-rw-r--r--
ib_sa.h
19.5
KB
-rw-r--r--
ib_smi.h
4.21
KB
-rw-r--r--
ib_sysfs.h
1.23
KB
-rw-r--r--
ib_umem.h
6.64
KB
-rw-r--r--
ib_umem_odp.h
3.39
KB
-rw-r--r--
ib_verbs.h
138.24
KB
-rw-r--r--
iba.h
5.51
KB
-rw-r--r--
ibta_vol1_c12.h
12.94
KB
-rw-r--r--
iw_cm.h
7.12
KB
-rw-r--r--
iw_portmap.h
2.19
KB
-rw-r--r--
lag.h
530
B
-rw-r--r--
mr_pool.h
568
B
-rw-r--r--
opa_addr.h
2.39
KB
-rw-r--r--
opa_port_info.h
13.43
KB
-rw-r--r--
opa_smi.h
3
KB
-rw-r--r--
opa_vnic.h
2
KB
-rw-r--r--
peer_mem.h
6.19
KB
-rw-r--r--
rdma_cm.h
12.81
KB
-rw-r--r--
rdma_cm_ib.h
797
B
-rw-r--r--
rdma_counter.h
1.78
KB
-rw-r--r--
rdma_netlink.h
3.97
KB
-rw-r--r--
rdma_vt.h
14.22
KB
-rw-r--r--
rdmavt_cq.h
1.74
KB
-rw-r--r--
rdmavt_mr.h
3.94
KB
-rw-r--r--
rdmavt_qp.h
28.01
KB
-rw-r--r--
restrack.h
4.2
KB
-rw-r--r--
rw.h
2.22
KB
-rw-r--r--
signature.h
2.9
KB
-rw-r--r--
tid_rdma_defs.h
2.05
KB
-rw-r--r--
uverbs_ioctl.h
32.22
KB
-rw-r--r--
uverbs_named_ioctl.h
4.72
KB
-rw-r--r--
uverbs_std_types.h
5.23
KB
-rw-r--r--
uverbs_types.h
6.06
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : rdma_netlink.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _RDMA_NETLINK_H #define _RDMA_NETLINK_H #include <linux/netlink.h> #include <uapi/rdma/rdma_netlink.h> enum { RDMA_NLDEV_ATTR_EMPTY_STRING = 1, RDMA_NLDEV_ATTR_ENTRY_STRLEN = 16, RDMA_NLDEV_ATTR_CHARDEV_TYPE_SIZE = 32, }; struct rdma_nl_cbs { int (*doit)(struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack); int (*dump)(struct sk_buff *skb, struct netlink_callback *nlcb); u8 flags; }; enum rdma_nl_flags { /* Require CAP_NET_ADMIN */ RDMA_NL_ADMIN_PERM = 1 << 0, }; /* Define this module as providing netlink services for NETLINK_RDMA, with * index _index. Since the client indexes were setup in a uapi header as an * enum and we do no want to change that, the user must supply the expanded * constant as well and the compiler checks they are the same. */ #define MODULE_ALIAS_RDMA_NETLINK(_index, _val) \ static inline void __maybe_unused __chk_##_index(void) \ { \ BUILD_BUG_ON(_index != _val); \ } \ MODULE_ALIAS("rdma-netlink-subsys-" __stringify(_val)) /** * Register client in RDMA netlink. * @index: Index of the added client * @cb_table: A table for op->callback */ void rdma_nl_register(unsigned int index, const struct rdma_nl_cbs cb_table[]); /** * Remove a client from IB netlink. * @index: Index of the removed IB client. */ void rdma_nl_unregister(unsigned int index); /** * Put a new message in a supplied skb. * @skb: The netlink skb. * @nlh: Pointer to put the header of the new netlink message. * @seq: The message sequence number. * @len: The requested message length to allocate. * @client: Calling IB netlink client. * @op: message content op. * Returns the allocated buffer on success and NULL on failure. */ void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, int len, int client, int op, int flags); /** * Put a new attribute in a supplied skb. * @skb: The netlink skb. * @nlh: Header of the netlink message to append the attribute to. * @len: The length of the attribute data. * @data: The attribute data to put. * @type: The attribute type. * Returns the 0 and a negative error code on failure. */ int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, int len, void *data, int type); /** * Send the supplied skb to a specific userspace PID. * @net: Net namespace in which to send the skb * @skb: The netlink skb * @pid: Userspace netlink process ID * Returns 0 on success or a negative error code. */ int rdma_nl_unicast(struct net *net, struct sk_buff *skb, u32 pid); /** * Send, with wait/1 retry, the supplied skb to a specific userspace PID. * @net: Net namespace in which to send the skb * @skb: The netlink skb * @pid: Userspace netlink process ID * Returns 0 on success or a negative error code. */ int rdma_nl_unicast_wait(struct net *net, struct sk_buff *skb, __u32 pid); /** * Send the supplied skb to a netlink group. * @net: Net namespace in which to send the skb * @skb: The netlink skb * @group: Netlink group ID * @flags: allocation flags * Returns 0 on success or a negative error code. */ int rdma_nl_multicast(struct net *net, struct sk_buff *skb, unsigned int group, gfp_t flags); /** * Check if there are any listeners to the netlink group * @group: the netlink group ID * Returns true on success or false if no listeners. */ bool rdma_nl_chk_listeners(unsigned int group); struct rdma_link_ops { struct list_head list; const char *type; int (*newlink)(const char *ibdev_name, struct net_device *ndev); }; void rdma_link_register(struct rdma_link_ops *ops); void rdma_link_unregister(struct rdma_link_ops *ops); #define MODULE_ALIAS_RDMA_LINK(type) MODULE_ALIAS("rdma-link-" type) #define MODULE_ALIAS_RDMA_CLIENT(type) MODULE_ALIAS("rdma-client-" type) #endif /* _RDMA_NETLINK_H */
Close