]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
uapi: update mptcp.h
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 1 Jul 2022 23:46:13 +0000 (16:46 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 1 Jul 2022 23:46:13 +0000 (16:46 -0700)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/mptcp.h

index 1e07e2d9587436b5167191d40c06356163fc0a68..f4ef46a1d6ee20e6e88e09c5a997057551f13fa8 100644 (file)
@@ -2,14 +2,15 @@
 #ifndef _MPTCP_H
 #define _MPTCP_H
 
+#include <netinet/in.h>                /* for sockaddr_in and sockaddr_in6     */
+#include <sys/socket.h>                /* for struct sockaddr                  */
+
 #include <linux/const.h>
 #include <linux/types.h>
 #include <linux/in.h>          /* for sockaddr_in                      */
 #include <linux/in6.h>         /* for sockaddr_in6                     */
 #include <linux/socket.h>      /* for sockaddr_storage and sa_family   */
 
-#include <sys/socket.h>                /* for struct sockaddr                  */
-
 #define MPTCP_SUBFLOW_FLAG_MCAP_REM            _BITUL(0)
 #define MPTCP_SUBFLOW_FLAG_MCAP_LOC            _BITUL(1)
 #define MPTCP_SUBFLOW_FLAG_JOIN_REM            _BITUL(2)