Commit graph android_kernel_sony_sdm845/include/net/phonet
Message SHA1
Phonet: sockets list through proc_fs
This provides a list of sockets with their Phonet bind addresses and
some socket debug informations through /proc/net/phonet.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2009-07-23 17:58:19 -07:00
c1dc13e9d0
Phonet: publicize the Netlink notification function
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2009-06-25 02:58:15 -07:00
c7a1a4c80f
Phonet: use per-namespace devices list
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

remi.denis-courmont@nokia   authored and   David S. Miller   commited 2009-01-26 21:03:35 -08:00
9a3b7a42bb
Phonet: handle rtnetlink registration failure
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

remi.denis-courmont@nokia   authored and   David S. Miller   commited 2009-01-26 21:03:34 -08:00
660f706d93
Phonet: allow phonet_device_init() to fail, put it to __init section
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

remi.denis-courmont@nokia   authored and   David S. Miller   commited 2009-01-26 21:03:34 -08:00
76e02cf694
Phonet: use atomic for packet TX window
GPRS TX flow control won't need to lock the underlying socket anymore.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2008-12-17 15:48:31 -08:00
be677730a0
Phonet: basic net namespace support
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2008-12-03 15:42:56 -08:00
5240488198
Phonet: include generic link-layer header size in MAX_PHONET_HEADER
This fixes an OOPS in hard_header if a Phonet address is assigned to a
non-Phonet network interface.

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-10-26 23:06:31 -07:00
e214a8cc7a
Phonet: implement GPRS virtual interface over PEP socket
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2008-10-05 11:16:16 -07:00
02a47617cd
Phonet: receive pipe control requests as out-of-band data
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2008-10-05 11:15:43 -07:00
c41bd97f81
Phonet: Pipe End Point for Phonet Pipes protocol
This protocol provides some connection handling and negotiated
congestion control. Nokia cellular modems use it for bulk transfers.
It provides packet boundaries (hence SOCK_SEQPACKET). Congestion
control is per packet rather per byte, so we do not re-use the
generic socket memory accounting.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2008-10-05 11:15:13 -07:00
9641458d3e
Phonet: connected sockets glue
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Rémi Denis-Courmont   authored and   David S. Miller   commited 2008-10-05 11:14:48 -07:00
9995a32b4d
Phonet: emit errors when a packet cannot be delivered locally
When there is no listener socket for a received packet, send an error
back to the sender.

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:09:13 -07:00
be0c52bfed
Phonet: proc interface for port range
Phonet endpoints are bound to individual ports.
This provides a /proc/sys/net/phonet (or sysctl) interface for
selecting the range of automatically allocated ports (much like the
ip_local_port_range with IPv4).

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:08:39 -07:00
87ab4e20b4
Phonet: Phonet datagram transport protocol
This provides the basic SOCK_DGRAM transport protocol for Phonet.

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:05:57 -07:00
107d0d9b8d
Phonet: common socket glue
This provides the socket API for the Phonet protocols family.

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:05:19 -07:00
ba113a94b7
Phonet: Netlink interface
This provides support for configuring Phonet addresses, notifying
Phonet configuration changes, and dumping the configuration.

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:04:30 -07:00
8fb397406f
Phonet: network device and address handling
This provides support for adding Phonet addresses to and removing
Phonet addresses from network devices.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:03:44 -07:00
f8ff60283d
Phonet: PF_PHONET protocol family support
This is the basis for the Phonet protocol families, and introduces
the ETH_P_PHONET packet type and the PF_PHONET socket family.

Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Remi Denis-Courmont   authored and   David S. Miller   commited 2008-09-22 20:02:10 -07:00
4b07b3f69a