linux/net/ieee802154
Phoebe Buckheister 1cc76e3654 ieee802154: fix dgram socket sendmsg()
802.15.4 datagram sockets do not currently have a compliant sendmsg().
The destination address supplied is always ignored, and in unconnected
mode, packets are broadcast instead of dropped with -EDESTADDRREQ. This
patch fixes 802.15.4 dgram sockets to be compliant, i.e.

 !conn && !msg_name => -EDESTADDRREQ
 !conn &&  msg_name => send to msg_name
  conn && !msg_name => send to connected
  conn &&  msg_name => -EISCONN

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-15 15:51:43 -04:00
..
6lowpan_iphc.c 6lowpan: move 6lowpan header to include/net 2014-03-06 17:21:38 -05:00
6lowpan_rtnl.c 6lowpan: fix fragmentation 2014-05-15 15:51:43 -04:00
Kconfig ieee802154: fix whitespace issues in Kconfig 2014-03-04 20:12:44 -05:00
Makefile ieee802154: add header structs with endiannes and operations 2014-03-14 22:15:26 -04:00
af802154.h mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
af_ieee802154.c af_ieee802154: fix check on broadcast address 2014-03-20 17:19:45 -04:00
dgram.c ieee802154: fix dgram socket sendmsg() 2014-05-15 15:51:43 -04:00
header_ops.c ieee802154: add definitions for link-layer security and header functions 2014-05-15 15:51:42 -04:00
ieee802154.h mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
netlink.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
nl-mac.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
nl-phy.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
nl_policy.c ieee802154: add netlink APIs for smartMAC configuration 2014-02-17 16:42:39 -05:00
raw.c ieee802154: properly unshare skbs in ieee802154 *_rcv functions 2014-03-18 15:59:25 -04:00
reassembly.c 6lowpan: make lowpan_cb static 2014-04-20 18:18:55 -04:00
reassembly.h ieee802154: use ieee802154_addr instead of *_sa variants 2014-03-14 22:15:26 -04:00
wpan-class.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00