TCP/IP networking

modulename: sch_frag.ko

and/or

output_core.ko

configname: CONFIG_INET

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>TCP/IP networking
In linux kernel since version 2.6.12  
These are the protocols used on the Internet and on most local
Ethernets. It is highly recommended to say Y here (this will enlarge
your kernel by about 400 KB), since some programs (e.g. the X window
system) use TCP/IP even if your machine is not connected to any
other computer. You will get the so-called loopback device which
allows you to ping yourself (great fun, that!).

For an excellent introduction to Linux networking, please read the
Linux Networking HOWTO, available from
<http://www.tldp.org/docs.html#howto>.

If you say Y here and also to "/proc file system support" and
"Sysctl support" below, you can change various aspects of the
behavior of the TCP/IP code by writing to the (virtual) files in
/proc/sys/net/ipv4/*; the options are explained in the file
<file:Documentation/networking/ip-sysctl.rst>.

Short answer: say Y.

source code:
depends
CONFIG_NET

is selected by
CONFIG_BLK_DEV_DRBD
CONFIG_BLK_DEV_RBD
CONFIG_NVME_TCP
CONFIG_ISCSI_TCP
CONFIG_SCSI_CXGB3_ISCSI
CONFIG_SCSI_CXGB4_ISCSI
CONFIG_ISCSI_TARGET
CONFIG_ISCSI_TARGET_CXGB4
CONFIG_WIREGUARD
CONFIG_MACVTAP
CONFIG_IPVTAP
CONFIG_VXLAN
CONFIG_GENEVE
CONFIG_BAREUDP
CONFIG_GTP
CONFIG_AMT
CONFIG_TUN
CONFIG_CHELSIO_T3
CONFIG_HNS3_ENET
CONFIG_MV643XX_ETH
CONFIG_MLX4_EN
CONFIG_MLX5_CORE_EN
CONFIG_MYRI10GE
CONFIG_WILC1000_SDIO
CONFIG_WILC1000_SPI
CONFIG_VMXNET3
CONFIG_NETDEVSIM
CONFIG_INFINIBAND
CONFIG_INFINIBAND_CXGB4
CONFIG_INFINIBAND_IRDMA
CONFIG_MLX4_INFINIBAND
CONFIG_INFINIBAND_OCRDMA
CONFIG_INFINIBAND_USNIC
CONFIG_RDMA_RXE
CONFIG_RDMA_SIW
CONFIG_INFINIBAND_ISER
CONFIG_XEN_PVCALLS_FRONTEND
CONFIG_OCFS2_FS
CONFIG_NFS_FS
CONFIG_NFSD
CONFIG_CEPH_FS
CONFIG_CIFS
CONFIG_SMB_SERVER
CONFIG_AFS_FS
CONFIG_DLM
CONFIG_TLS
CONFIG_XFRM
CONFIG_XFRM_USER
CONFIG_XFRM_USER_COMPAT
CONFIG_XFRM_AH
CONFIG_XFRM_ESP
CONFIG_XFRM_IPCOMP
CONFIG_NET_KEY
CONFIG_NET_KEY_MIGRATE
CONFIG_IP_MULTIPLE_TABLES
CONFIG_NET_IPIP
CONFIG_NET_IP_TUNNEL
CONFIG_NET_IPGRE
CONFIG_IP_MROUTE
CONFIG_IP_MROUTE_MULTIPLE_TABLES
CONFIG_NET_IPVTI
CONFIG_NET_UDP_TUNNEL
CONFIG_NET_FOU
CONFIG_NET_FOU_IP_TUNNELS
CONFIG_INET_AH
CONFIG_INET_ESP
CONFIG_INET_ESP_OFFLOAD
CONFIG_INET_ESPINTCP
CONFIG_INET_IPCOMP
CONFIG_INET_XFRM_TUNNEL
CONFIG_TCP_CONG_YEAH
CONFIG_TCP_MD5SIG
CONFIG_IPV6
CONFIG_INET6_AH
CONFIG_INET6_ESP
CONFIG_INET6_ESP_OFFLOAD
CONFIG_INET6_ESPINTCP
CONFIG_INET6_IPCOMP
CONFIG_IPV6_MIP6
CONFIG_IPV6_ILA
CONFIG_INET6_XFRM_TUNNEL
CONFIG_IPV6_VTI
CONFIG_IPV6_SIT
CONFIG_IPV6_TUNNEL
CONFIG_IPV6_GRE
CONFIG_IPV6_FOU_TUNNEL
CONFIG_IPV6_MULTIPLE_TABLES
CONFIG_IPV6_MROUTE
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES
CONFIG_IPV6_SEG6_LWTUNNEL
CONFIG_IPV6_SEG6_HMAC
CONFIG_IPV6_RPL_LWTUNNEL
CONFIG_IPV6_IOAM6_LWTUNNEL
CONFIG_NETLABEL
CONFIG_MPTCP
CONFIG_BRIDGE_NETFILTER
CONFIG_NETFILTER_INGRESS
CONFIG_NETFILTER_EGRESS
CONFIG_NETFILTER_NETLINK_HOOK
CONFIG_NETFILTER_NETLINK_ACCT
CONFIG_NETFILTER_NETLINK_QUEUE
CONFIG_NETFILTER_NETLINK_LOG
CONFIG_NETFILTER_NETLINK_OSF
CONFIG_NF_CONNTRACK
CONFIG_NF_CT_PROTO_SCTP
CONFIG_NF_CONNTRACK_AMANDA
CONFIG_NF_CONNTRACK_NETBIOS_NS
CONFIG_NF_CONNTRACK_SNMP
CONFIG_NF_CONNTRACK_PPTP
CONFIG_NF_CT_NETLINK
CONFIG_NF_CT_NETLINK_TIMEOUT
CONFIG_NF_CT_NETLINK_HELPER
CONFIG_NF_TABLES
CONFIG_NF_TABLES_INET
CONFIG_NFT_CONNLIMIT
CONFIG_NFT_MASQ
CONFIG_NFT_REDIR
CONFIG_NFT_NAT
CONFIG_NFT_SOCKET
CONFIG_NFT_OSF
CONFIG_NFT_TPROXY
CONFIG_NFT_SYNPROXY
CONFIG_NFT_DUP_NETDEV
CONFIG_NFT_FWD_NETDEV
CONFIG_NETFILTER_XT_CONNMARK
CONFIG_NETFILTER_XT_TARGET_CONNMARK
CONFIG_NETFILTER_XT_TARGET_LOG
CONFIG_NETFILTER_XT_TARGET_MARK
CONFIG_NETFILTER_XT_TARGET_NFLOG
CONFIG_NETFILTER_XT_TARGET_NFQUEUE
CONFIG_NETFILTER_XT_TARGET_NOTRACK
CONFIG_NETFILTER_XT_TARGET_REDIRECT
CONFIG_NETFILTER_XT_TARGET_MASQUERADE
CONFIG_NETFILTER_XT_TARGET_TEE
CONFIG_NETFILTER_XT_TARGET_TPROXY
CONFIG_NETFILTER_XT_MATCH_CGROUP
CONFIG_NETFILTER_XT_MATCH_CONNLABEL
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT
CONFIG_NETFILTER_XT_MATCH_CONNMARK
CONFIG_NETFILTER_XT_MATCH_MARK
CONFIG_NETFILTER_XT_MATCH_NFACCT
CONFIG_NETFILTER_XT_MATCH_OSF
CONFIG_NETFILTER_XT_MATCH_RATEEST
CONFIG_NETFILTER_XT_MATCH_REALM
CONFIG_NETFILTER_XT_MATCH_SOCKET
CONFIG_NETFILTER_XT_MATCH_STRING
CONFIG_IP_SET
CONFIG_NFT_REJECT_IPV4
CONFIG_NFT_DUP_IPV4
CONFIG_NFT_FIB_IPV4
CONFIG_NF_TABLES_ARP
CONFIG_NF_LOG_ARP
CONFIG_NF_LOG_IPV4
CONFIG_NF_NAT_SNMP_BASIC
CONFIG_IP_NF_IPTABLES
CONFIG_IP_NF_MATCH_ECN
CONFIG_IP_NF_MATCH_TTL
CONFIG_IP_NF_TARGET_REJECT
CONFIG_IP_NF_TARGET_SYNPROXY
CONFIG_IP_NF_NAT
CONFIG_IP_NF_TARGET_MASQUERADE
CONFIG_IP_NF_TARGET_NETMAP
CONFIG_IP_NF_TARGET_REDIRECT
CONFIG_IP_NF_TARGET_TTL
CONFIG_IP_NF_ARPTABLES
CONFIG_NFT_REJECT_IPV6
CONFIG_NFT_DUP_IPV6
CONFIG_NFT_FIB_IPV6
CONFIG_NF_LOG_IPV6
CONFIG_IP6_NF_IPTABLES
CONFIG_IP6_NF_MATCH_HL
CONFIG_IP6_NF_TARGET_HL
CONFIG_IP6_NF_TARGET_REJECT
CONFIG_IP6_NF_TARGET_SYNPROXY
CONFIG_IP6_NF_NAT
CONFIG_IP6_NF_TARGET_MASQUERADE
CONFIG_BPFILTER
CONFIG_IP_SCTP
CONFIG_L2TP
CONFIG_NET_DSA
CONFIG_NET_CLS_ROUTE4
CONFIG_NET_ACT_CSUM
CONFIG_BATMAN_ADV_BLA
CONFIG_OPENVSWITCH
CONFIG_BPF_STREAM_PARSER
CONFIG_AF_RXRPC
CONFIG_AF_KCM
CONFIG_CEPH_LIB
CONFIG_SECURITY_SELINUX
CONFIG_SECURITY_SMACK
CONFIG_TEST_KMOD