projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a58584
)
rtnl: support isimodem GPRS connections
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Thu, 23 Sep 2010 19:44:09 +0000
(22:44 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 4 Oct 2010 15:45:47 +0000
(17:45 +0200)
The isimodem GPRS connections (PHONET_PIPEs) have ARP header type 821.
src/rtnl.c
patch
|
blob
|
history
diff --git
a/src/rtnl.c
b/src/rtnl.c
index
83f7952
..
ec9a5a7
100644
(file)
--- 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);