drivers/infiniband/sw/rxe/rxe_ns.h

Source file repositories/reference/linux-study-clean/drivers/infiniband/sw/rxe/rxe_ns.h

File Facts

System
Linux kernel
Corpus path
drivers/infiniband/sw/rxe/rxe_ns.h
Extension
.h
Size
622 bytes
Lines
27
Domain
Driver Families
Bucket
drivers/infiniband
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef RXE_NS_H
#define RXE_NS_H

struct sock *rxe_ns_pernet_sk4(struct net *net);
void rxe_ns_pernet_set_sk4(struct net *net, struct sock *sk);

#if IS_ENABLED(CONFIG_IPV6)
void rxe_ns_pernet_set_sk6(struct net *net, struct sock *sk);
struct sock *rxe_ns_pernet_sk6(struct net *net);
#else /* IPv6 */
static inline struct sock *rxe_ns_pernet_sk6(struct net *net)
{
	return NULL;
}

static inline void rxe_ns_pernet_set_sk6(struct net *net, struct sock *sk)
{
}
#endif /* IPv6 */

int rxe_namespace_init(void);
void rxe_namespace_exit(void);

#endif /* RXE_NS_H */

Annotation

Implementation Notes