summaryrefslogtreecommitdiff
path: root/components/net/netdev/include
diff options
context:
space:
mode:
author朱天龙 (Armink) <[email protected]>2019-06-21 15:31:34 +0800
committerGitHub <[email protected]>2019-06-21 15:31:34 +0800
commitfa46d6ac861f26b472d62abdf1278c445431ce4c (patch)
tree66149fca168a422464d2b47a504e8cfb121a3761 /components/net/netdev/include
parent892e667d7e07f048cec03b367daa6752bc4edebd (diff)
parente16f30df5bc351dd01237a24957f1dc3f6ec903a (diff)
Merge pull request #2802 from qgyhd1234/components
[component] Synchronize AT and netdev components
Diffstat (limited to 'components/net/netdev/include')
-rw-r--r--components/net/netdev/include/netdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/netdev/include/netdev.h b/components/net/netdev/include/netdev.h
index e9d8e38658..0be2a2bda3 100644
--- a/components/net/netdev/include/netdev.h
+++ b/components/net/netdev/include/netdev.h
@@ -138,6 +138,7 @@ struct netdev *netdev_get_by_ipaddr(ip_addr_t *ip_addr);
struct netdev *netdev_get_by_name(const char *name);
#ifdef RT_USING_SAL
struct netdev *netdev_get_by_family(int family);
+int netdev_family_get(struct netdev *netdev);
#endif /* RT_USING_SAL */
/* Set default network interface device in list */