netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] Phonet: basic routing support
@ 2009-10-14 10:47 Rémi Denis-Courmont
  2009-10-14 10:48 ` [PATCH 1/5] Phonet: deliver broadcast packets to broadcast sockets Rémi Denis-Courmont
  2009-10-14 22:08 ` [PATCH net-next 0/5] Phonet: basic routing support David Miller
  0 siblings, 2 replies; 12+ messages in thread
From: Rémi Denis-Courmont @ 2009-10-14 10:47 UTC (permalink / raw)
  To: netdev


   Hello,

This patchset provides rudimentary support for routing Phonet packets.
Configuration is done with the common rtnetlink infrastructure.

This is useful when there is more than one Phonet interface in the same
namespace,
e.g. a serial bus to a cellular modem and a USB gadget function to a PC.

Comments welcome.

 include/net/phonet/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
+++++++++++++++++++++++++++++++++++++++++++
 net/phonet/socket.c         |   21 +++++++
 6 files changed, 333 insertions(+), 11 deletions(-)

-- 
Rémi Denis-Courmont


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/5] Phonet: basic routing support
@ 2009-09-15 11:30 Rémi Denis-Courmont
  2009-09-15 11:32 ` [PATCH 1/5] Phonet: error on broadcast sending (unimplemented) Rémi Denis-Courmont
  0 siblings, 1 reply; 12+ messages in thread
From: Rémi Denis-Courmont @ 2009-09-15 11:30 UTC (permalink / raw)
  To: netdev


   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.

-- 
Rémi Denis-Courmont


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-10-15 19:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 10:47 [PATCH net-next 0/5] Phonet: basic routing support Rémi Denis-Courmont
2009-10-14 10:48 ` [PATCH 1/5] Phonet: deliver broadcast packets to broadcast sockets Rémi Denis-Courmont
2009-10-14 10:48   ` [PATCH 2/5] Phonet: routing table backend Rémi Denis-Courmont
2009-10-14 10:48     ` [PATCH 3/5] Phonet: routing table Netlink interface Rémi Denis-Courmont
2009-10-14 10:48       ` [PATCH 4/5] Phonet: route outgoing packets Rémi Denis-Courmont
2009-10-14 10:48         ` [PATCH 5/5] Phonet: forward incoming packets Rémi Denis-Courmont
2009-10-14 22:08 ` [PATCH net-next 0/5] Phonet: basic routing support David Miller
2009-10-15 12:58   ` Rémi Denis-Courmont
2009-10-15 13:00     ` [PATCH] Phonet: hold socket before giving it to sk_deliver_skb() Rémi Denis-Courmont
2009-10-15 14:52       ` Eric Dumazet
2009-10-15 19:29       ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-09-15 11:30 [PATCH 0/5] Phonet: basic routing support Rémi Denis-Courmont
2009-09-15 11:32 ` [PATCH 1/5] Phonet: error on broadcast sending (unimplemented) Rémi Denis-Courmont
2009-09-15 11:32   ` [PATCH 2/5] Phonet: routing table backend Rémi Denis-Courmont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).