summaryrefslogtreecommitdiff
path: root/src/rtnl.c
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2010-09-23 22:44:09 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-04 17:45:47 +0200
commit32578a6c5c7d59981f636a332b6dd753207db1ee (patch)
treee9d30c94078223f24572e5b065aed71fe8356afd /src/rtnl.c
parent7a5858408b4ec3920b3b51a6351e1b0639c80bfd (diff)
downloadconnman-32578a6c5c7d59981f636a332b6dd753207db1ee.tar.gz
connman-32578a6c5c7d59981f636a332b6dd753207db1ee.tar.bz2
connman-32578a6c5c7d59981f636a332b6dd753207db1ee.zip
rtnl: support isimodem GPRS connections
The isimodem GPRS connections (PHONET_PIPEs) have ARP header type 821.
Diffstat (limited to 'src/rtnl.c')
-rw-r--r--src/rtnl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 83f79520..ec9a5a74 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -38,6 +38,10 @@
#include "connman.h"
+#ifndef ARPHDR_PHONET_PIPE
+#define ARPHDR_PHONET_PIPE (821)
+#endif
+
#define print(arg...) do { } while (0)
//#define print(arg...) connman_info(arg)
@@ -398,6 +402,7 @@ static void process_newlink(unsigned short type, int index, unsigned flags,
switch (type) {
case ARPHRD_ETHER:
case ARPHRD_LOOPBACK:
+ case ARPHDR_PHONET_PIPE:
case ARPHRD_NONE:
__connman_ipconfig_newlink(index, type, flags,
str, mtu, &stats);