Alin Jerpelea
9b9be7e1f0
include: Author: Gregory Nutt: update licenses to Apache 2.0
...
Update files from Gregory Nutt to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-04 03:33:58 -08:00
Alin Jerpelea
861c0071bd
include: nuttx: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-04 03:33:58 -08:00
Peter van der Perk
b5c5948e1c
NXStyle fixes
2020-06-15 08:07:19 -06:00
Peter van der Perk
55d9e5f7af
net: Add SocketCAN support
2020-06-15 08:07:19 -06:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
c1b0aa118c
Remove psock_send and sockfd_socket from net/socket/socket.h
...
Since both is already declared in include/nuttx/net/net.h and fix other minor issue in network socket layer.
2020-01-31 13:45:15 -06:00
chao.an
eb63227559
include/net, include/nuttx/fs, include/nuttx/wireless: Make wireless definitions more consistent with Linux.
2019-12-13 08:20:07 -06:00
Gregory Nutt
732bef73a7
include/net/if.h: Fix some macro definitions overlooked in commit d105dc9b5e
. Also corrects the name of a structure: mii_ioctl_notify_s vs mii_iotcl_notify_s.
2019-01-27 16:43:42 -06:00
Xiang Xiao
d105dc9b5e
drivers/net/phy_notify.c and all network drivers that support PHY notifications: Support the signal notification through SIGEV_THREAD
2019-01-27 08:57:23 -06:00
Anthony Merlino
1b18f10bee
Merged in antmerlino/nuttx/net-if-externC-fix (pull request #740 )
...
Adds extern "C" guard in include/net/if.h
Approved-by: GregoryN <gnutt@nuttx.org>
2018-10-27 18:13:02 +00:00
Gregory Nutt
c65e1aa3df
Squashed commit of the following:
...
syscalls/: Add syscall support for if_nametoindex() and if_indextoname()
net/: Update some comments.
2018-06-25 12:41:28 -06:00
Gregory Nutt
7c1394d814
Squashed commit of the following:
...
net/netdev: Add implementation of if_nametoindex() and if indextoname().
net/pkt: Raw AF_PACKET sockets now depend on CONFIG_NETDEV_IFINDEX.
net/procfs: Tweak to handle traversal of interfaces if CONFIG_NETDEV_IFINDEX is not defined.
net/netdev.h: Update netdev_findbyaddr() to use the assigned device index.
Trivial typo fix
net/netdev: Add support for assigned an interface index to a device when it is regisgtered.
2018-06-25 12:08:10 -06:00
Gregory Nutt
7af976c00a
Squashed commit of the following:
...
Networking: Add implementation of logic for SIOCGIFCONF and SIOCGLIFCOF IOCTL commnds.
Networking: Add definitions and stuctures to support SIOCGIFCONF and SIOCGLIFCONF IOCTL commands.
2017-09-19 14:17:05 -06:00
Gregory Nutt
855e40ee7d
Make some file section headers more consistent with standard
2015-04-08 07:25:06 -06:00
Gregory Nutt
96a53254dd
Some minor clean-up of IPv4/6 flags
2015-01-24 07:29:43 -06:00
Gregory Nutt
86f617cc88
Networking: Straighten up use if IPv6/IPv4 in TCP connection logic
2015-01-17 17:07:54 -06:00
Gregory Nutt
2c251d845c
include/net/if.h: Add a bit to the device flags to indicate if the device packet buffer holds an IPv4 or an IPv6 domain packet. Set/clear the flag along with the correct offset to the application payload data as each packet is received.
...
net/socket, net/tcp, net/udp: Add logic to select the domain of the outputgoing packet before sending any UDP or TCP packet. This sets the bit to indicate the IPv4 or IPv6 domain and the correct offset to the output going payload data.
2015-01-17 07:42:09 -06:00
Gregory Nutt
7d68c22d7f
Networking: Add support for IPv6 ioctls
2015-01-14 13:03:12 -06:00
Gregory Nutt
dcfc76336a
Add some helper macros to make the code a little more compac
2014-08-17 09:46:03 -06:00
Gregory Nutt
057af36c1d
More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic
2014-08-16 15:04:09 -06:00
Gregory Nutt
eb5e2e4b20
Finishes the ioctl definition to subscribe to PHY events. Revamp network ioctl signature to support arguments other than struct mii_ioctl_data.
2014-08-16 14:08:04 -06:00
Gregory Nutt
f183632aab
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
2014-06-27 09:30:41 -06:00
Gregory Nutt
0520270733
Net PKT: Suppress ARP requests for packet socket transfers
2014-06-24 08:22:12 -06:00
Gregory Nutt
9e2640b896
Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg
2014-01-21 10:21:45 -06:00
patacongo
73659bfd99
Add interfaces flags, extend ifconfig, add ifup and ifdown commands (Darcy Gong
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5308 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 18:54:04 +00:00
patacongo
8e5733ae3f
Header file clean-up
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4948 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 03:58:11 +00:00
patacongo
11e1c6fb96
More IPv6 rambling
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4815 42af7a65-404d-4744-a932-0658087f49c3
2012-06-08 01:53:26 +00:00
patacongo
4f8e4d2308
First round of compile fixes for IPv6
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4813 42af7a65-404d-4744-a932-0658087f49c3
2012-06-07 22:00:19 +00:00
patacongo
37d2dbf0d4
Lots of re-organization -- getting ready to support a composite USB device
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4329 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 21:51:26 +00:00
patacongo
9ff4834f74
Standardizing ioctls
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@912 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 00:39:12 +00:00
patacongo
5fe8b2974d
Add examples/dhcpd
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@413 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 20:46:29 +00:00