netutils/netlib: Fixes to work when only USRSOCK is enabled.
This commit is contained in:
parent
7441c5422f
commit
234afcd85b
@ -68,6 +68,8 @@
|
||||
# define PF_INETX PF_LOCAL
|
||||
#elif defined(CONFIG_NET_PKT)
|
||||
# define PF_INETX PF_PACKET
|
||||
#elif defined(CONFIG_NET_USRSOCK)
|
||||
# define PF_INETX PF_INET
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -65,6 +65,8 @@
|
||||
# define PF_INETX PF_INET6
|
||||
#elif defined(CONFIG_NET_PKT)
|
||||
# define PF_INETX PF_PACKET
|
||||
#elif defined(CONFIG_NET_USRSOCK)
|
||||
# define PF_INETX PF_INET
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -67,6 +67,8 @@
|
||||
# define PF_INETX PF_LOCAL
|
||||
#elif defined(CONFIG_NET_PKT)
|
||||
# define PF_INETX PF_PACKET
|
||||
#elif defined(CONFIG_NET_USRSOCK)
|
||||
# define PF_INETX PF_INET
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -69,6 +69,9 @@
|
||||
#elif defined(CONFIG_NET_PKT)
|
||||
# define PF_INETX PF_PACKET
|
||||
# define AF_INETX AF_PACKET
|
||||
#elif defined(CONFIG_NET_USRSOCK)
|
||||
# define PF_INETX PF_INET
|
||||
# define AF_INETX AF_INET
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user