#include <net/protocol.h>
#include <net/sock.h>
#include "smc_inet.h"
#include "smc.h"
static int smc_inet_init_sock(struct sock *sk);
static struct proto smc_inet_prot = …;
static const struct proto_ops smc_inet_stream_ops = …;
static struct inet_protosw smc_inet_protosw = …;
#if IS_ENABLED(CONFIG_IPV6)
static struct proto smc_inet6_prot = …;
static const struct proto_ops smc_inet6_stream_ops = …;
static struct inet_protosw smc_inet6_protosw = …;
#endif
static int smc_inet_init_sock(struct sock *sk)
{ … }
int __init smc_inet_init(void)
{ … }
void smc_inet_exit(void)
{ … }