Fix typos in comments

This commit is contained in:
Juha Niskanen 2020-03-03 09:11:57 -06:00 committed by Gregory Nutt
parent a7d783d463
commit f3490e42c3
48 changed files with 79 additions and 80 deletions

View File

@ -13914,7 +13914,7 @@ Additional new features and extended functionality:
- Added support for set [{+|-}{e|x|xe|ex}] [<name> <value>]. Set the
'exit on error control' and/or 'print a trace' of commands when
parsing scripts in NSH. The settinngs are in effect from the point
parsing scripts in NSH. The settings are in effect from the point
of execution, until they are changed again, or in the case of the init
script, the settings are returned to the default settings when it
exits. Included child scripts will run with the parents settings and

View File

@ -1351,7 +1351,7 @@ static void c5471_receive(struct c5471_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -736,7 +736,7 @@ static inline void imxrt_dispatch(FAR struct imxrt_driver_s *priv)
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer */

View File

@ -695,7 +695,7 @@ static void kinetis_receive(FAR struct kinetis_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1013,7 +1013,7 @@ static void lpc17_40_rxdone_work(FAR void *arg)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->lp_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1672,7 +1672,7 @@ static void lpc43_receive(FAR struct lpc43_ethmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -971,7 +971,7 @@ static void lpc54_eth_rxdispatch(struct lpc54_ethdriver_s *priv)
#ifdef CONFIG_NET_IPv6
if (ETHBUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 packet\n");
ninfo("IPv6 packet\n");
NETDEV_RXIPV6(&priv->eth_dev);
/* Dispatch IPv6 packet to the network layer */

View File

@ -745,7 +745,7 @@ static inline void s32k1xx_dispatch(FAR struct s32k1xx_driver_s *priv)
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1275,7 +1275,7 @@ static void sam_receive(struct sam_emac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -1312,7 +1312,7 @@ static void sam_receive(struct sam_emac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -1647,7 +1647,7 @@ static void sam_receive(struct sam_emac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -1266,7 +1266,7 @@ static void sam_receive(struct sam_gmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -1246,7 +1246,7 @@ static void sam_receive(struct sam_gmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -1988,7 +1988,7 @@ static void sam_receive(struct sam_emac_s *priv, int qid)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1775,7 +1775,7 @@ static void stm32_receive(FAR struct stm32_ethmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -250,7 +250,7 @@ void stm32_gpioinit(void)
*
* Returned Value:
* OK on success
* A negated errono value on invalid port, or when pin is locked as ALT
* A negated errno value on invalid port, or when pin is locked as ALT
* function.
*
* To-Do: Auto Power Enable

View File

@ -520,7 +520,7 @@ struct stm32_hrtim_eev_cfg_s
uint8_t filter:4; /* External Event filter */
uint8_t src:4; /* External Event source */
uint8_t pol:1; /* External Event polarity */
uint8_t sen:1; /* External Event ssensitivit */
uint8_t sen:1; /* External Event sensitivity */
uint8_t mode:1; /* External Event mode */
uint8_t _res:5;
};

View File

@ -124,7 +124,7 @@ void stm32_gpioinit(void)
*
* Returned Value:
* OK on success
* A negated errono value on invalid port, or when pin is locked as ALT
* A negated errno value on invalid port, or when pin is locked as ALT
* function.
*
* To-Do: Auto Power Enable

View File

@ -1863,7 +1863,7 @@ static void stm32_receive(struct stm32_ethmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -118,7 +118,7 @@ const uint32_t g_gpiobase[STM32F7_NGPIO] =
*
* Returned Value:
* OK on success
* A negated errono value on invalid port, or when pin is locked as ALT
* A negated errno value on invalid port, or when pin is locked as ALT
* function.
*
* To-Do: Auto Power Enable

View File

@ -1947,7 +1947,7 @@ static void stm32_receive(struct stm32_ethmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -136,7 +136,7 @@ void stm32_gpioinit(void)
*
* Returned Value:
* OK on success
* A negated errono value on invalid port, or when pin is locked as ALT
* A negated errno value on invalid port, or when pin is locked as ALT
* function.
*
* To-Do: Auto Power Enable

View File

@ -131,7 +131,7 @@ void stm32l4_gpioinit(void)
*
* Returned Value:
* OK on success
* A negated errono value on invalid port, or when pin is locked as ALT
* A negated errno value on invalid port, or when pin is locked as ALT
* function.
*
* To-Do: Auto Power Enable

View File

@ -852,7 +852,7 @@ static void tiva_receive(struct tiva_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (ETHBUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->ld_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -343,7 +343,7 @@ static void emac_receive(FAR struct emac_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -1509,7 +1509,7 @@ static void pic32mx_rxdone(struct pic32mx_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->pd_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1632,7 +1632,7 @@ static void pic32mz_rxdone(struct pic32mz_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->pd_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -465,7 +465,7 @@ static void misoc_net_receive(FAR struct misoc_net_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->misoc_net_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1648,7 +1648,7 @@ static void rx65n_receive(FAR struct rx65n_ethmac_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -172,7 +172,7 @@ static void netdriver_recv_work(FAR void *arg)
#ifdef CONFIG_NET_IPv6
if (eth->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1427,7 +1427,7 @@ static int ez80emac_receive(struct ez80emac_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (ETHBUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -174,7 +174,7 @@
/* EMAC Transmit Descriptor Status **************************************************/
#define EMAC_TXDESC_NCOLL 0x0001 /* Bits 0-3: Bumber of collisions that occurred
#define EMAC_TXDESC_NCOLL 0x0001 /* Bits 0-3: Number of collisions that occurred
* while transmitting the packet. */
#define EMAC_TXDESC_MXCOLL 0x0010 /* Bit 4: 1=maximum number of collisions.
* number > CFG3[3:0]. packet aborted */

View File

@ -208,9 +208,10 @@ DFU and JTAG
configuration options to enable JTAG in various different ways.
These configurations effect the setting of the SWJ_CFG[2:0] bits in the AFIO
MAPR register. These bits are used to configure the SWJ and trace alternate function I/Os. The SWJ (SerialWire JTAG) supports JTAG or SWD access to the
MAPR register. These bits are used to configure the SWJ and trace alternate
function I/Os. The SWJ (SerialWire JTAG) supports JTAG or SWD access to the
Cortex debug port. The default state in this port is for all JTAG support
to be disable.
to be disabled.
CONFIG_STM32_JTAG_FULL_ENABLE - sets SWJ_CFG[2:0] to 000 which enables full
SWJ (JTAG-DP + SW-DP)
@ -219,7 +220,7 @@ DFU and JTAG
full SWJ (JTAG-DP + SW-DP) but without JNTRST.
CONFIG_STM32_JTAG_SW_ENABLE - sets SWJ_CFG[2:0] to 010 which would set JTAG-DP
disabled and SW-DP enabled
disabled and SW-DP enabled.
The default setting (none of the above defined) is SWJ_CFG[2:0] set to 100
which disable JTAG-DP and SW-DP.
@ -284,11 +285,11 @@ RTC
is enabled in the NuttX configuration, then the RTC provides higher
resolution time and completely replaces the system timer for purpose of
date and time.
CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the
CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the
frequency of the high resolution RTC must be provided. If CONFIG_RTC_HIRES
is not defined, CONFIG_RTC_FREQUENCY is assumed to be one.
CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an alarm.
A callback function will be executed when the alarm goes off
A callback function will be executed when the alarm goes off.
In hi-res mode, the STM32 RTC operates only at 16384Hz. Overflow interrupts
are handled when the 32-bit RTC counter overflows every 3 days and 43 minutes.
@ -296,7 +297,7 @@ RTC
a 48-bit RTC counter.
In the lo-res mode, the RTC operates at 1Hz. Overflow interrupts are not handled
(because the next overflow is not expected until the year 2106.
(because the next overflow is not expected until the year 2106).
WARNING: Overflow interrupts are lost whenever the STM32 is powered down. The
overflow interrupt may be lost even if the STM32 is powered down only momentarily.
@ -445,7 +446,7 @@ M3 Wildfire-specific Configuration Options
Alternate pin mappings. The M3 Wildfire board requires only CAN1 remapping
On the M3 Wildfire board pin PB9 is wired as TX and pin PB8 is wired as RX.
Which then makes the proper connection through the CAN transiver SN65HVD230
Which then makes the proper connection through the CAN transceiver SN65HVD230
out to the CAN D-type 9-pn male connector where pin 2 is CANL and pin 7 is CANH.
CONFIG_STM32_TIM1_FULL_REMAP

View File

@ -71,9 +71,10 @@ DFU and JTAG
configuration options to enable JTAG in various different ways.
These configurations effect the setting of the SWJ_CFG[2:0] bits in the AFIO
MAPR register. These bits are used to configure the SWJ and trace alternate function I/Os. The SWJ (SerialWire JTAG) supports JTAG or SWD access to the
MAPR register. These bits are used to configure the SWJ and trace alternate
function I/Os. The SWJ (SerialWire JTAG) supports JTAG or SWD access to the
Cortex debug port. The default state in this port is for all JTAG support
to be disable.
to be disabled.
CONFIG_STM32_JTAG_FULL_ENABLE - sets SWJ_CFG[2:0] to 000 which enables full
SWJ (JTAG-DP + SW-DP)
@ -82,7 +83,7 @@ DFU and JTAG
full SWJ (JTAG-DP + SW-DP) but without JNTRST.
CONFIG_STM32_JTAG_SW_ENABLE - sets SWJ_CFG[2:0] to 010 which would set JTAG-DP
disabled and SW-DP enabled
disabled and SW-DP enabled.
The default setting (none of the above defined) is SWJ_CFG[2:0] set to 100
which disable JTAG-DP and SW-DP.
@ -117,7 +118,7 @@ LEDs
====
The STM3210E-EVAL board has four LEDs labeled LD1, LD2, LD3 and LD4 on the
board.. These LEDs are not used by the board port unless CONFIG_ARCH_LEDS is
board. These LEDs are not used by the board port unless CONFIG_ARCH_LEDS is
defined. In that case, the usage by the board port is defined in
include/board.h and src/up_leds.c. The LEDs are used to encode OS-related
events as follows:
@ -208,11 +209,11 @@ RTC
is enabled in the NuttX configuration, then the RTC provides higher
resolution time and completely replaces the system timer for purpose of
date and time.
CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the
CONFIG_RTC_FREQUENCY - If CONFIG_RTC_HIRES is defined, then the
frequency of the high resolution RTC must be provided. If CONFIG_RTC_HIRES
is not defined, CONFIG_RTC_FREQUENCY is assumed to be one.
CONFIG_RTC_ALARM - Enable if the RTC hardware supports setting of an alarm.
A callback function will be executed when the alarm goes off
A callback function will be executed when the alarm goes off.
In hi-res mode, the STM32 RTC operates only at 16384Hz. Overflow interrupts
are handled when the 32-bit RTC counter overflows every 3 days and 43 minutes.
@ -220,11 +221,11 @@ RTC
a 48-bit RTC counter.
In the lo-res mode, the RTC operates at 1Hz. Overflow interrupts are not handled
(because the next overflow is not expected until the year 2106.
(because the next overflow is not expected until the year 2106).
WARNING: Overflow interrupts are lost whenever the STM32 is powered down. The
overflow interrupt may be lost even if the STM32 is powered down only momentarily.
Therefore hi-res solution is only useful in systems where the power is always on.
WARNING: Overflow interrupts are lost whenever the STM32 is powered down. The
overflow interrupt may be lost even if the STM32 is powered down only momentarily.
Therefore hi-res solution is only useful in systems where the power is always on.
FSMC SRAM
=========
@ -382,7 +383,7 @@ STM3210E-EVAL-specific Configuration Options
Alternate pin mappings. The STM3210E-EVAL board requires only CAN1 remapping
On the STM3210E-EVAL board pin PB9 is wired as TX and pin PB8 is wired as RX.
Which then makes the proper connection through the CAN transiver SN65HVD230
Which then makes the proper connection through the CAN transceiver SN65HVD230
out to the CAN D-type 9-pn male connector where pin 2 is CANL and pin 7 is CANH.
CONFIG_STM32_TIM1_FULL_REMAP
@ -731,10 +732,7 @@ Where <subdir> is one of the following:
CONFIG_EXAMPLES_DJOYSTICK_SIGNO=13
When running the configuration, you should see the built-in
application 'djoy'. Just typo 'djoy' at the NSH command prompt.
The test will simply should the joystick position and will exect when
the joystick select indication is received (when the joystick button
is push downward).
application 'djoy'. Just type 'djoy' at the NSH command prompt.
nxterm:
----------

View File

@ -124,17 +124,17 @@ fidelity simulation.
However, when the simulation calls into Linux/Cygwin libraries, it will still
use these small simulation stacks. This happens, for example, when you call
into the system to get and put characters to the console window or when you
make x11 calls into the system. The programming model within those libraries
make X11 calls into the system. The programming model within those libraries
will assume a Linux/Cygwin environment where the stack size grows dynamically
and not the small, limited stacks of a deeply embedded system.
As a consequence, those system libraries may allocate large data structures on
the stack and overflow the small NuttX stacks. X11, in particular, requires
large stacks. If you are using X11 in the simulation, make sure that you set
aside a "lot" of stack for the X11 system calls (maybe 8 or 16Kb). The stack
aside a "lot" of stack for the X11 library calls (maybe 8 or 16Kb). The stack
size for the thread that begins with user start is controlled by the
configuration setting CONFIG_USERMAIN_STACKSIZE; you may need to increase this
value to larger number to survive the X11 system calls.
value to larger number to survive the X11 library calls.
If you are running X11 applications such as NSH add-on programs, then the
stack size of the add-on program is controlled in another way. Here are the
@ -170,7 +170,7 @@ collide with names provided by the host OS in the host PC domain.
Occasionally, as you test new functionality, you will find that you need to
add more names to the nuttx-names.dat file. If there is a missing name
mapping in nuttx-name.dat, the symptoms may be very obscure and difficult to
mapping in nuttx-names.dat, the symptoms may be very obscure and difficult to
debug. What happens in this case is that when logic in nuttx.rel intended to
call the NuttX domain function, it instead calls into the host OS function of
the same name.
@ -204,10 +204,10 @@ Update: Please issue these commands to setup the reliable network on Ubuntu:
sudo apt-get -y install net-tools
sudo nuttx/tools/simbridge.sh eth0 on
Here is some tips you may need:
1.Must launch the executable with the root permission
2.Have to use virtual machine if host is in corporation network
3.Configure the network adapter in NAT mode if virtual machine is used
Here are some tips you may need:
1. Must launch the executable with the root permission
2. Have to use virtual machine if host is in corporation network
3. Configure the network adapter in NAT mode if virtual machine is used
X11 Issues
----------
@ -1068,7 +1068,7 @@ rpserver
3 3 224 FIFO Kthread --- Waiting Signal 00000002 002000 rptun proxy 0x56634fa0
12 3 80 FIFO Task --- Waiting Semaphore 00000000 002032 usrsock
cu to proxy and start the rpmsg ursock client:
cu to proxy and start the rpmsg usrsock client:
server> cu
proxy> usrsock server &
@ -1162,7 +1162,7 @@ udgram
unionfs
This is a version of NSH dedicated to performing the simple test of the
Union File System at apps/examples/uniofs. The command 'unionfs' will mount
Union File System at apps/examples/unionfs. The command 'unionfs' will mount
the Union File System at /mnt/unionfs. You can than compare what you see at
/mnt/unionfs with the content of the ROMFS file systems at
apps/examples/unionfs/atestdir and btestdir.

View File

@ -992,7 +992,7 @@ static void dm9x_receive(FAR struct dm9x_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dm_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1438,7 +1438,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer */

View File

@ -1538,7 +1538,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer */

View File

@ -740,7 +740,7 @@ static void ftmac100_receive(FAR struct ftmac100_driver_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
/* Give the IPv6 packet to the network layer */

View File

@ -720,7 +720,7 @@ static void lan91c111_receive(FAR struct net_driver_s *dev)
#ifdef CONFIG_NET_IPv6
if (eth->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(dev);
/* Dispatch IPv6 packet to the network layer */

View File

@ -191,7 +191,7 @@ static int lo_txpoll(FAR struct net_driver_s *dev)
#ifdef CONFIG_NET_IPv6
if ((IPv6BUF->vtc & IP_VERSION_MASK) == IPv6_VERSION)
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->lo_dev);
ipv6_input(&priv->lo_dev);
}

View File

@ -661,7 +661,7 @@ static int net_rpmsg_drv_transfer_handler(FAR struct rpmsg_endpoint *ept,
#ifdef CONFIG_NET_IPv6
if (net_rpmsg_drv_is_ipv6(dev))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(dev);
/* Dispatch IPv6 packet to the network layer */

View File

@ -443,7 +443,7 @@ static void skel_receive(FAR struct skel_driver_s *priv)
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->sk_dev);
/* Dispatch IPv6 packet to the network layer */

View File

@ -593,7 +593,7 @@ static void tun_net_receive_tap(FAR struct tun_device_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer. */
@ -704,7 +704,7 @@ static void tun_net_receive_tun(FAR struct tun_device_s *priv)
#if defined(CONFIG_NET_IPv6)
if ((IPv6BUF->vtc & IP_VERSION_MASK) == IPv6_VERSION)
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->dev);
/* Give the IPv6 packet to the network layer. */

View File

@ -539,7 +539,7 @@ static void cdcecm_receive(FAR struct cdcecm_driver_s *self)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&self->dev);
/* Dispatch IPv6 packet to the network layer */

View File

@ -339,7 +339,7 @@ static void bcmf_receive(FAR struct bcmf_dev_s *priv)
#ifdef CONFIG_NET_IPv6
if (BUF->type == HTONS(ETHTYPE_IP6))
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(&priv->bc_dev);
/* Give the IPv6 packet to the network layer */

View File

@ -189,7 +189,7 @@ struct netdev_statistics_s
/* Other status */
uint32_t errors; /* Total umber of errors */
uint32_t errors; /* Total number of errors */
};
#endif
@ -585,7 +585,7 @@ void neighbor_out(FAR struct net_driver_s *dev);
*
* Returned Value:
* Zero is returned if the packet don't loop back to ourself, otherwise
* a no zero value is returned.
* a non-zero value is returned.
*
****************************************************************************/

View File

@ -94,7 +94,7 @@ static bool is_loopback(FAR struct net_driver_s *dev)
*
* Returned Value:
* Zero is returned if the packet don't loop back to ourself, otherwise
* a no zero value is returned.
* a non-zero value is returned.
*
****************************************************************************/
@ -135,7 +135,7 @@ int devif_loopback(FAR struct net_driver_s *dev)
#ifdef CONFIG_NET_IPv6
if ((IPv6BUF->vtc & IP_VERSION_MASK) == IPv6_VERSION)
{
ninfo("Iv6 frame\n");
ninfo("IPv6 frame\n");
NETDEV_RXIPV6(dev);
ipv6_input(dev);