diff --git a/include/netutils/netlib.h b/include/netutils/netlib.h index 03764ef75..142c3eaad 100644 --- a/include/netutils/netlib.h +++ b/include/netutils/netlib.h @@ -110,6 +110,8 @@ # define NETLIB_SOCK_FAMILY AF_INET #elif defined(CONFIG_NET_NETLINK) # define NETLIB_SOCK_FAMILY AF_NETLINK +#elif defined(CONFIG_NET_RPMSG) +# define NETLIB_SOCK_FAMILY AF_RPMSG #else # define NETLIB_SOCK_FAMILY AF_UNSPEC #endif @@ -162,6 +164,8 @@ # define NETLIB_SOCK_TYPE SOCK_RAW #elif NETLIB_SOCK_FAMILY == AF_NETLINK # define NETLIB_SOCK_TYPE SOCK_DGRAM +#elif NETLIB_SOCK_FAMILY == AF_RPMSG +# define NETLIB_SOCK_TYPE SOCK_STREAM #endif /****************************************************************************