Why are there two sctp.h files in RHEL7.2 ?
Issue
- Which
sctplibrary should be used in the code ?
[root@server ~]# ll /usr/include/*/sctp.h
-rw-r--r-- 1 root root 25434 Aug 25 11:36 /usr/include/linux/sctp.h
-rw-r--r-- 1 root root 26110 Jan 23 2013 /usr/include/netinet/sctp.h
[root@server ~]#
RHEL 7includes 2 different copies of thesctp.hfile, which is the correct location to be included in the application ?
Environment
- Red Hat Enterprise Linux 7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
