Skip to content

Phonet: basic routing support

Rémi Denis-Courmont netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Phonet: error on broadcast sending (unimplemented)include/linux/phonet.h net/phonet/af_phonet.c+7 -00 replies
2/5Phonet: routing table backendinclude/net/phonet/pn_dev.h net/phonet/pn_dev.c+99 -60 replies
3/5Phonet: routing table Netlink interfaceinclude/net/phonet/pn_dev.h net/phonet/pn_dev.c net/phonet/pn_netlink.c+162 -00 replies
4/5Phonet: route outgoing packetsnet/phonet/af_phonet.c+12 -50 replies
5/5Phonet: forward incoming packetsnet/phonet/af_phonet.c+32 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Phonet: basic routing support

Hello,

This small patch series adds simplistic routing support to the Phonet stack. Usually, there is an "upstream" interface to the Phonet modem. However, if Linux runs on an embedded USB gadget, we have two interfaces in the same namespace:
- an internal interface to the modem (e.g. OMAP SSI bus), and
- an external interface to the USB host (CDC Phonet).

Patches follow.

 include/linux/phonet.h      |    1
 include/net/phonet/pn_dev.h |    6 ++
 net/phonet/af_phonet.c      |   55 ++++++++++++++++--
 net/phonet/pn_dev.c         |  131
+++++++++++++++++++++++++++++++++++++++++---
 net/phonet/pn_netlink.c     |  130
+++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 312 insertions(+), 11 deletions(-)

I am not sure if feature patches are still allowed. If not, I can just repost this at a more convenient time.

Signature · 1 line
Rémi Denis-Courmont