diff --git a/crypto/random_pool.c b/crypto/random_pool.c index 7fd761be003..f6a53d71196 100644 --- a/crypto/random_pool.c +++ b/crypto/random_pool.c @@ -136,7 +136,7 @@ static const uint32_t pool_twist[8] = ****************************************************************************/ /**************************************************************************** - * Function: addentropy + * Name: addentropy * * Description: * @@ -201,7 +201,7 @@ static void addentropy(FAR const uint32_t *buf, size_t n, bool inc_new) } /**************************************************************************** - * Function: getentropy + * Name: getentropy * * Description: * Hash entropy pool to BLAKE2s context. This is an internal interface for @@ -385,7 +385,7 @@ static void rng_init(void) ****************************************************************************/ /**************************************************************************** - * Function: up_rngaddint + * Name: up_rngaddint * * Description: * Add one integer to entropy pool, contributing a specific kind @@ -410,7 +410,7 @@ void up_rngaddint(enum rnd_source_t kindof, int val) } /**************************************************************************** - * Function: up_rngaddentropy + * Name: up_rngaddentropy * * Description: * Add buffer of integers to entropy pool. @@ -490,7 +490,7 @@ void up_rngaddentropy(enum rnd_source_t kindof, FAR const uint32_t *buf, } /**************************************************************************** - * Function: up_rngreseed + * Name: up_rngreseed * * Description: * Force reseeding random number generator from entropy pool @@ -513,7 +513,7 @@ void up_rngreseed(void) } /**************************************************************************** - * Function: up_randompool_initialize + * Name: up_randompool_initialize * * Description: * Initialize entropy pool and random number generator @@ -530,7 +530,7 @@ void up_randompool_initialize(void) } /**************************************************************************** - * Function: getrandom + * Name: getrandom * * Description: * Fill a buffer of arbitrary length with randomness. This is the diff --git a/drivers/input/ads7843e.c b/drivers/input/ads7843e.c index 6e4e9395ec6..820cb873f2d 100644 --- a/drivers/input/ads7843e.c +++ b/drivers/input/ads7843e.c @@ -159,7 +159,7 @@ static struct ads7843e_dev_s *g_ads7843elist; ****************************************************************************/ /**************************************************************************** - * Function: ads7843e_lock + * Name: ads7843e_lock * * Description: * Lock the SPI bus and re-configure as necessary. This function must be @@ -198,7 +198,7 @@ static void ads7843e_lock(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: ads7843e_unlock + * Name: ads7843e_unlock * * Description: * Un-lock the SPI bus after each transfer, possibly losing the current diff --git a/drivers/input/max11802.c b/drivers/input/max11802.c index 7fb2087f069..c3cd4c09f36 100644 --- a/drivers/input/max11802.c +++ b/drivers/input/max11802.c @@ -159,7 +159,7 @@ static struct max11802_dev_s *g_max11802list; ****************************************************************************/ /**************************************************************************** - * Function: max11802_lock + * Name: max11802_lock * * Description: * Lock the SPI bus and re-configure as necessary. This function must be @@ -196,7 +196,7 @@ static void max11802_lock(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: max11802_unlock + * Name: max11802_unlock * * Description: * Un-lock the SPI bus after each transfer, possibly losing the current diff --git a/drivers/iob/iob_dump.c b/drivers/iob/iob_dump.c index 470ba740ac9..e2f72edb8d9 100644 --- a/drivers/iob/iob_dump.c +++ b/drivers/iob/iob_dump.c @@ -61,7 +61,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: iob_dump + * Name: iob_dump * * Description: * Dump the contents of a I/O buffer chain diff --git a/drivers/lcd/nokia6100.c b/drivers/lcd/nokia6100.c index 3b4a05383da..b67af2bada6 100644 --- a/drivers/lcd/nokia6100.c +++ b/drivers/lcd/nokia6100.c @@ -637,7 +637,7 @@ static const uint8_t g_setcon[] = **************************************************************************************/ /************************************************************************************** - * Function: nokia_select + * Name: nokia_select * * Description: * Select the SPI, locking and re-configuring if necessary @@ -674,7 +674,7 @@ static void nokia_select(FAR struct spi_dev_s *spi) } /************************************************************************************** - * Function: nokia_deselect + * Name: nokia_deselect * * Description: * De-select the SPI diff --git a/drivers/lcd/st7567.c b/drivers/lcd/st7567.c index a1f8b136612..c95ffaa8a30 100644 --- a/drivers/lcd/st7567.c +++ b/drivers/lcd/st7567.c @@ -343,7 +343,7 @@ static struct st7567_dev_s g_st7567dev = **************************************************************************************/ /************************************************************************************** - * Function: st7567_select + * Name: st7567_select * * Description: * Select the SPI, locking and re-configuring if necessary @@ -380,7 +380,7 @@ static void st7567_select(FAR struct spi_dev_s *spi) } /************************************************************************************** - * Function: st7567_deselect + * Name: st7567_deselect * * Description: * De-select the SPI diff --git a/drivers/lcd/ug-9664hswag01.c b/drivers/lcd/ug-9664hswag01.c index 1dadf526208..f56c8f7cd1f 100644 --- a/drivers/lcd/ug-9664hswag01.c +++ b/drivers/lcd/ug-9664hswag01.c @@ -377,7 +377,7 @@ static inline FAR const char *ug_powerstring(uint8_t power) } /************************************************************************************** - * Function: ug_select + * Name: ug_select * * Description: * Select the SPI, locking and re-configuring if necessary @@ -414,7 +414,7 @@ static void ug_select(FAR struct spi_dev_s *spi) } /************************************************************************************** - * Function: ug_deselect + * Name: ug_deselect * * Description: * De-select the SPI diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c index ef2f7f46aed..e64c2404e07 100644 --- a/drivers/net/cs89x0.c +++ b/drivers/net/cs89x0.c @@ -137,7 +137,7 @@ static int cs89x0_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac); ****************************************************************************/ /**************************************************************************** - * Function: cs89x0_getreg and cs89x0_putreg + * Name: cs89x0_getreg and cs89x0_putreg * * Description: * Read from and write to a CS89x0 register @@ -172,7 +172,7 @@ static void cs89x0_putreg(struct cs89x0_driver_s *cs89x0, int offset, uint16_t v } /**************************************************************************** - * Function: cs89x0_getppreg and cs89x0_putppreg + * Name: cs89x0_getppreg and cs89x0_putppreg * * Description: * Read from and write to a CS89x0 page packet register @@ -257,7 +257,7 @@ static void cs89x0_putppreg(struct cs89x0_driver_s *cs89x0, int addr, uint16_t v } /**************************************************************************** - * Function: cs89x0_transmit + * Name: cs89x0_transmit * * Description: * Start hardware transmission. Called either from the txdone interrupt @@ -298,7 +298,7 @@ static int cs89x0_transmit(struct cs89x0_driver_s *cs89x0) } /**************************************************************************** - * Function: cs89x0_txpoll + * Name: cs89x0_txpoll * * Description: * The transmitter is available, check if the network has any outgoing packets ready @@ -368,7 +368,7 @@ static int cs89x0_txpoll(struct net_driver_s *dev) } /**************************************************************************** - * Function: cs89x0_receive + * Name: cs89x0_receive * * Description: * An interrupt was received indicating the availability of a new RX packet @@ -554,7 +554,7 @@ static void cs89x0_receive(FAR struct cs89x0_driver_s *cs89x0, uint16_t isq) } /**************************************************************************** - * Function: cs89x0_txdone + * Name: cs89x0_txdone * * Description: * An interrupt was received indicating that the last TX packet(s) is done @@ -611,7 +611,7 @@ static void cs89x0_txdone(struct cs89x0_driver_s *cs89x0, uint16_t isq) } /**************************************************************************** - * Function: cs89x0_interrupt + * Name: cs89x0_interrupt * * Description: * Hardware interrupt handler @@ -680,7 +680,7 @@ static int cs89x0_interrupt(int irq, FAR void *context, FAR void *arg) } /**************************************************************************** - * Function: cs89x0_txtimeout + * Name: cs89x0_txtimeout * * Description: * Our TX watchdog timed out. Called from the timer interrupt handler. @@ -713,7 +713,7 @@ static void cs89x0_txtimeout(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: cs89x0_polltimer + * Name: cs89x0_polltimer * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -747,7 +747,7 @@ static void cs89x0_polltimer(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: cs89x0_ifup + * Name: cs89x0_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -787,7 +787,7 @@ static int cs89x0_ifup(struct net_driver_s *dev) } /**************************************************************************** - * Function: cs89x0_ifdown + * Name: cs89x0_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -825,7 +825,7 @@ static int cs89x0_ifdown(struct net_driver_s *dev) } /**************************************************************************** - * Function: cs89x0_txavail + * Name: cs89x0_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -867,7 +867,7 @@ static int cs89x0_txavail(struct net_driver_s *dev) } /**************************************************************************** - * Function: cs89x0_addmac + * Name: cs89x0_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -897,7 +897,7 @@ static int cs89x0_addmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: cs89x0_rmmac + * Name: cs89x0_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -931,7 +931,7 @@ static int cs89x0_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) ****************************************************************************/ /**************************************************************************** - * Function: cs89x0_initialize + * Name: cs89x0_initialize * * Description: * Initialize the Ethernet driver diff --git a/drivers/net/dm90x0.c b/drivers/net/dm90x0.c index 4707ff87f40..a812686e8a5 100644 --- a/drivers/net/dm90x0.c +++ b/drivers/net/dm90x0.c @@ -419,7 +419,7 @@ static void dm9x_reset(struct dm9x_driver_s *priv); ****************************************************************************/ /**************************************************************************** - * Function: getreg and setreg + * Name: getreg and setreg * * Description: * Access to memory-mapped DM90x0 8-bit registers @@ -448,7 +448,7 @@ static void putreg(int reg, uint8_t value) } /**************************************************************************** - * Function: read8, read16, read32 + * Name: read8, read16, read32 * * Description: * Read packet data from the DM90x0 SRAM based on its current I/O mode @@ -496,7 +496,7 @@ static void read32(FAR uint8_t *ptr, int len) } /**************************************************************************** - * Function: discard8, discard16, discard32 + * Name: discard8, discard16, discard32 * * Description: * Read and discard packet data in the DM90x0 SRAM based on its current @@ -540,7 +540,7 @@ static void discard32(int len) } /**************************************************************************** - * Function: write8, write16, write32 + * Name: write8, write16, write32 * * Description: * Write packet data into the DM90x0 SRAM based on its current I/O mode @@ -591,7 +591,7 @@ static void write32(FAR const uint8_t *ptr, int len) } /**************************************************************************** - * Function: dm9x_readsrom + * Name: dm9x_readsrom * * Description: * Read a word from SROM @@ -619,7 +619,7 @@ static uint16_t dm9x_readsrom(struct dm9x_driver_s *priv, int offset) #endif /**************************************************************************** - * Function: dm9x_phyread and dm9x_phywrite + * Name: dm9x_phyread and dm9x_phywrite * * Description: * Read/write data from/to the PHY @@ -672,7 +672,7 @@ static void dm9x_phywrite(struct dm9x_driver_s *priv, int reg, uint16_t value) } /**************************************************************************** - * Function: dm9x_rxchecksumready + * Name: dm9x_rxchecksumready * * Description: * Return true if the RX checksum is available @@ -700,7 +700,7 @@ static inline bool dm9x_rxchecksumready(uint8_t rxbyte) #endif /**************************************************************************** - * Function: dm9x_transmit + * Name: dm9x_transmit * * Description: * Start hardware transmission. Called either from the txdone interrupt @@ -767,7 +767,7 @@ static int dm9x_transmit(struct dm9x_driver_s *priv) } /**************************************************************************** - * Function: dm9x_txpoll + * Name: dm9x_txpoll * * Description: * The transmitter is available, check if the network has any outgoing packets ready @@ -843,7 +843,7 @@ static int dm9x_txpoll(struct net_driver_s *dev) } /**************************************************************************** - * Function: dm9x_receive + * Name: dm9x_receive * * Description: * An interrupt was received indicating the availability of a new RX packet @@ -1041,7 +1041,7 @@ static void dm9x_receive(FAR struct dm9x_driver_s *priv) } /**************************************************************************** - * Function: dm9x_txdone + * Name: dm9x_txdone * * Description: * An interrupt was received indicating that the last TX packet(s) is done @@ -1104,7 +1104,7 @@ static void dm9x_txdone(struct dm9x_driver_s *priv) } /**************************************************************************** - * Function: dm9x_interrupt_work + * Name: dm9x_interrupt_work * * Description: * Perform interrupt related work from the worker thread @@ -1223,7 +1223,7 @@ static void dm9x_interrupt_work(FAR void *arg) } /**************************************************************************** - * Function: dm9x_interrupt + * Name: dm9x_interrupt * * Description: * Hardware interrupt handler @@ -1275,7 +1275,7 @@ static int dm9x_interrupt(int irq, FAR void *context, FAR void *arg) } /**************************************************************************** - * Function: dm9x_txtimeout_work + * Name: dm9x_txtimeout_work * * Description: * Perform TX timeout related work from the worker thread @@ -1319,7 +1319,7 @@ static void dm9x_txtimeout_work(FAR void *arg) } /**************************************************************************** - * Function: dm9x_txtimeout_expiry + * Name: dm9x_txtimeout_expiry * * Description: * Our TX watchdog timed out. Called from the timer interrupt handler. @@ -1354,7 +1354,7 @@ static void dm9x_txtimeout_expiry(int argc, wdparm_t arg, ...) } /**************************************************************************** - * Function: dm9x_poll_work + * Name: dm9x_poll_work * * Description: * Perform periodic polling from the worker thread @@ -1407,7 +1407,7 @@ static void dm9x_poll_work(FAR void *arg) } /**************************************************************************** - * Function: dm9x_poll_expiry + * Name: dm9x_poll_expiry * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -1434,7 +1434,7 @@ static void dm9x_poll_expiry(int argc, wdparm_t arg, ...) } /**************************************************************************** - * Function: dm9x_phymode + * Name: dm9x_phymode * * Description: * Configure the PHY operating mode @@ -1478,7 +1478,7 @@ static inline void dm9x_phymode(struct dm9x_driver_s *priv) } /**************************************************************************** - * Function: dm9x_ifup + * Name: dm9x_ifup * * Description: * NuttX Callback: Bring up the DM90x0 interface when an IP address is @@ -1545,7 +1545,7 @@ static int dm9x_ifup(struct net_driver_s *dev) } /**************************************************************************** - * Function: dm9x_ifdown + * Name: dm9x_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -1591,7 +1591,7 @@ static int dm9x_ifdown(struct net_driver_s *dev) } /**************************************************************************** - * Function: dm9x_txavail_work + * Name: dm9x_txavail_work * * Description: * Perform an out-of-cycle poll on the worker thread. @@ -1635,7 +1635,7 @@ static void dm9x_txavail_work(FAR void *arg) } /**************************************************************************** - * Function: dm9x_txavail + * Name: dm9x_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -1673,7 +1673,7 @@ static int dm9x_txavail(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: dm9x_addmac + * Name: dm9x_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -1703,7 +1703,7 @@ static int dm9x_addmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: dm9x_rmmac + * Name: dm9x_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -1733,7 +1733,7 @@ static int dm9x_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: dm9x_bringup + * Name: dm9x_bringup * * Description: * Initialize the dm90x0 chip @@ -1829,7 +1829,7 @@ static void dm9x_bringup(struct dm9x_driver_s *priv) } /**************************************************************************** - * Function: dm9x_reset + * Name: dm9x_reset * * Description: * Stop, reset, re-initialize, and restart the DM90x0 chip and driver. At @@ -1886,7 +1886,7 @@ static void dm9x_reset(struct dm9x_driver_s *priv) ****************************************************************************/ /**************************************************************************** - * Function: dm9x_initialize + * Name: dm9x_initialize * * Description: * Initialize the DM90x0 driver diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index 4b6f93a712c..d0034543a8e 100644 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c @@ -358,7 +358,7 @@ static int enc_reset(FAR struct enc_driver_s *priv); ****************************************************************************/ /**************************************************************************** - * Function: enc_configspi + * Name: enc_configspi * * Description: * Configure the SPI for use with the ENC28J60 @@ -384,7 +384,7 @@ static inline void enc_configspi(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: enc_lock + * Name: enc_lock * * Description: * Select the SPI, locking and re-configuring if necessary @@ -418,7 +418,7 @@ static void enc_lock(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_unlock + * Name: enc_unlock * * Description: * De-select the SPI @@ -441,7 +441,7 @@ static inline void enc_unlock(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_rdgreg2 + * Name: enc_rdgreg2 * * Description: * Read a global register (EIE, EIR, ESTAT, ECON2, or ECON1). The cmd @@ -484,7 +484,7 @@ static uint8_t enc_rdgreg2(FAR struct enc_driver_s *priv, uint8_t cmd) } /**************************************************************************** - * Function: enc_wrgreg2 + * Name: enc_wrgreg2 * * Description: * Write to a global register (EIE, EIR, ESTAT, ECON2, or ECON1). The cmd @@ -525,7 +525,7 @@ static void enc_wrgreg2(FAR struct enc_driver_s *priv, uint8_t cmd, } /**************************************************************************** - * Function: enc_src + * Name: enc_src * * Description: * Send the single byte system reset command (SRC). @@ -579,7 +579,7 @@ static inline void enc_src(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_setbank + * Name: enc_setbank * * Description: * Set the bank for these next control register access. @@ -622,7 +622,7 @@ static void enc_setbank(FAR struct enc_driver_s *priv, uint8_t bank) } /**************************************************************************** - * Function: enc_rdbreg + * Name: enc_rdbreg * * Description: * Read from a banked control register using the RCR command. @@ -677,7 +677,7 @@ static uint8_t enc_rdbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg) } /**************************************************************************** - * Function: enc_wrbreg + * Name: enc_wrbreg * * Description: * Write to a banked control register using the WCR command. Unlike @@ -723,7 +723,7 @@ static void enc_wrbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg, } /**************************************************************************** - * Function: enc_waitbreg + * Name: enc_waitbreg * * Description: * Wait until banked register bit(s) take a specific value (or a timeout @@ -764,7 +764,7 @@ static int enc_waitbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg, } /**************************************************************************** - * Function: enc_txdump enc_rxdump + * Name: enc_txdump enc_rxdump * * Description: * Dump registers associated with receiving or sending packets. @@ -836,7 +836,7 @@ static void enc_txdump(FAR struct enc_driver_s *priv) #endif /**************************************************************************** - * Function: enc_rdbuffer + * Name: enc_rdbuffer * * Description: * Read a buffer of data. @@ -878,7 +878,7 @@ static void enc_rdbuffer(FAR struct enc_driver_s *priv, FAR uint8_t *buffer, } /**************************************************************************** - * Function: enc_wrbuffer + * Name: enc_wrbuffer * * Description: * Write a buffer of data. @@ -961,7 +961,7 @@ static inline void enc_wrbuffer(FAR struct enc_driver_s *priv, } /**************************************************************************** - * Function: enc_rdphy + * Name: enc_rdphy * * Description: * Read 16-bits of PHY data. @@ -1022,7 +1022,7 @@ static uint16_t enc_rdphy(FAR struct enc_driver_s *priv, uint8_t phyaddr) } /**************************************************************************** - * Function: enc_wrphy + * Name: enc_wrphy * * Description: * write 16-bits of PHY data. @@ -1075,7 +1075,7 @@ static void enc_wrphy(FAR struct enc_driver_s *priv, uint8_t phyaddr, } /**************************************************************************** - * Function: enc_transmit + * Name: enc_transmit * * Description: * Start hardware transmission. Called either from: @@ -1159,7 +1159,7 @@ static int enc_transmit(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_txpoll + * Name: enc_txpoll * * Description: * The transmitter is available, check if the network has any outgoing packets ready @@ -1230,7 +1230,7 @@ static int enc_txpoll(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_linkstatus + * Name: enc_linkstatus * * Description: * The current link status can be obtained from the PHSTAT1.LLSTAT or @@ -1256,7 +1256,7 @@ static void enc_linkstatus(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_txif + * Name: enc_txif * * Description: * An TXIF interrupt was received indicating that the last TX packet(s) is @@ -1293,7 +1293,7 @@ static void enc_txif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_txerif + * Name: enc_txerif * * Description: * An TXERIF interrupt was received indicating that a TX abort has occurred. @@ -1336,7 +1336,7 @@ static void enc_txerif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_rxerif + * Name: enc_rxerif * * Description: * An RXERIF interrupt was received indicating that the last TX packet(s) is @@ -1358,7 +1358,7 @@ static void enc_rxerif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_rxdispatch + * Name: enc_rxdispatch * * Description: * Give the newly received packet to the network. @@ -1489,7 +1489,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_pktif + * Name: enc_pktif * * Description: * An interrupt was received indicating the availability of a new RX packet @@ -1595,7 +1595,7 @@ static void enc_pktif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_irqworker + * Name: enc_irqworker * * Description: * Perform interrupt handling logic outside of the interrupt handler (on @@ -1815,7 +1815,7 @@ static void enc_irqworker(FAR void *arg) } /**************************************************************************** - * Function: enc_interrupt + * Name: enc_interrupt * * Description: * Hardware interrupt handler @@ -1854,7 +1854,7 @@ static int enc_interrupt(int irq, FAR void *context, FAR void *arg) } /**************************************************************************** - * Function: enc_toworker + * Name: enc_toworker * * Description: * Our TX watchdog timed out. This is the worker thread continuation of @@ -1906,7 +1906,7 @@ static void enc_toworker(FAR void *arg) } /**************************************************************************** - * Function: enc_txtimeout + * Name: enc_txtimeout * * Description: * Our TX watchdog timed out. Called from the timer interrupt handler. @@ -1947,7 +1947,7 @@ static void enc_txtimeout(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: enc_pollworker + * Name: enc_pollworker * * Description: * Periodic timer handler continuation. @@ -2002,7 +2002,7 @@ static void enc_pollworker(FAR void *arg) } /**************************************************************************** - * Function: enc_polltimer + * Name: enc_polltimer * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -2042,7 +2042,7 @@ static void enc_polltimer(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: enc_ifup + * Name: enc_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -2114,7 +2114,7 @@ static int enc_ifup(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_ifdown + * Name: enc_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -2168,7 +2168,7 @@ static int enc_ifdown(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_txavail + * Name: enc_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -2222,7 +2222,7 @@ static int enc_txavail(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_addmac + * Name: enc_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -2260,7 +2260,7 @@ static int enc_addmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: enc_rmmac + * Name: enc_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -2298,7 +2298,7 @@ static int enc_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: enc_pwrsave + * Name: enc_pwrsave * * Description: * The ENC28J60 may be commanded to power-down via the SPI interface. @@ -2360,7 +2360,7 @@ static void enc_pwrsave(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_pwrfull + * Name: enc_pwrfull * * Description: * When normal operation is desired, the host controller must perform @@ -2412,7 +2412,7 @@ static void enc_pwrfull(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_setmacaddr + * Name: enc_setmacaddr * * Description: * Set the MAC address to the configured value. This is done after ifup @@ -2449,7 +2449,7 @@ static void enc_setmacaddr(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_reset + * Name: enc_reset * * Description: * Stop, reset, re-initialize, and restart the ENC28J60. This is done @@ -2588,7 +2588,7 @@ static int enc_reset(FAR struct enc_driver_s *priv) ****************************************************************************/ /**************************************************************************** - * Function: enc_initialize + * Name: enc_initialize * * Description: * Initialize the Ethernet driver. The ENC28J60 device is assumed to be diff --git a/drivers/net/encx24j600.c b/drivers/net/encx24j600.c index 3394710f8ad..e15cfe71dc8 100644 --- a/drivers/net/encx24j600.c +++ b/drivers/net/encx24j600.c @@ -378,7 +378,7 @@ static int enc_reset(FAR struct enc_driver_s *priv); ****************************************************************************/ /**************************************************************************** - * Function: enc_lock + * Name: enc_lock * * Description: * Select the SPI, locking and re-configuring if necessary @@ -412,7 +412,7 @@ static void enc_lock(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_unlock + * Name: enc_unlock * * Description: * De-select the SPI @@ -435,7 +435,7 @@ static inline void enc_unlock(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_cmd + * Name: enc_cmd * * Description: * Execute two byte command. @@ -471,7 +471,7 @@ static void enc_cmd(FAR struct enc_driver_s *priv, uint8_t cmd, uint16_t arg) } /**************************************************************************** - * Function: enc_setethrst + * Name: enc_setethrst * * Description: * Issues System Reset by setting ETHRST (ECON2<4>) @@ -507,7 +507,7 @@ static inline void enc_setethrst(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_setbank + * Name: enc_setbank * * Description: * Set the bank for the next control register access. @@ -547,7 +547,7 @@ static void enc_setbank(FAR struct enc_driver_s *priv, uint8_t bank) } /**************************************************************************** - * Function: enc_rdreg + * Name: enc_rdreg * * Description: * Read one word from a control register using the RCR command. @@ -587,7 +587,7 @@ static uint16_t enc_rdreg(FAR struct enc_driver_s *priv, uint16_t ctrlreg) } /**************************************************************************** - * Function: enc_wrreg + * Name: enc_wrreg * * Description: * Write one word to a control register using the WCR command. @@ -623,7 +623,7 @@ static void enc_wrreg(FAR struct enc_driver_s *priv, uint16_t ctrlreg, } /**************************************************************************** - * Function: enc_waitbreg + * Name: enc_waitbreg * * Description: * Wait until banked register bit(s) take a specific value (or a timeout @@ -664,7 +664,7 @@ static int enc_waitreg(FAR struct enc_driver_s *priv, uint16_t ctrlreg, } /**************************************************************************** - * Function: enc_bfs + * Name: enc_bfs * * Description: * Bit Field Set. @@ -709,7 +709,7 @@ static void enc_bfs(FAR struct enc_driver_s *priv, uint16_t ctrlreg, } /**************************************************************************** - * Function: enc_bfc + * Name: enc_bfc * * Description: * Bit Field Clear. @@ -754,7 +754,7 @@ static void enc_bfc(FAR struct enc_driver_s *priv, uint16_t ctrlreg, } /**************************************************************************** - * Function: enc_txdump enc_rxdump + * Name: enc_txdump enc_rxdump * * Description: * Dump registers associated with receiving or sending packets. @@ -826,7 +826,7 @@ static void enc_txdump(FAR struct enc_driver_s *priv) #endif /**************************************************************************** - * Function: enc_rdbuffer + * Name: enc_rdbuffer * * Description: * Read a buffer of data from RX Data Buffer. @@ -868,7 +868,7 @@ static void enc_rdbuffer(FAR struct enc_driver_s *priv, FAR uint8_t *buffer, } /**************************************************************************** - * Function: enc_wrbuffer + * Name: enc_wrbuffer * * Description: * Write a buffer of data. @@ -901,7 +901,7 @@ static inline void enc_wrbuffer(FAR struct enc_driver_s *priv, } /**************************************************************************** - * Function: enc_rdphy + * Name: enc_rdphy * * Description: * Read 16-bits of PHY data. @@ -961,7 +961,7 @@ static uint16_t enc_rdphy(FAR struct enc_driver_s *priv, uint8_t phyaddr) } /**************************************************************************** - * Function: enc_wrphy + * Name: enc_wrphy * * Description: * write 16-bits of PHY data. @@ -1009,7 +1009,7 @@ static void enc_wrphy(FAR struct enc_driver_s *priv, uint8_t phyaddr, } /**************************************************************************** - * Function: enc_transmit + * Name: enc_transmit * * Description: * Start hardware transmission. Called either from: @@ -1075,7 +1075,7 @@ static int enc_transmit(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_txenqueue + * Name: enc_txenqueue * * Description: * Write packet from d_buf to the enc's SRAM if a free descriptor is available. @@ -1143,7 +1143,7 @@ static int enc_txenqueue(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_txpoll + * Name: enc_txpoll * * Description: * Enqueues network packets if available. @@ -1212,7 +1212,7 @@ static int enc_txpoll(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_linkstatus + * Name: enc_linkstatus * * Description: * The current link status can be obtained from the PHSTAT1.LLSTAT or @@ -1268,7 +1268,7 @@ static void enc_linkstatus(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_txif + * Name: enc_txif * * Description: * An TXIF interrupt was received indicating that the last TX packet(s) is @@ -1308,7 +1308,7 @@ static void enc_txif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_rxldpkt + * Name: enc_rxldpkt * * Description: * Load packet from the enc's RX buffer to the driver d_buf. @@ -1348,7 +1348,7 @@ static void enc_rxldpkt(FAR struct enc_driver_s *priv, } /**************************************************************************** - * Function: enc_rxgetdescr + * Name: enc_rxgetdescr * * Description: * Check for a free descriptor in the free list. If no free descriptor is @@ -1380,7 +1380,7 @@ static struct enc_descr_s *enc_rxgetdescr(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_rxrmpkt + * Name: enc_rxrmpkt * * Description: * Remove packet from the RX queue and free the block of memory in the enc's @@ -1439,7 +1439,7 @@ static void enc_rxrmpkt(FAR struct enc_driver_s *priv, FAR struct enc_descr_s *d } /**************************************************************************** - * Function: enc_rxdispatch + * Name: enc_rxdispatch * * Description: * Give the newly received packet to the network. @@ -1620,7 +1620,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_pktif + * Name: enc_pktif * * Description: * An interrupt was received indicating the availability of a new RX packet @@ -1741,7 +1741,7 @@ static void enc_pktif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_rxabtif + * Name: enc_rxabtif * * Description: * An interrupt was received indicating the abortion of an RX packet @@ -1807,7 +1807,7 @@ static void enc_rxabtif(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_irqworker + * Name: enc_irqworker * * Description: * Perform interrupt handling logic outside of the interrupt handler (on @@ -1980,7 +1980,7 @@ static void enc_irqworker(FAR void *arg) } /**************************************************************************** - * Function: enc_interrupt + * Name: enc_interrupt * * Description: * Hardware interrupt handler @@ -2019,7 +2019,7 @@ static int enc_interrupt(int irq, FAR void *context) } /**************************************************************************** - * Function: enc_toworker + * Name: enc_toworker * * Description: * Our TX watchdog timed out. This is the worker thread continuation of @@ -2071,7 +2071,7 @@ static void enc_toworker(FAR void *arg) } /**************************************************************************** - * Function: enc_txtimeout + * Name: enc_txtimeout * * Description: * Our TX watchdog timed out. Called from the timer interrupt handler. @@ -2112,7 +2112,7 @@ static void enc_txtimeout(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: enc_pollworker + * Name: enc_pollworker * * Description: * Periodic timer handler continuation. @@ -2166,7 +2166,7 @@ static void enc_pollworker(FAR void *arg) } /**************************************************************************** - * Function: enc_polltimer + * Name: enc_polltimer * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -2206,7 +2206,7 @@ static void enc_polltimer(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: enc_ifup + * Name: enc_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -2282,7 +2282,7 @@ static int enc_ifup(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_ifdown + * Name: enc_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -2337,7 +2337,7 @@ static int enc_ifdown(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_txavail + * Name: enc_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -2392,7 +2392,7 @@ static int enc_txavail(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_rxavail + * Name: enc_rxavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -2424,7 +2424,7 @@ static int enc_rxavail(struct net_driver_s *dev) } /**************************************************************************** - * Function: enc_addmac + * Name: enc_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -2462,7 +2462,7 @@ static int enc_addmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: enc_rmmac + * Name: enc_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -2500,7 +2500,7 @@ static int enc_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: enc_pwrsave + * Name: enc_pwrsave * * Description: * The ENCX24J600 may be placed in Power-Down mode through the command @@ -2572,7 +2572,7 @@ static void enc_pwrsave(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_ldmacaddr + * Name: enc_ldmacaddr * * Description: * Load the MAC address from the ENCX24j600 and write it to the device @@ -2609,7 +2609,7 @@ static void enc_ldmacaddr(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_setmacaddr + * Name: enc_setmacaddr * * Description: * Set the MAC address to the configured value. This is done after ifup @@ -2653,7 +2653,7 @@ static void enc_setmacaddr(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_resetbuffers + * Name: enc_resetbuffers * * Description: * Initializes the RX/TX queues and configures the enc's RX/TX buffers. @@ -2703,7 +2703,7 @@ static void enc_resetbuffers(FAR struct enc_driver_s *priv) } /**************************************************************************** - * Function: enc_reset + * Name: enc_reset * * Description: * Stop, reset, re-initialize, and restart the ENCX24J600. This is done @@ -2822,7 +2822,7 @@ static int enc_reset(FAR struct enc_driver_s *priv) ****************************************************************************/ /**************************************************************************** - * Function: enc_initialize + * Name: enc_initialize * * Description: * Initialize the Ethernet driver. The ENCX24J600 device is assumed to be diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index fbc5f909b16..7b02fa9e21a 100644 --- a/drivers/net/ftmac100.c +++ b/drivers/net/ftmac100.c @@ -244,7 +244,7 @@ static void ftmac100_ipv6multicast(FAR struct ftmac100_driver_s *priv); ****************************************************************************/ /**************************************************************************** - * Function: ftmac100_transmit + * Name: ftmac100_transmit * * Description: * Start hardware transmission. Called either from the txdone interrupt @@ -331,7 +331,7 @@ static int ftmac100_transmit(FAR struct ftmac100_driver_s *priv) } /**************************************************************************** - * Function: ftmac100_txpoll + * Name: ftmac100_txpoll * * Description: * The transmitter is available, check if the network has any outgoing packets @@ -405,7 +405,7 @@ static int ftmac100_txpoll(struct net_driver_s *dev) } /**************************************************************************** - * Function: ftmac100_reset + * Name: ftmac100_reset * * Description: * Do the HW reset @@ -434,7 +434,7 @@ static void ftmac100_reset(FAR struct ftmac100_driver_s *priv) } /**************************************************************************** - * Function: ftmac100_init + * Name: ftmac100_init * * Description: * Perform HW initialization @@ -542,7 +542,7 @@ static void ftmac100_init(FAR struct ftmac100_driver_s *priv) } /**************************************************************************** - * Function: ftmac100_mdio_read + * Name: ftmac100_mdio_read * * Description: * Read MII registers @@ -583,7 +583,7 @@ static uint32_t ftmac100_mdio_read(FAR struct ftmac100_register_s *iobase, int r } /**************************************************************************** - * Function: ftmac100_set_mac + * Name: ftmac100_set_mac * * Description: * Set the MAC address @@ -613,7 +613,7 @@ static void ftmac100_set_mac(FAR struct ftmac100_driver_s *priv, } /**************************************************************************** - * Function: ftmac100_receive + * Name: ftmac100_receive * * Description: * An interrupt was received indicating the availability of a new RX packet @@ -787,7 +787,7 @@ static void ftmac100_receive(FAR struct ftmac100_driver_s *priv) } /**************************************************************************** - * Function: ftmac100_txdone + * Name: ftmac100_txdone * * Description: * An interrupt was received indicating that the last TX packet(s) is done @@ -850,7 +850,7 @@ static void ftmac100_txdone(FAR struct ftmac100_driver_s *priv) } /**************************************************************************** - * Function: ftmac100_interrupt_work + * Name: ftmac100_interrupt_work * * Description: * Perform interrupt related work from the worker thread @@ -954,7 +954,7 @@ out: } /**************************************************************************** - * Function: ftmac100_interrupt + * Name: ftmac100_interrupt * * Description: * Hardware interrupt handler @@ -1009,7 +1009,7 @@ static int ftmac100_interrupt(int irq, FAR void *context, FAR void *arg) } /**************************************************************************** - * Function: ftmac100_txtimeout_work + * Name: ftmac100_txtimeout_work * * Description: * Perform TX timeout related work from the worker thread @@ -1042,7 +1042,7 @@ static void ftmac100_txtimeout_work(FAR void *arg) } /**************************************************************************** - * Function: ftmac100_txtimeout_expiry + * Name: ftmac100_txtimeout_expiry * * Description: * Our TX watchdog timed out. Called from the timer interrupt handler. @@ -1077,7 +1077,7 @@ static void ftmac100_txtimeout_expiry(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: ftmac100_poll_work + * Name: ftmac100_poll_work * * Description: * Perform periodic polling from the worker thread @@ -1120,7 +1120,7 @@ static void ftmac100_poll_work(FAR void *arg) } /**************************************************************************** - * Function: ftmac100_poll_expiry + * Name: ftmac100_poll_expiry * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -1147,7 +1147,7 @@ static void ftmac100_poll_expiry(int argc, uint32_t arg, ...) } /**************************************************************************** - * Function: ftmac100_ifup + * Name: ftmac100_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -1208,7 +1208,7 @@ static int ftmac100_ifup(struct net_driver_s *dev) } /**************************************************************************** - * Function: ftmac100_ifdown + * Name: ftmac100_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -1254,7 +1254,7 @@ static int ftmac100_ifdown(struct net_driver_s *dev) } /**************************************************************************** - * Function: ftmac100_txavail_work + * Name: ftmac100_txavail_work * * Description: * Perform an out-of-cycle poll on the worker thread. @@ -1293,7 +1293,7 @@ static void ftmac100_txavail_work(FAR void *arg) } /**************************************************************************** - * Function: ftmac100_txavail + * Name: ftmac100_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -1331,7 +1331,7 @@ static int ftmac100_txavail(struct net_driver_s *dev) } /**************************************************************************** - * Function: ftmac100_addmac + * Name: ftmac100_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -1385,7 +1385,7 @@ static int ftmac100_addmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: ftmac100_rmmac + * Name: ftmac100_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -1430,7 +1430,7 @@ static int ftmac100_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: ftmac100_ipv6multicast + * Name: ftmac100_ipv6multicast * * Description: * Configure the IPv6 multicast MAC address. @@ -1507,7 +1507,7 @@ static void ftmac100_ipv6multicast(FAR struct ftmac100_driver_s *priv) ****************************************************************************/ /**************************************************************************** - * Function: ftmac100_initialize + * Name: ftmac100_initialize * * Description: * Initialize the Ethernet controller and driver diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 68f6c9abdc9..08f7b8295a7 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c @@ -145,7 +145,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac); ****************************************************************************/ /**************************************************************************** - * Function: lo_txpoll + * Name: lo_txpoll * * Description: * Check if the network has any outgoing packets ready to send. This is @@ -219,7 +219,7 @@ static int lo_txpoll(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_poll_work + * Name: lo_poll_work * * Description: * Perform periodic polling from the worker thread @@ -262,7 +262,7 @@ static void lo_poll_work(FAR void *arg) } /**************************************************************************** - * Function: lo_poll_expiry + * Name: lo_poll_expiry * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -289,7 +289,7 @@ static void lo_poll_expiry(int argc, wdparm_t arg, ...) } /**************************************************************************** - * Function: lo_ifup + * Name: lo_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -331,7 +331,7 @@ static int lo_ifup(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_ifdown + * Name: lo_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -361,7 +361,7 @@ static int lo_ifdown(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_txavail_work + * Name: lo_txavail_work * * Description: * Perform an out-of-cycle poll on the worker thread. @@ -400,7 +400,7 @@ static void lo_txavail_work(FAR void *arg) } /**************************************************************************** - * Function: lo_txavail + * Name: lo_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -438,7 +438,7 @@ static int lo_txavail(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_addmac + * Name: lo_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -465,7 +465,7 @@ static int lo_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: lo_rmmac + * Name: lo_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -496,7 +496,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) ****************************************************************************/ /**************************************************************************** - * Function: localhost_initialize + * Name: localhost_initialize * * Description: * Initialize the Ethernet controller and driver diff --git a/drivers/net/phy_notify.c b/drivers/net/phy_notify.c index f26dad2b742..6cc8e739df4 100644 --- a/drivers/net/phy_notify.c +++ b/drivers/net/phy_notify.c @@ -275,7 +275,7 @@ static int phy_handler(int irq, FAR void *context, FAR void *arg) ****************************************************************************/ /**************************************************************************** - * Function: phy_notify_subscribe + * Name: phy_notify_subscribe * * Description: * Setup up to deliver signals to the task identified by 'pid' when @@ -362,7 +362,7 @@ int phy_notify_subscribe(FAR const char *intf, pid_t pid, int signo, } /**************************************************************************** - * Function: phy_notify_unsubscribe + * Name: phy_notify_unsubscribe * * Description: * Stop the deliver of signals for events from the PHY associated with diff --git a/drivers/net/slip.c b/drivers/net/slip.c index afd3ca91ae2..36eefbef956 100644 --- a/drivers/net/slip.c +++ b/drivers/net/slip.c @@ -214,7 +214,7 @@ static void slip_semtake(FAR struct slip_driver_s *priv) #define slip_semgive(p) sem_post(&(p)->waitsem); /**************************************************************************** - * Function: slip_write + * Name: slip_write * * Description: * Just an inline wrapper around fwrite with error checking. @@ -238,7 +238,7 @@ static inline void slip_write(FAR struct slip_driver_s *priv, } /**************************************************************************** - * Function: slip_putc + * Name: slip_putc * * Description: * Just an inline wrapper around putc with error checking. @@ -256,7 +256,7 @@ static inline void slip_putc(FAR struct slip_driver_s *priv, int ch) } /**************************************************************************** - * Function: slip_transmit + * Name: slip_transmit * * Description: * Start hardware transmission. Called either from the txdone interrupt @@ -368,7 +368,7 @@ static int slip_transmit(FAR struct slip_driver_s *priv) } /**************************************************************************** - * Function: slip_txpoll + * Name: slip_txpoll * * Description: * Check if the network has any outgoing packets ready to send. This is a @@ -409,7 +409,7 @@ static int slip_txpoll(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: slip_txtask + * Name: slip_txtask * * Description: * Polling and transmission is performed on tx thread. @@ -499,7 +499,7 @@ static void slip_txtask(int argc, FAR char *argv[]) } /**************************************************************************** - * Function: slip_getc + * Name: slip_getc * * Description: * Get one byte from the serial input. @@ -525,7 +525,7 @@ static inline int slip_getc(FAR struct slip_driver_s *priv) } /**************************************************************************** - * Function: slip_receive + * Name: slip_receive * * Description: * Read a packet from the serial input @@ -630,7 +630,7 @@ static inline void slip_receive(FAR struct slip_driver_s *priv) } /**************************************************************************** - * Function: slip_rxtask + * Name: slip_rxtask * * Description: * Wait for incoming data. @@ -751,7 +751,7 @@ static int slip_rxtask(int argc, FAR char *argv[]) } /**************************************************************************** - * Function: slip_ifup + * Name: slip_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -782,7 +782,7 @@ static int slip_ifup(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: slip_ifdown + * Name: slip_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -808,7 +808,7 @@ static int slip_ifdown(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: slip_txavail + * Name: slip_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -841,7 +841,7 @@ static int slip_txavail(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: slip_addmac + * Name: slip_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -870,7 +870,7 @@ static int slip_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: slip_rmmac + * Name: slip_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -903,7 +903,7 @@ static int slip_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) ****************************************************************************/ /**************************************************************************** - * Function: slip_initialize + * Name: slip_initialize * * Description: * Instantiate a SLIP network interface. diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 968a9e21221..a942bebe13b 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -304,7 +304,7 @@ static void tun_pollnotify(FAR struct tun_device_s *priv, pollevent_t eventset) #endif /**************************************************************************** - * Function: tun_transmit + * Name: tun_transmit * * Description: * Start hardware transmission. Called either from the txdone interrupt @@ -343,7 +343,7 @@ static int tun_fd_transmit(FAR struct tun_device_s *priv) } /**************************************************************************** - * Function: tun_txpoll + * Name: tun_txpoll * * Description: * The transmitter is available, check if the network has any outgoing packets @@ -393,7 +393,7 @@ static int tun_txpoll(struct net_driver_s *dev) } /**************************************************************************** - * Function: tun_receive + * Name: tun_receive * * Description: * An interrupt was received indicating the availability of a new RX packet @@ -495,7 +495,7 @@ static void tun_net_receive(FAR struct tun_device_s *priv) } /**************************************************************************** - * Function: tun_txdone + * Name: tun_txdone * * Description: * An interrupt was received indicating that the last TX packet(s) is done @@ -524,7 +524,7 @@ static void tun_txdone(FAR struct tun_device_s *priv) } /**************************************************************************** - * Function: tun_poll_work + * Name: tun_poll_work * * Description: * Perform periodic polling from the worker thread @@ -570,7 +570,7 @@ static void tun_poll_work(FAR void *arg) } /**************************************************************************** - * Function: tun_poll_expiry + * Name: tun_poll_expiry * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -597,7 +597,7 @@ static void tun_poll_expiry(int argc, wdparm_t arg, ...) } /**************************************************************************** - * Function: tun_ifup + * Name: tun_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -649,7 +649,7 @@ static int tun_ifup(struct net_driver_s *dev) } /**************************************************************************** - * Function: tun_ifdown + * Name: tun_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -682,7 +682,7 @@ static int tun_ifdown(struct net_driver_s *dev) } /**************************************************************************** - * Function: tun_txavail + * Name: tun_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -731,7 +731,7 @@ static int tun_txavail(struct net_driver_s *dev) } /**************************************************************************** - * Function: tun_addmac + * Name: tun_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -758,7 +758,7 @@ static int tun_addmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: tun_rmmac + * Name: tun_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -785,7 +785,7 @@ static int tun_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: tun_ipv6multicast + * Name: tun_ipv6multicast * * Description: * Configure the IPv6 multicast MAC address. @@ -807,7 +807,7 @@ static void tun_ipv6multicast(FAR struct tun_device_s *priv) #endif /* CONFIG_NET_ICMPv6 */ /**************************************************************************** - * Function: tun_dev_init + * Name: tun_dev_init * * Description: * Initialize the TUN device @@ -1228,7 +1228,7 @@ static int tun_ioctl(FAR struct file *filep, int cmd, unsigned long arg) ****************************************************************************/ /**************************************************************************** - * Function: tun_initialize + * Name: tun_initialize * * Description: * Instantiate a SLIP network interface. diff --git a/drivers/video/ov2640.c b/drivers/video/ov2640.c index 06f88d1bf4a..f0dc396289f 100644 --- a/drivers/video/ov2640.c +++ b/drivers/video/ov2640.c @@ -672,7 +672,7 @@ static const struct ovr2640_reg_s g_ov2640_jpeg_uxga_resolution[] = ****************************************************************************/ /**************************************************************************** - * Function: ov2640_putreg + * Name: ov2640_putreg * * Description: * Set one OV2640 register @@ -723,7 +723,7 @@ static int ov2640_putreg(FAR struct i2c_master_s *i2c, uint8_t regaddr, } /**************************************************************************** - * Function: ov2640_getreg + * Name: ov2640_getreg * * Description: * Set one OV2640 register @@ -779,7 +779,7 @@ static uint8_t ov2640_getreg(FAR struct i2c_master_s *i2c, uint8_t regaddr) } /**************************************************************************** - * Function: ov2640_putreglist + * Name: ov2640_putreglist * * Description: * Set a list of OV2640 register values. @@ -816,7 +816,7 @@ static int ov2640_putreglist(FAR struct i2c_master_s *i2c, } /**************************************************************************** - * Function: ovr2640_chipid + * Name: ovr2640_chipid * * Description: * Read and verify the CHIP ID @@ -869,7 +869,7 @@ static int ovr2640_chipid(FAR struct i2c_master_s *i2c) } /**************************************************************************** - * Function: ov2640_reset + * Name: ov2640_reset * * Description: * Reset the OV2640. @@ -904,7 +904,7 @@ static int ov2640_reset(FAR struct i2c_master_s *i2c) * Public Functions ****************************************************************************/ /**************************************************************************** - * Function: ov2640_initialize + * Name: ov2640_initialize * * Description: * Initialize the OV2640 camera. diff --git a/drivers/wireless/cc3000/cc3000.c b/drivers/wireless/cc3000/cc3000.c index 1b13276ede6..dfb312fb682 100644 --- a/drivers/wireless/cc3000/cc3000.c +++ b/drivers/wireless/cc3000/cc3000.c @@ -231,7 +231,7 @@ static inline void cc3000_devgive(FAR struct cc3000_dev_s *priv) } /**************************************************************************** - * Function: cc3000_configspi + * Name: cc3000_configspi * * Description: * Configure the SPI for use with the CC3000. This function should be @@ -260,7 +260,7 @@ static inline void cc3000_configspi(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: cc3000_lock + * Name: cc3000_lock * * Description: * Lock the SPI bus and re-configure as necessary. This function must be @@ -293,7 +293,7 @@ static void cc3000_lock_and_select(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: cc3000_unlock + * Name: cc3000_unlock * * Description: * Un-lock the SPI bus after each transfer, possibly losing the current @@ -321,7 +321,7 @@ static void cc3000_deselect_and_unlock(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: cc3000_wait + * Name: cc3000_wait * * Description: * Helper function to wait on the semaphore signaled by the @@ -363,7 +363,7 @@ static int cc3000_wait(FAR struct cc3000_dev_s *priv, sem_t *psem) } /**************************************************************************** - * Function: cc3000_wait_irq + * Name: cc3000_wait_irq * * Description: * Helper function to wait on the irqsem signaled by the interrupt @@ -385,7 +385,7 @@ static inline int cc3000_wait_irq(FAR struct cc3000_dev_s *priv) } /**************************************************************************** - * Function: cc3000_wait_ready + * Name: cc3000_wait_ready * * Description: * Helper function to wait on the readysem signaled by the interrupt diff --git a/drivers/wireless/nrf24l01.c b/drivers/wireless/nrf24l01.c index ae0d29b483c..8bfc725c3b7 100644 --- a/drivers/wireless/nrf24l01.c +++ b/drivers/wireless/nrf24l01.c @@ -290,7 +290,7 @@ static void nrf24l01_lock(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: nrf24l01_unlock + * Name: nrf24l01_unlock * * Description: * Un-lock the SPI bus after each transfer, possibly losing the current @@ -314,7 +314,7 @@ static void nrf24l01_unlock(FAR struct spi_dev_s *spi) } /**************************************************************************** - * Function: nrf24l01_configspi + * Name: nrf24l01_configspi * * Description: * Configure the SPI for use with the NRF24L01. diff --git a/fs/vfs/fs_poll.c b/fs/vfs/fs_poll.c index f0cc6ce2a9f..168c393dd00 100644 --- a/fs/vfs/fs_poll.c +++ b/fs/vfs/fs_poll.c @@ -245,7 +245,7 @@ static inline int poll_teardown(FAR struct pollfd *fds, nfds_t nfds, int *count, ****************************************************************************/ /**************************************************************************** - * Function: file_poll + * Name: file_poll * * Description: * Low-level poll operation based on struc file. This is used both to (1) @@ -288,7 +288,7 @@ int file_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup) #endif /**************************************************************************** - * Function: fdesc_poll + * Name: fdesc_poll * * Description: * The standard poll() operation redirects operations on file descriptors diff --git a/graphics/vnc/server/vnc_fbdev.c b/graphics/vnc/server/vnc_fbdev.c index 54abc1dc5c3..5517a30e9f2 100644 --- a/graphics/vnc/server/vnc_fbdev.c +++ b/graphics/vnc/server/vnc_fbdev.c @@ -651,7 +651,7 @@ int up_fbinitialize(int display) } /**************************************************************************** - * Function: vnc_fbinitialize + * Name: vnc_fbinitialize * * Description: * Initialize the VNC frame buffer driver. The VNC frame buffer driver diff --git a/graphics/vnc/server/vnc_keymap.c b/graphics/vnc/server/vnc_keymap.c index b23e3199a1f..589f3c64f84 100644 --- a/graphics/vnc/server/vnc_keymap.c +++ b/graphics/vnc/server/vnc_keymap.c @@ -630,7 +630,7 @@ void vnc_key_map(FAR struct vnc_session_s *session, uint16_t keysym, } /**************************************************************************** - * Function: vnc_kbdout + * Name: vnc_kbdout * * Description: * This is the default keyboard callout function. This is simply wrappers around nx_kdbout(), respectively. When configured using vnc_fbinitialize(), the 'arg' must be the correct NXHANDLE value. diff --git a/graphics/vnc/server/vnc_receiver.c b/graphics/vnc/server/vnc_receiver.c index 8f4e0988af8..36d04428abc 100644 --- a/graphics/vnc/server/vnc_receiver.c +++ b/graphics/vnc/server/vnc_receiver.c @@ -497,7 +497,7 @@ int vnc_client_encodings(FAR struct vnc_session_s *session, } /**************************************************************************** - * Function: vnc_mouse + * Name: vnc_mouse * * Description: * This is the default keyboard/mouse callout function. This is simply a diff --git a/include/net/route.h b/include/net/route.h index c77d3656762..24e456e8489 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -84,7 +84,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: net_addroute + * Name: net_addroute * * Description: * Add a new route to the routing table. This is just a convenience @@ -107,7 +107,7 @@ int addroute(int sockfd, FAR struct sockaddr_storage *target, FAR struct sockaddr_storage *router); /**************************************************************************** - * Function: net_delroute + * Name: net_delroute * * Description: * Add a new route to the routing table. This is just a convenience diff --git a/include/nuttx/audio/vs1053.h b/include/nuttx/audio/vs1053.h index 75cc291674a..896bb37e0be 100644 --- a/include/nuttx/audio/vs1053.h +++ b/include/nuttx/audio/vs1053.h @@ -92,7 +92,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: vs1053_initialize + * Name: vs1053_initialize * * Description: * Initialize the VS1053 driver. This will perform a chip reset of the diff --git a/include/nuttx/clock.h b/include/nuttx/clock.h index c6a1deafc5b..2c679deb735 100644 --- a/include/nuttx/clock.h +++ b/include/nuttx/clock.h @@ -239,7 +239,7 @@ EXTERN volatile systime_t g_system_timer; ****************************************************************************/ /**************************************************************************** - * Function: clock_synchronize + * Name: clock_synchronize * * Description: * Synchronize the system timer to a hardware RTC. This operation is @@ -302,7 +302,7 @@ void clock_resynchronize(FAR struct timespec *rtc_diff); #endif /**************************************************************************** - * Function: clock_systimer + * Name: clock_systimer * * Description: * Return the current value of the 32/64-bit system timer counter. @@ -347,7 +347,7 @@ systime_t clock_systimer(void); int clock_systimespec(FAR struct timespec *ts); /**************************************************************************** - * Function: clock_cpuload + * Name: clock_cpuload * * Description: * Return load measurement data for the select PID. diff --git a/include/nuttx/drivers/iob.h b/include/nuttx/drivers/iob.h index d6ce3c30254..486c56761bc 100644 --- a/include/nuttx/drivers/iob.h +++ b/include/nuttx/drivers/iob.h @@ -406,7 +406,7 @@ FAR struct iob_s *iob_pack(FAR struct iob_s *iob); int iob_contig(FAR struct iob_s *iob, unsigned int len); /**************************************************************************** - * Function: iob_dump + * Name: iob_dump * * Description: * Dump the contents of a I/O buffer chain diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index 809325389c7..7b3e32970f3 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -975,7 +975,7 @@ int file_vfcntl(FAR struct file *filep, int cmd, va_list ap); #endif /**************************************************************************** - * Function: file_poll + * Name: file_poll * * Description: * Low-level poll operation based on struc file. This is used both to (1) @@ -998,7 +998,7 @@ int file_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup); #endif /**************************************************************************** - * Function: fdesc_poll + * Name: fdesc_poll * * Description: * The standard poll() operation redirects operations on file descriptors diff --git a/include/nuttx/net/cs89x0.h b/include/nuttx/net/cs89x0.h index 5629a8f4795..98ef9772b42 100644 --- a/include/nuttx/net/cs89x0.h +++ b/include/nuttx/net/cs89x0.h @@ -108,7 +108,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: cs89x0_initialize + * Name: cs89x0_initialize * * Description: * Initialize the Ethernet driver diff --git a/include/nuttx/net/enc28j60.h b/include/nuttx/net/enc28j60.h index b5d31e46542..78b394ec9fa 100644 --- a/include/nuttx/net/enc28j60.h +++ b/include/nuttx/net/enc28j60.h @@ -108,7 +108,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: enc_initialize + * Name: enc_initialize * * Description: * Initialize the Ethernet driver. The ENC28J60 device is assumed to be diff --git a/include/nuttx/net/encx24j600.h b/include/nuttx/net/encx24j600.h index 39ce6c8664e..0a628dcf9b1 100644 --- a/include/nuttx/net/encx24j600.h +++ b/include/nuttx/net/encx24j600.h @@ -108,7 +108,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: enc_initialize + * Name: enc_initialize * * Description: * Initialize the Ethernet driver. The ENCX24J600 device is assumed to be diff --git a/include/nuttx/net/ftmac100.h b/include/nuttx/net/ftmac100.h index f44bbd78ac9..2cdbbc71ceb 100644 --- a/include/nuttx/net/ftmac100.h +++ b/include/nuttx/net/ftmac100.h @@ -217,7 +217,7 @@ struct ftmac100_rxdes_s ****************************************************************************/ /**************************************************************************** - * Function: ftmac100_initialize + * Name: ftmac100_initialize * * Description: * Initialize the Ethernet controller and driver diff --git a/include/nuttx/net/loopback.h b/include/nuttx/net/loopback.h index 76e8312c39a..f2ebd7a6baa 100644 --- a/include/nuttx/net/loopback.h +++ b/include/nuttx/net/loopback.h @@ -91,7 +91,7 @@ EXTERN const net_ipv6addr_t g_lo_ipv6addr; ****************************************************************************/ /**************************************************************************** - * Function: localhost_initialize + * Name: localhost_initialize * * Description: * Initialize the Ethernet controller and driver diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h index d99c2f584a6..4ccbdfde381 100644 --- a/include/nuttx/net/net.h +++ b/include/nuttx/net/net.h @@ -215,7 +215,7 @@ void net_initialize(void); ****************************************************************************/ /**************************************************************************** - * Function: net_lock + * Name: net_lock * * Description: * Take the lock @@ -225,7 +225,7 @@ void net_initialize(void); void net_lock(void); /**************************************************************************** - * Function: net_unlock + * Name: net_unlock * * Description: * Release the lock. @@ -235,7 +235,7 @@ void net_lock(void); void net_unlock(void); /**************************************************************************** - * Function: net_timedwait + * Name: net_timedwait * * Description: * Atomically wait for sem (or a timeout( while temporarily releasing @@ -256,7 +256,7 @@ struct timespec; int net_timedwait(sem_t *sem, FAR const struct timespec *abstime); /**************************************************************************** - * Function: net_lockedwait + * Name: net_lockedwait * * Description: * Atomically wait for sem while temporarily releasing lock on the network. @@ -274,7 +274,7 @@ int net_timedwait(sem_t *sem, FAR const struct timespec *abstime); int net_lockedwait(sem_t *sem); /**************************************************************************** - * Function: net_setipid + * Name: net_setipid * * Description: * This function may be used at boot time to set the initial ip_id. @@ -349,7 +349,7 @@ void net_releaselist(FAR struct socketlist *list); FAR struct socket *sockfd_socket(int sockfd); /**************************************************************************** - * Function: psock_socket + * Name: psock_socket * * Description: * socket() creates an endpoint for communication and returns a socket @@ -389,7 +389,7 @@ FAR struct socket *sockfd_socket(int sockfd); int psock_socket(int domain, int type, int protocol, FAR struct socket *psock); /**************************************************************************** - * Function: net_close + * Name: net_close * * Description: * Performs the close operation on socket descriptors @@ -407,7 +407,7 @@ int psock_socket(int domain, int type, int protocol, FAR struct socket *psock); int net_close(int sockfd); /**************************************************************************** - * Function: psock_close + * Name: psock_close * * Description: * Performs the close operation on a socket instance @@ -425,7 +425,7 @@ int net_close(int sockfd); int psock_close(FAR struct socket *psock); /**************************************************************************** - * Function: psock_bind + * Name: psock_bind * * Description: * bind() gives the socket 'psock' the local address 'addr'. 'addr' is @@ -459,7 +459,7 @@ int psock_bind(FAR struct socket *psock, FAR const struct sockaddr *addr, socklen_t addrlen); /**************************************************************************** - * Function: psock_listen + * Name: psock_listen * * Description: * To accept connections, a socket is first created with psock_socket(), a @@ -490,7 +490,7 @@ int psock_bind(FAR struct socket *psock, FAR const struct sockaddr *addr, int psock_listen(FAR struct socket *psock, int backlog); /**************************************************************************** - * Function: psock_accept + * Name: psock_accept * * Description: * The psock_accept function is used with connection-based socket types @@ -631,7 +631,7 @@ int psock_connect(FAR struct socket *psock, FAR const struct sockaddr *addr, socklen_t addrlen); /**************************************************************************** - * Function: psock_send + * Name: psock_send * * Description: * The send() call may be used only when the socket is in a connected state @@ -698,7 +698,7 @@ ssize_t psock_send(FAR struct socket *psock, const void *buf, size_t len, int flags); /**************************************************************************** - * Function: psock_sendto + * Name: psock_sendto * * Description: * If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET) @@ -767,7 +767,7 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf, socklen_t tolen); /**************************************************************************** - * Function: psock_recvfrom + * Name: psock_recvfrom * * Description: * recvfrom() receives messages from a socket, and may be used to receive @@ -830,7 +830,7 @@ ssize_t psock_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, psock_recvfrom(psock,buf,len,flags,NULL,0) /**************************************************************************** - * Function: psock_getsockopt + * Name: psock_getsockopt * * Description: * getsockopt() retrieve thse value for the option specified by the @@ -874,7 +874,7 @@ int psock_getsockopt(FAR struct socket *psock, int level, int option, FAR void *value, FAR socklen_t *value_len); /**************************************************************************** - * Function: psock_setsockopt + * Name: psock_setsockopt * * Description: * psock_setsockopt() sets the option specified by the 'option' argument, @@ -989,7 +989,7 @@ int psock_ioctl(FAR struct socket *psock, int cmd, unsigned long arg); int netdev_ioctl(int sockfd, int cmd, unsigned long arg); /**************************************************************************** - * Function: psock_poll + * Name: psock_poll * * Description: * The standard poll() operation redirects operations on socket descriptors @@ -1012,7 +1012,7 @@ int psock_poll(FAR struct socket *psock, struct pollfd *fds, bool setup); #endif /**************************************************************************** - * Function: net_poll + * Name: net_poll * * Description: * The standard poll() operation redirects operations on socket descriptors @@ -1035,7 +1035,7 @@ int net_poll(int sockfd, struct pollfd *fds, bool setup); #endif /**************************************************************************** - * Function: net_dupsd + * Name: net_dupsd * * Description: * Clone a socket descriptor to an arbitray descriptor number. If file @@ -1048,7 +1048,7 @@ int net_poll(int sockfd, struct pollfd *fds, bool setup); int net_dupsd(int sockfd, int minsd); /**************************************************************************** - * Function: net_dupsd2 + * Name: net_dupsd2 * * Description: * Clone a socket descriptor to an arbitray descriptor number. If file @@ -1061,7 +1061,7 @@ int net_dupsd(int sockfd, int minsd); int net_dupsd2(int sockfd1, int sockfd2); /**************************************************************************** - * Function: net_clone + * Name: net_clone * * Description: * Performs the low level, common portion of net_dupsd() and net_dupsd2() @@ -1071,7 +1071,7 @@ int net_dupsd2(int sockfd1, int sockfd2); int net_clone(FAR struct socket *psock1, FAR struct socket *psock2); /**************************************************************************** - * Function: net_sendfile + * Name: net_sendfile * * Description: * The send() call may be used only when the socket is in a connected state @@ -1159,7 +1159,7 @@ ssize_t net_sendfile(int outfd, struct file *infile, off_t *offset, size_t count int net_vfcntl(int sockfd, int cmd, va_list ap); /**************************************************************************** - * Function: netdev_register + * Name: netdev_register * * Description: * Register a network device driver and assign a name to it so that it can @@ -1180,7 +1180,7 @@ int net_vfcntl(int sockfd, int cmd, va_list ap); int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype); /**************************************************************************** - * Function: netdev_unregister + * Name: netdev_unregister * * Description: * Unregister a network device driver. @@ -1200,7 +1200,7 @@ int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype); int netdev_unregister(FAR struct net_driver_s *dev); /**************************************************************************** - * Function: netdev_foreach + * Name: netdev_foreach * * Description: * Enumerate each registered network device. diff --git a/include/nuttx/net/netdev.h b/include/nuttx/net/netdev.h index 844117ee794..7caf247adca 100644 --- a/include/nuttx/net/netdev.h +++ b/include/nuttx/net/netdev.h @@ -616,7 +616,7 @@ uint16_t ipv6_chksum(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: netdev_ipv4_hdrlen + * Name: netdev_ipv4_hdrlen * * Description: * Provide header length for interface based on device @@ -637,7 +637,7 @@ uint16_t ipv6_chksum(FAR struct net_driver_s *dev); #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: netdev_ipv6_hdrlen + * Name: netdev_ipv6_hdrlen * * Description: * Provide header length for interface based on device diff --git a/include/nuttx/net/phy.h b/include/nuttx/net/phy.h index c2bf9e99fde..f492ccab281 100644 --- a/include/nuttx/net/phy.h +++ b/include/nuttx/net/phy.h @@ -86,7 +86,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: phy_notify_subscribe + * Name: phy_notify_subscribe * * Description: * Setup up to deliver signals to the task identified by 'pid' when @@ -117,7 +117,7 @@ int phy_notify_subscribe(FAR const char *intf, pid_t pid, int signo, #endif /**************************************************************************** - * Function: phy_notify_unsubscribe + * Name: phy_notify_unsubscribe * * Description: * Stop the deliver of signals for events from the PHY associated with diff --git a/include/nuttx/net/slip.h b/include/nuttx/net/slip.h index 546781f85fd..6cdc5c827fb 100644 --- a/include/nuttx/net/slip.h +++ b/include/nuttx/net/slip.h @@ -93,7 +93,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: slip_initialize + * Name: slip_initialize * * Description: * Instantiate a SLIP network interface. diff --git a/include/nuttx/net/tun.h b/include/nuttx/net/tun.h index c61c3c84f42..d8c4e68603d 100644 --- a/include/nuttx/net/tun.h +++ b/include/nuttx/net/tun.h @@ -82,7 +82,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: tun_initialize + * Name: tun_initialize * * Description: * Instantiate a SLIP network interface. diff --git a/include/nuttx/random.h b/include/nuttx/random.h index 40178370717..81276aa8ee1 100644 --- a/include/nuttx/random.h +++ b/include/nuttx/random.h @@ -110,7 +110,7 @@ extern struct entropy_pool_s board_entropy_pool; #ifdef CONFIG_CRYPTO_RANDOM_POOL /**************************************************************************** - * Function: up_rngaddint + * Name: up_rngaddint * * Description: * Add one integer to entropy pool, contributing a specific kind @@ -128,7 +128,7 @@ extern struct entropy_pool_s board_entropy_pool; void up_rngaddint(enum rnd_source_t kindof, int val); /**************************************************************************** - * Function: up_rngaddentropy + * Name: up_rngaddentropy * * Description: * Add buffer of integers to entropy pool. @@ -147,7 +147,7 @@ void up_rngaddentropy(enum rnd_source_t kindof, FAR const uint32_t *buf, size_t n); /**************************************************************************** - * Function: up_rngreseed + * Name: up_rngreseed * * Description: * Force reseeding random number generator from entropy pool @@ -157,7 +157,7 @@ void up_rngaddentropy(enum rnd_source_t kindof, FAR const uint32_t *buf, void up_rngreseed(void); /**************************************************************************** - * Function: up_randompool_initialize + * Name: up_randompool_initialize * * Description: * Initialize entropy pool and random number generator diff --git a/include/nuttx/semaphore.h b/include/nuttx/semaphore.h index 579a0c4a108..fce15b1134b 100644 --- a/include/nuttx/semaphore.h +++ b/include/nuttx/semaphore.h @@ -143,7 +143,7 @@ int sem_tickwait(FAR sem_t *sem, systime_t start, uint32_t delay); int sem_reset(FAR sem_t *sem, int16_t count); /**************************************************************************** - * Function: sem_getprotocol + * Name: sem_getprotocol * * Description: * Return the value of the semaphore protocol attribute. @@ -163,7 +163,7 @@ int sem_reset(FAR sem_t *sem, int16_t count); int sem_getprotocol(FAR sem_t *sem, FAR int *protocol); /**************************************************************************** - * Function: sem_setprotocol + * Name: sem_setprotocol * * Description: * Set semaphore protocol attribute. diff --git a/include/nuttx/time.h b/include/nuttx/time.h index 98636647985..2a6c5969787 100644 --- a/include/nuttx/time.h +++ b/include/nuttx/time.h @@ -81,7 +81,7 @@ extern "C" #endif /**************************************************************************** - * Function: clock_isleapyear + * Name: clock_isleapyear * * Description: * Return true if the specified year is a leap year @@ -91,7 +91,7 @@ extern "C" int clock_isleapyear(int year); /**************************************************************************** - * Function: clock_daysbeforemonth + * Name: clock_daysbeforemonth * * Description: * Get the number of days that occurred before the beginning of the month. @@ -101,7 +101,7 @@ int clock_isleapyear(int year); int clock_daysbeforemonth(int month, bool leapyear); /**************************************************************************** - * Function: clock_dayoftheweek + * Name: clock_dayoftheweek * * Description: * Get the day of the week @@ -121,7 +121,7 @@ int clock_dayoftheweek(int mday, int month, int year); #endif /**************************************************************************** - * Function: clock_calendar2utc + * Name: clock_calendar2utc * * Description: * Calendar/UTC conversion based on algorithms from p. 604 diff --git a/include/nuttx/video/ov2640.h b/include/nuttx/video/ov2640.h index b398994d973..8c40906cfa2 100644 --- a/include/nuttx/video/ov2640.h +++ b/include/nuttx/video/ov2640.h @@ -63,7 +63,7 @@ extern "C" #endif /**************************************************************************** - * Function: ov2640_initialize + * Name: ov2640_initialize * * Description: * Initialize the OV2640 camera. diff --git a/include/nuttx/video/vnc.h b/include/nuttx/video/vnc.h index fdb1dfd4a93..df39d5b7fd7 100644 --- a/include/nuttx/video/vnc.h +++ b/include/nuttx/video/vnc.h @@ -74,7 +74,7 @@ extern "C" #endif /**************************************************************************** - * Function: vnc_fbinitialize + * Name: vnc_fbinitialize * * Description: * Initialize the VNC frame buffer driver. The VNC frame buffer driver @@ -132,7 +132,7 @@ int vnc_fbinitialize(int display, vnc_kbdout_t kbdout, vnc_mouseout_t mouseout, FAR void *arg); /**************************************************************************** - * Function: vnc_mouse and vnc_kbdout + * Name: vnc_mouse and vnc_kbdout * * Description: * These are the default keyboard/mouse callout functions. They are @@ -162,7 +162,7 @@ void vnc_mouseout(FAR void *arg, nxgl_coord_t x, nxgl_coord_t y, #endif /**************************************************************************** - * Function: vnc_default_fbinitialize + * Name: vnc_default_fbinitialize * * Description: * This is just a wrapper around vnc_fbinitialize() that will establish diff --git a/include/nuttx/wireless/ieee80211/bcmf_board.h b/include/nuttx/wireless/ieee80211/bcmf_board.h index 7ae0c21dc22..a404fd4160a 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_board.h +++ b/include/nuttx/wireless/ieee80211/bcmf_board.h @@ -59,7 +59,7 @@ extern "C" ****************************************************************************/ /************************************************************************************ - * Function: bcmf_board_initialize + * Name: bcmf_board_initialize * * Description: * Board specific function called from Broadcom FullMAC driver @@ -73,7 +73,7 @@ extern "C" void bcmf_board_initialize(int minor); /************************************************************************************ - * Function: bcmf_board_power + * Name: bcmf_board_power * * Description: * Board specific function called from Broadcom FullMAC driver @@ -88,7 +88,7 @@ void bcmf_board_initialize(int minor); void bcmf_board_power(int minor, bool power); /************************************************************************************ - * Function: bcmf_board_reset + * Name: bcmf_board_reset * * Description: * Board specific function called from Broadcom FullMAC driver diff --git a/include/nuttx/wireless/ieee80211/bcmf_sdio.h b/include/nuttx/wireless/ieee80211/bcmf_sdio.h index 09c5733f3a4..9dd686858be 100644 --- a/include/nuttx/wireless/ieee80211/bcmf_sdio.h +++ b/include/nuttx/wireless/ieee80211/bcmf_sdio.h @@ -59,7 +59,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: bcmf_sdio_initialize + * Name: bcmf_sdio_initialize * * Description: * Initialize Broadcom FullMAC driver. diff --git a/include/nuttx/wireless/ieee802154/ieee802154_loopback.h b/include/nuttx/wireless/ieee802154/ieee802154_loopback.h index d1952df24f3..9a5f3e6b3ee 100644 --- a/include/nuttx/wireless/ieee802154/ieee802154_loopback.h +++ b/include/nuttx/wireless/ieee802154/ieee802154_loopback.h @@ -52,7 +52,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: ieee8021514_loopback + * Name: ieee8021514_loopback * * Description: * Initialize and register the Ieee802.15.4 MAC loopback network driver. diff --git a/include/nuttx/wireless/ieee802154/mrf24j40.h b/include/nuttx/wireless/ieee802154/mrf24j40.h index 2c78faee01a..878f7d9b453 100644 --- a/include/nuttx/wireless/ieee802154/mrf24j40.h +++ b/include/nuttx/wireless/ieee802154/mrf24j40.h @@ -79,7 +79,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Function: mrf24j40_init + * Name: mrf24j40_init * * Description: * Initialize the IEEE802.15.4 driver. The MRF24J40 device is assumed to be diff --git a/include/sys/random.h b/include/sys/random.h index 7856ca007e1..10507ff203a 100644 --- a/include/sys/random.h +++ b/include/sys/random.h @@ -51,7 +51,7 @@ #ifdef CONFIG_CRYPTO_RANDOM_POOL /**************************************************************************** - * Function: getrandom + * Name: getrandom * * Description: * Fill a buffer of arbitrary length with randomness. This is the diff --git a/libc/libgen/lib_basename.c b/libc/libgen/lib_basename.c index 94df0712005..18b2168fad3 100644 --- a/libc/libgen/lib_basename.c +++ b/libc/libgen/lib_basename.c @@ -53,7 +53,7 @@ static char g_retchar[2]; ****************************************************************************/ /**************************************************************************** - * Function: basename + * Name: basename * * Description: * basename() extracts the filename component from a null-terminated diff --git a/libc/libgen/lib_dirname.c b/libc/libgen/lib_dirname.c index b7760c3a1f5..0acd03c71fd 100644 --- a/libc/libgen/lib_dirname.c +++ b/libc/libgen/lib_dirname.c @@ -53,7 +53,7 @@ static char g_retchar[2]; ****************************************************************************/ /**************************************************************************** - * Function: dirname + * Name: dirname * * Description: * dirname() extracts the directory component from a null-terminated diff --git a/libc/net/lib_addroute.c b/libc/net/lib_addroute.c index 8c7012abe8c..c8712ecde10 100644 --- a/libc/net/lib_addroute.c +++ b/libc/net/lib_addroute.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_addroute + * Name: net_addroute * * Description: * Add a new route to the routing table. This is just a convenience diff --git a/libc/net/lib_delroute.c b/libc/net/lib_delroute.c index 5110659c48c..7a6617dbdbb 100644 --- a/libc/net/lib_delroute.c +++ b/libc/net/lib_delroute.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_delroute + * Name: net_delroute * * Description: * Add a new route to the routing table. This is just a convenience diff --git a/libc/pthread/pthread_attr_destroy.c b/libc/pthread/pthread_attr_destroy.c index 7d39a192788..16dd2cc50ee 100644 --- a/libc/pthread/pthread_attr_destroy.c +++ b/libc/pthread/pthread_attr_destroy.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_destroy + * Name: pthread_attr_destroy * * Description: * An attributes object can be deleted when it is no longer needed. diff --git a/libc/pthread/pthread_attr_getaffinity.c b/libc/pthread/pthread_attr_getaffinity.c index 706f059ec53..1371ceff379 100644 --- a/libc/pthread/pthread_attr_getaffinity.c +++ b/libc/pthread/pthread_attr_getaffinity.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_getaffinity + * Name: pthread_attr_getaffinity * * Description: * diff --git a/libc/pthread/pthread_attr_getinheritsched.c b/libc/pthread/pthread_attr_getinheritsched.c index 0760c5e2659..d8e6515fa8c 100644 --- a/libc/pthread/pthread_attr_getinheritsched.c +++ b/libc/pthread/pthread_attr_getinheritsched.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_getinheritsched + * Name: pthread_attr_getinheritsched * * Description: * Report whether the scheduling info in the pthread diff --git a/libc/pthread/pthread_attr_getschedparam.c b/libc/pthread/pthread_attr_getschedparam.c index d3280ffde3e..3de2a3b7a28 100644 --- a/libc/pthread/pthread_attr_getschedparam.c +++ b/libc/pthread/pthread_attr_getschedparam.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_getschedparam + * Name: pthread_attr_getschedparam * * Description: * diff --git a/libc/pthread/pthread_attr_getschedpolicy.c b/libc/pthread/pthread_attr_getschedpolicy.c index f4f624f4f0b..ca819b8ffa4 100644 --- a/libc/pthread/pthread_attr_getschedpolicy.c +++ b/libc/pthread/pthread_attr_getschedpolicy.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_getschedpolicy + * Name: pthread_attr_getschedpolicy * * Description: * Obtain the scheduling algorithm attribute. diff --git a/libc/pthread/pthread_attr_getstacksize.c b/libc/pthread/pthread_attr_getstacksize.c index 15de1b38f9e..858cf88c9d1 100644 --- a/libc/pthread/pthread_attr_getstacksize.c +++ b/libc/pthread/pthread_attr_getstacksize.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_getstacksize + * Name: pthread_attr_getstacksize * * Description: * diff --git a/libc/pthread/pthread_attr_init.c b/libc/pthread/pthread_attr_init.c index b6c7c39ed60..256be4b2356 100644 --- a/libc/pthread/pthread_attr_init.c +++ b/libc/pthread/pthread_attr_init.c @@ -66,7 +66,7 @@ const pthread_attr_t g_default_pthread_attr = PTHREAD_ATTR_INITIALIZER; ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_init + * Name: pthread_attr_init * * Description: * Initializes a thread attributes object (attr) with diff --git a/libc/pthread/pthread_attr_setaffinity.c b/libc/pthread/pthread_attr_setaffinity.c index 6705e87aa0f..83f8e337cf5 100644 --- a/libc/pthread/pthread_attr_setaffinity.c +++ b/libc/pthread/pthread_attr_setaffinity.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_setaffinity + * Name: pthread_attr_setaffinity * * Description: * diff --git a/libc/pthread/pthread_attr_setinheritsched.c b/libc/pthread/pthread_attr_setinheritsched.c index c61be6f4f62..36b1d1dba1a 100644 --- a/libc/pthread/pthread_attr_setinheritsched.c +++ b/libc/pthread/pthread_attr_setinheritsched.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_setinheritsched + * Name: pthread_attr_setinheritsched * * Description: * Indicate whether the scheduling info in the pthread diff --git a/libc/pthread/pthread_attr_setschedparam.c b/libc/pthread/pthread_attr_setschedparam.c index b37d3aad277..812ebee8592 100644 --- a/libc/pthread/pthread_attr_setschedparam.c +++ b/libc/pthread/pthread_attr_setschedparam.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_setschedparam + * Name: pthread_attr_setschedparam * * Description: * diff --git a/libc/pthread/pthread_attr_setschedpolicy.c b/libc/pthread/pthread_attr_setschedpolicy.c index 75a58e105b9..9d7ce10fff3 100644 --- a/libc/pthread/pthread_attr_setschedpolicy.c +++ b/libc/pthread/pthread_attr_setschedpolicy.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_setschedpolicy + * Name: pthread_attr_setschedpolicy * * Description: * Set the scheduling algorithm attribute. diff --git a/libc/pthread/pthread_attr_setstacksize.c b/libc/pthread/pthread_attr_setstacksize.c index 0501f76aa62..f69fc7df9c4 100644 --- a/libc/pthread/pthread_attr_setstacksize.c +++ b/libc/pthread/pthread_attr_setstacksize.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_attr_setstacksize + * Name: pthread_attr_setstacksize * * Description: * diff --git a/libc/pthread/pthread_barrierattr_destroy.c b/libc/pthread/pthread_barrierattr_destroy.c index 7ab23b7b84e..663f4499810 100644 --- a/libc/pthread/pthread_barrierattr_destroy.c +++ b/libc/pthread/pthread_barrierattr_destroy.c @@ -48,7 +48,7 @@ ********************************************************************************/ /******************************************************************************** - * Function: pthread_barrierattr_destroy + * Name: pthread_barrierattr_destroy * * Description: * The pthread_barrierattr_destroy() function will destroy a barrier attributes diff --git a/libc/pthread/pthread_barrierattr_getpshared.c b/libc/pthread/pthread_barrierattr_getpshared.c index d74d54dcbf3..3964a801ca8 100644 --- a/libc/pthread/pthread_barrierattr_getpshared.c +++ b/libc/pthread/pthread_barrierattr_getpshared.c @@ -48,7 +48,7 @@ ********************************************************************************/ /******************************************************************************** - * Function: pthread_barrierattr_getpshared + * Name: pthread_barrierattr_getpshared * * Description: * The pthread_barrierattr_getpshared() function will obtain the value of the diff --git a/libc/pthread/pthread_barrierattr_init.c b/libc/pthread/pthread_barrierattr_init.c index 9b3f5775523..e8270f6b985 100644 --- a/libc/pthread/pthread_barrierattr_init.c +++ b/libc/pthread/pthread_barrierattr_init.c @@ -48,7 +48,7 @@ ********************************************************************************/ /******************************************************************************** - * Function: pthread_barrierattr_init + * Name: pthread_barrierattr_init * * Description: * The pthread_barrierattr_init() function will initialize a barrier attribute diff --git a/libc/pthread/pthread_barrierattr_setpshared.c b/libc/pthread/pthread_barrierattr_setpshared.c index 1736a4e4309..76109ac08cf 100644 --- a/libc/pthread/pthread_barrierattr_setpshared.c +++ b/libc/pthread/pthread_barrierattr_setpshared.c @@ -68,7 +68,7 @@ ********************************************************************************/ /******************************************************************************** - * Function: pthread_barrierattr_setpshared + * Name: pthread_barrierattr_setpshared * * Description: * The process-shared attribute is set to PTHREAD_PROCESS_SHARED to permit a diff --git a/libc/pthread/pthread_condattr_destroy.c b/libc/pthread/pthread_condattr_destroy.c index 5833de44cf3..12bee245dcc 100644 --- a/libc/pthread/pthread_condattr_destroy.c +++ b/libc/pthread/pthread_condattr_destroy.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_condattr_destroy + * Name: pthread_condattr_destroy * * Description: * Operations on condition variable attributes diff --git a/libc/pthread/pthread_condattr_init.c b/libc/pthread/pthread_condattr_init.c index 8532bc9a612..8865868b81f 100644 --- a/libc/pthread/pthread_condattr_init.c +++ b/libc/pthread/pthread_condattr_init.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_condattr_init + * Name: pthread_condattr_init * * Description: * Operations on condition variable attributes diff --git a/libc/pthread/pthread_mutexattr_destroy.c b/libc/pthread/pthread_mutexattr_destroy.c index 62d5de4a922..01c8a6589a6 100644 --- a/libc/pthread/pthread_mutexattr_destroy.c +++ b/libc/pthread/pthread_mutexattr_destroy.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_destroy + * Name: pthread_mutexattr_destroy * * Description: * Destroy mutex attributes. diff --git a/libc/pthread/pthread_mutexattr_getprotocol.c b/libc/pthread/pthread_mutexattr_getprotocol.c index f803006bb26..7cc6065d367 100644 --- a/libc/pthread/pthread_mutexattr_getprotocol.c +++ b/libc/pthread/pthread_mutexattr_getprotocol.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_getprotocol + * Name: pthread_mutexattr_getprotocol * * Description: * Return the value of the mutex protocol attribute. diff --git a/libc/pthread/pthread_mutexattr_getpshared.c b/libc/pthread/pthread_mutexattr_getpshared.c index 51e515cbbb6..6d219fb0856 100644 --- a/libc/pthread/pthread_mutexattr_getpshared.c +++ b/libc/pthread/pthread_mutexattr_getpshared.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_getpshared + * Name: pthread_mutexattr_getpshared * * Description: * Get pshared mutex attribute. diff --git a/libc/pthread/pthread_mutexattr_getrobust.c b/libc/pthread/pthread_mutexattr_getrobust.c index 8d5e4c10607..4db30f6b75f 100644 --- a/libc/pthread/pthread_mutexattr_getrobust.c +++ b/libc/pthread/pthread_mutexattr_getrobust.c @@ -46,7 +46,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_getrobust + * Name: pthread_mutexattr_getrobust * * Description: * Return the mutex robustneess from the mutex attributes. diff --git a/libc/pthread/pthread_mutexattr_gettype.c b/libc/pthread/pthread_mutexattr_gettype.c index 784a347ce8e..c45008f8d4e 100644 --- a/libc/pthread/pthread_mutexattr_gettype.c +++ b/libc/pthread/pthread_mutexattr_gettype.c @@ -46,7 +46,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_gettype + * Name: pthread_mutexattr_gettype * * Description: * Return the mutex type from the mutex attributes. diff --git a/libc/pthread/pthread_mutexattr_init.c b/libc/pthread/pthread_mutexattr_init.c index 895346a6cd6..6f241881527 100644 --- a/libc/pthread/pthread_mutexattr_init.c +++ b/libc/pthread/pthread_mutexattr_init.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_init + * Name: pthread_mutexattr_init * * Description: * Create mutex attributes. diff --git a/libc/pthread/pthread_mutexattr_setprotocol.c b/libc/pthread/pthread_mutexattr_setprotocol.c index 44d8be78494..e2a8a45ac50 100644 --- a/libc/pthread/pthread_mutexattr_setprotocol.c +++ b/libc/pthread/pthread_mutexattr_setprotocol.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_setprotocol + * Name: pthread_mutexattr_setprotocol * * Description: * Set mutex protocol attribute. diff --git a/libc/pthread/pthread_mutexattr_setpshared.c b/libc/pthread/pthread_mutexattr_setpshared.c index 22b915c4f0e..054c4db07e4 100644 --- a/libc/pthread/pthread_mutexattr_setpshared.c +++ b/libc/pthread/pthread_mutexattr_setpshared.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_setpshared + * Name: pthread_mutexattr_setpshared * * Description: * Set pshared mutex attribute. diff --git a/libc/pthread/pthread_mutexattr_setrobust.c b/libc/pthread/pthread_mutexattr_setrobust.c index 42930fa0b73..aeb2714e93d 100644 --- a/libc/pthread/pthread_mutexattr_setrobust.c +++ b/libc/pthread/pthread_mutexattr_setrobust.c @@ -46,7 +46,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_setrobust + * Name: pthread_mutexattr_setrobust * * Description: * Set the mutex robustness in the mutex attributes. diff --git a/libc/pthread/pthread_mutexattr_settype.c b/libc/pthread/pthread_mutexattr_settype.c index 6047f90ef23..02e1832cd6c 100644 --- a/libc/pthread/pthread_mutexattr_settype.c +++ b/libc/pthread/pthread_mutexattr_settype.c @@ -46,7 +46,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pthread_mutexattr_settype + * Name: pthread_mutexattr_settype * * Description: * Set the mutex type in the mutex attributes. diff --git a/libc/semaphore/sem_getprotocol.c b/libc/semaphore/sem_getprotocol.c index 614d5da72a8..a9e8a837e11 100644 --- a/libc/semaphore/sem_getprotocol.c +++ b/libc/semaphore/sem_getprotocol.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sem_getprotocol + * Name: sem_getprotocol * * Description: * Return the value of the semaphore protocol attribute. diff --git a/libc/semaphore/sem_getvalue.c b/libc/semaphore/sem_getvalue.c index 16fcc7be0ac..f1c77aa6f0b 100644 --- a/libc/semaphore/sem_getvalue.c +++ b/libc/semaphore/sem_getvalue.c @@ -68,7 +68,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sem_getvalue + * Name: sem_getvalue * * Description: * This function updates the location referenced by 'sval' argument to diff --git a/libc/semaphore/sem_init.c b/libc/semaphore/sem_init.c index ec7de2730a5..e10e83f1faa 100644 --- a/libc/semaphore/sem_init.c +++ b/libc/semaphore/sem_init.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sem_init + * Name: sem_init * * Description: * This function initializes the UNAMED semaphore sem. Following a diff --git a/libc/semaphore/sem_setprotocol.c b/libc/semaphore/sem_setprotocol.c index 38336a31a03..b687d722806 100644 --- a/libc/semaphore/sem_setprotocol.c +++ b/libc/semaphore/sem_setprotocol.c @@ -51,7 +51,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sem_setprotocol + * Name: sem_setprotocol * * Description: * Set semaphore protocol attribute. diff --git a/libc/signal/sig_addset.c b/libc/signal/sig_addset.c index 1379d3ceb86..392be1ca691 100644 --- a/libc/signal/sig_addset.c +++ b/libc/signal/sig_addset.c @@ -45,7 +45,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sigaddset + * Name: sigaddset * * Description: * This function adds the signal specified by signo to the signal set diff --git a/libc/signal/sig_delset.c b/libc/signal/sig_delset.c index 9c488e70110..9c6c608a2d1 100644 --- a/libc/signal/sig_delset.c +++ b/libc/signal/sig_delset.c @@ -45,7 +45,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sigdelset + * Name: sigdelset * * Description: * This function deletes the signal specified by signo from the signal diff --git a/libc/signal/sig_emptyset.c b/libc/signal/sig_emptyset.c index 1899302bf04..01b398ad088 100644 --- a/libc/signal/sig_emptyset.c +++ b/libc/signal/sig_emptyset.c @@ -44,7 +44,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sigemptyset + * Name: sigemptyset * * Description: * This function initializes the signal set specified by set such that all diff --git a/libc/signal/sig_fillset.c b/libc/signal/sig_fillset.c index a064242c344..2586646e37e 100644 --- a/libc/signal/sig_fillset.c +++ b/libc/signal/sig_fillset.c @@ -44,7 +44,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sigfillset + * Name: sigfillset * * Description: * This function initializes the signal set specified by set such that all diff --git a/libc/signal/sig_ismember.c b/libc/signal/sig_ismember.c index 6240392011d..2fbac5f6c85 100644 --- a/libc/signal/sig_ismember.c +++ b/libc/signal/sig_ismember.c @@ -44,7 +44,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sigismember + * Name: sigismember * * Description: * This function tests whether the signal specified by signo is a member diff --git a/libc/stdio/lib_sscanf.c b/libc/stdio/lib_sscanf.c index b5fd60f4de8..52e89b5e9ae 100644 --- a/libc/stdio/lib_sscanf.c +++ b/libc/stdio/lib_sscanf.c @@ -81,7 +81,7 @@ static const char spaces[] = " \t\n\r\f\v"; ****************************************************************************/ /**************************************************************************** - * Function: findwidth + * Name: findwidth * * Description: * Try to figure out the width of the input data. @@ -139,7 +139,7 @@ static int findwidth(FAR const char *buf, FAR const char *fmt) } /**************************************************************************** - * Function: findscanset + * Name: findscanset * * Description: * Fill in the given table from the scanset at the given format. @@ -265,7 +265,7 @@ doexit: #endif /**************************************************************************** - * Function: scansetwidth + * Name: scansetwidth ****************************************************************************/ #ifdef CONFIG_LIBC_SCANSET @@ -295,7 +295,7 @@ static int scansetwidth(FAR const char *buf, ****************************************************************************/ /**************************************************************************** - * Function: sscanf + * Name: sscanf * * Description: * ANSI standard sscanf implementation. @@ -314,7 +314,7 @@ int sscanf(FAR const char *buf, FAR const char *fmt, ...) } /**************************************************************************** - * Function: vsscanf + * Name: vsscanf * * Description: * ANSI standard vsscanf implementation. diff --git a/libc/time/lib_asctime.c b/libc/time/lib_asctime.c index cd15699559e..af633ebd737 100644 --- a/libc/time/lib_asctime.c +++ b/libc/time/lib_asctime.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: asctime + * Name: asctime * * Description: * asctime and asctime_r convert the time provided in a struct tm to a diff --git a/libc/time/lib_asctimer.c b/libc/time/lib_asctimer.c index 0235b89c157..11b25974fa9 100644 --- a/libc/time/lib_asctimer.c +++ b/libc/time/lib_asctimer.c @@ -67,7 +67,7 @@ static const char * const g_mon_name[12] = ****************************************************************************/ /**************************************************************************** - * Function: asctime_r + * Name: asctime_r * * Description: * asctime and asctime_r convert the time provided in a struct tm to a diff --git a/libc/time/lib_calendar2utc.c b/libc/time/lib_calendar2utc.c index 51a8581af44..3cd519179a2 100644 --- a/libc/time/lib_calendar2utc.c +++ b/libc/time/lib_calendar2utc.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: clock_gregorian2utc, clock_julian2utc + * Name: clock_gregorian2utc, clock_julian2utc * * Description: * UTC conversion routines. These conversions are based @@ -90,7 +90,7 @@ static time_t clock_julian2utc(int year, int month, int day) ****************************************************************************/ /**************************************************************************** - * Function: clock_calendar2utc + * Name: clock_calendar2utc * * Description: * Calendar/UTC conversion based on algorithms from p. 604 diff --git a/libc/time/lib_ctime.c b/libc/time/lib_ctime.c index 6d1bcb8efeb..4072663fb8c 100644 --- a/libc/time/lib_ctime.c +++ b/libc/time/lib_ctime.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: ctime + * Name: ctime * * Description: * ctime and ctime_r convert the time provided in seconds since the diff --git a/libc/time/lib_ctimer.c b/libc/time/lib_ctimer.c index 935a72bbd6f..ccc9c8f9284 100644 --- a/libc/time/lib_ctimer.c +++ b/libc/time/lib_ctimer.c @@ -52,7 +52,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: ctime_r + * Name: ctime_r * * Description: * ctime and ctime_r convert the time provided in seconds since the diff --git a/libc/time/lib_dayofweek.c b/libc/time/lib_dayofweek.c index bf1ed7280f1..981e027025d 100644 --- a/libc/time/lib_dayofweek.c +++ b/libc/time/lib_dayofweek.c @@ -80,7 +80,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: clock_dayoftheweek + * Name: clock_dayoftheweek * * Description: * Get the day of the week diff --git a/libc/time/lib_daysbeforemonth.c b/libc/time/lib_daysbeforemonth.c index d17d05b57e8..39f50197ee4 100644 --- a/libc/time/lib_daysbeforemonth.c +++ b/libc/time/lib_daysbeforemonth.c @@ -58,7 +58,7 @@ static const uint16_t g_daysbeforemonth[13] = ****************************************************************************/ /**************************************************************************** - * Function: clock_daysbeforemonth + * Name: clock_daysbeforemonth * * Description: * Get the number of days that occurred before the beginning of the diff --git a/libc/time/lib_difftime.c b/libc/time/lib_difftime.c index ee9a62ebb20..42bd374307b 100644 --- a/libc/time/lib_difftime.c +++ b/libc/time/lib_difftime.c @@ -48,7 +48,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: difftime + * Name: difftime * * Description: * The difftime() function returns the number of seconds elapsed diff --git a/libc/time/lib_gmtime.c b/libc/time/lib_gmtime.c index 1eeade4675e..bcf17cfbc1c 100644 --- a/libc/time/lib_gmtime.c +++ b/libc/time/lib_gmtime.c @@ -78,7 +78,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: gmtime + * Name: gmtime * * Description: * Similar to gmtime_r, but not thread-safe diff --git a/libc/time/lib_gmtimer.c b/libc/time/lib_gmtimer.c index 10173d8c974..ed823061561 100644 --- a/libc/time/lib_gmtimer.c +++ b/libc/time/lib_gmtimer.c @@ -86,7 +86,7 @@ static void clock_utc2julian(time_t jdn, int *year, int *month, int *day); ****************************************************************************/ /**************************************************************************** - * Function: clock_utc2calendar, clock_utc2gregorian, and clock_utc2julian + * Name: clock_utc2calendar, clock_utc2gregorian, and clock_utc2julian * * Description: * Calendar to UTC conversion routines. These conversions @@ -291,7 +291,7 @@ static void clock_utc2calendar(time_t days, FAR int *year, FAR int *month, ****************************************************************************/ /**************************************************************************** - * Function: gmtime_r + * Name: gmtime_r * * Description: * Time conversion (based on the POSIX API) diff --git a/libc/time/lib_isleapyear.c b/libc/time/lib_isleapyear.c index 3bad3164774..185ba112f38 100644 --- a/libc/time/lib_isleapyear.c +++ b/libc/time/lib_isleapyear.c @@ -74,7 +74,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: clock_isleapyear + * Name: clock_isleapyear * * Description: * Return true if the specified year is a leap year diff --git a/libc/time/lib_strftime.c b/libc/time/lib_strftime.c index 6af92202976..9397bb0c6ec 100644 --- a/libc/time/lib_strftime.c +++ b/libc/time/lib_strftime.c @@ -103,7 +103,7 @@ static const char * const g_monthname[12] = ****************************************************************************/ /**************************************************************************** - * Function: strftime + * Name: strftime * * Description: * The strftime() function formats the broken-down time tm according to diff --git a/libc/time/lib_time.c b/libc/time/lib_time.c index 21efb1428a9..504f7795f98 100644 --- a/libc/time/lib_time.c +++ b/libc/time/lib_time.c @@ -46,7 +46,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: time + * Name: time * * Description: * Get the current calendar time as a time_t object. The function returns diff --git a/net/arp/arp.h b/net/arp/arp.h index 0b95c4abd3e..46cd0039f8a 100644 --- a/net/arp/arp.h +++ b/net/arp/arp.h @@ -188,7 +188,7 @@ struct arp_notify_s void arp_reset(void); /**************************************************************************** - * Function: arp_timer_initialize + * Name: arp_timer_initialize * * Description: * Initialized the 10 second timer that is need by the ARP logic in order @@ -239,7 +239,7 @@ struct net_driver_s; /* Forward reference */ void arp_format(FAR struct net_driver_s *dev, in_addr_t ipaddr); /**************************************************************************** - * Function: arp_send + * Name: arp_send * * Description: * The arp_send() call may be to send an ARP request to resolve an IPv4 @@ -274,7 +274,7 @@ int arp_send(in_addr_t ipaddr); #endif /**************************************************************************** - * Function: arp_poll + * Name: arp_poll * * Description: * Poll all pending transfer for ARP requests to send. @@ -293,7 +293,7 @@ int arp_poll(FAR struct net_driver_s *dev, devif_poll_callback_t callback); #endif /**************************************************************************** - * Function: arp_wait_setup + * Name: arp_wait_setup * * Description: * Called BEFORE an ARP request is sent. This function sets up the ARP @@ -313,7 +313,7 @@ void arp_wait_setup(in_addr_t ipaddr, FAR struct arp_notify_s *notify); #endif /**************************************************************************** - * Function: arp_wait_cancel + * Name: arp_wait_cancel * * Description: * Cancel any wait set after arp_wait_setup is called but before arm_wait() @@ -332,7 +332,7 @@ int arp_wait_cancel(FAR struct arp_notify_s *notify); #endif /**************************************************************************** - * Function: arp_wait + * Name: arp_wait * * Description: * Called each time that a ARP request is sent. This function will sleep @@ -353,7 +353,7 @@ int arp_wait(FAR struct arp_notify_s *notify, FAR struct timespec *timeout); #endif /**************************************************************************** - * Function: arp_notify + * Name: arp_notify * * Description: * Called each time that a ARP response is received in order to wake-up diff --git a/net/arp/arp_notify.c b/net/arp/arp_notify.c index 7b92bfc25aa..112cb6614a7 100644 --- a/net/arp/arp_notify.c +++ b/net/arp/arp_notify.c @@ -68,7 +68,7 @@ static FAR struct arp_notify_s *g_arp_waiters; ****************************************************************************/ /**************************************************************************** - * Function: arp_wait_setup + * Name: arp_wait_setup * * Description: * Called BEFORE an ARP request is sent. This function sets up the ARP @@ -106,7 +106,7 @@ void arp_wait_setup(in_addr_t ipaddr, FAR struct arp_notify_s *notify) } /**************************************************************************** - * Function: arp_wait_cancel + * Name: arp_wait_cancel * * Description: * Cancel any wait set after arp_wait_setup is called but before arp_wait() @@ -155,7 +155,7 @@ int arp_wait_cancel(FAR struct arp_notify_s *notify) } /**************************************************************************** - * Function: arp_wait + * Name: arp_wait * * Description: * Called each time that a ARP request is sent. This function will sleep @@ -220,7 +220,7 @@ int arp_wait(FAR struct arp_notify_s *notify, FAR struct timespec *timeout) } /**************************************************************************** - * Function: arp_notify + * Name: arp_notify * * Description: * Called each time that a ARP response is received in order to wake-up diff --git a/net/arp/arp_poll.c b/net/arp/arp_poll.c index 424d0fe2e79..9a023af3473 100644 --- a/net/arp/arp_poll.c +++ b/net/arp/arp_poll.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: arp_poll + * Name: arp_poll * * Description: * Poll all pending transfer for ARP requests to send. diff --git a/net/arp/arp_send.c b/net/arp/arp_send.c index e5a1e48221a..92de47e8067 100644 --- a/net/arp/arp_send.c +++ b/net/arp/arp_send.c @@ -75,7 +75,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: arp_send_terminate + * Name: arp_send_terminate ****************************************************************************/ static void arp_send_terminate(FAR struct arp_send_s *state, int result) @@ -94,7 +94,7 @@ static void arp_send_terminate(FAR struct arp_send_s *state, int result) } /**************************************************************************** - * Function: arp_send_interrupt + * Name: arp_send_interrupt ****************************************************************************/ static uint16_t arp_send_interrupt(FAR struct net_driver_s *dev, @@ -158,7 +158,7 @@ static uint16_t arp_send_interrupt(FAR struct net_driver_s *dev, ****************************************************************************/ /**************************************************************************** - * Function: arp_send + * Name: arp_send * * Description: * The arp_send() call may be to send an ARP request to resolve an IP diff --git a/net/arp/arp_timer.c b/net/arp/arp_timer.c index cec202ae413..1a893fc1079 100644 --- a/net/arp/arp_timer.c +++ b/net/arp/arp_timer.c @@ -72,7 +72,7 @@ static WDOG_ID g_arptimer; /* ARP timer */ ****************************************************************************/ /**************************************************************************** - * Function: arptimer_poll + * Name: arptimer_poll * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -104,7 +104,7 @@ static void arptimer_poll(int argc, wdparm_t arg, ...) ****************************************************************************/ /**************************************************************************** - * Function: arp_timer_initialize + * Name: arp_timer_initialize * * Description: * Initialized the 10 second timer that is need by the ARP logic in order diff --git a/net/devif/devif.h b/net/devif/devif.h index d7574786ecc..baa1644c63b 100644 --- a/net/devif/devif.h +++ b/net/devif/devif.h @@ -297,7 +297,7 @@ extern "C" void devif_initialize(void); /**************************************************************************** - * Function: devif_callback_init + * Name: devif_callback_init * * Description: * Configure the pre-allocated callback structures into a free list. @@ -310,7 +310,7 @@ void devif_initialize(void); void devif_callback_init(void); /**************************************************************************** - * Function: devif_callback_alloc + * Name: devif_callback_alloc * * Description: * Allocate a callback container from the free list. @@ -330,7 +330,7 @@ FAR struct devif_callback_s * FAR struct devif_callback_s **list); /**************************************************************************** - * Function: devif_conn_callback_free + * Name: devif_conn_callback_free * * Description: * Return a connection/port callback container to the free list. @@ -352,7 +352,7 @@ void devif_conn_callback_free(FAR struct net_driver_s *dev, FAR struct devif_callback_s **list); /**************************************************************************** - * Function: devif_dev_callback_free + * Name: devif_dev_callback_free * * Description: * Return a device callback container to the free list. @@ -375,7 +375,7 @@ void devif_dev_callback_free(FAR struct net_driver_s *dev, FAR struct devif_callback_s *cb); /**************************************************************************** - * Function: devif_conn_event + * Name: devif_conn_event * * Description: * Execute a list of callbacks. @@ -401,7 +401,7 @@ uint16_t devif_conn_event(FAR struct net_driver_s *dev, FAR void *pvconn, uint16_t flags, FAR struct devif_callback_s *list); /**************************************************************************** - * Function: devif_dev_event + * Name: devif_dev_event * * Description: * Execute a list of callbacks using the device event chain. diff --git a/net/devif/devif_callback.c b/net/devif/devif_callback.c index 067b7663d97..bb8867b73ff 100644 --- a/net/devif/devif_callback.c +++ b/net/devif/devif_callback.c @@ -64,7 +64,7 @@ static FAR struct devif_callback_s *g_cbfreelist = NULL; ****************************************************************************/ /**************************************************************************** - * Function: devif_callback_free + * Name: devif_callback_free * * Description: * Return a callback container to the free list. @@ -167,7 +167,7 @@ static void devif_callback_free(FAR struct net_driver_s *dev, ****************************************************************************/ /**************************************************************************** - * Function: devif_callback_init + * Name: devif_callback_init * * Description: * Configure the pre-allocated callback structures into a free list. @@ -189,7 +189,7 @@ void devif_callback_init(void) } /**************************************************************************** - * Function: devif_callback_alloc + * Name: devif_callback_alloc * * Description: * Allocate a callback container from the free list. @@ -267,7 +267,7 @@ FAR struct devif_callback_s * } /**************************************************************************** - * Function: devif_conn_callback_free + * Name: devif_conn_callback_free * * Description: * Return a connection/port callback container to the free list. @@ -306,7 +306,7 @@ void devif_conn_callback_free(FAR struct net_driver_s *dev, } /**************************************************************************** - * Function: devif_dev_callback_free + * Name: devif_dev_callback_free * * Description: * Return a device callback container to the free list. @@ -357,7 +357,7 @@ void devif_dev_callback_free(FAR struct net_driver_s *dev, } /**************************************************************************** - * Function: devif_conn_event + * Name: devif_conn_event * * Description: * Execute a list of callbacks using the packet event chain. @@ -421,7 +421,7 @@ uint16_t devif_conn_event(FAR struct net_driver_s *dev, void *pvconn, } /**************************************************************************** - * Function: devif_dev_event + * Name: devif_dev_event * * Description: * Execute a list of callbacks using the device event chain. diff --git a/net/devif/devif_poll.c b/net/devif/devif_poll.c index 235c58bcf28..107f68c6dee 100644 --- a/net/devif/devif_poll.c +++ b/net/devif/devif_poll.c @@ -85,7 +85,7 @@ systime_t g_polltime; ****************************************************************************/ /**************************************************************************** - * Function: devif_packet_conversion + * Name: devif_packet_conversion * * Description: * Generic output conversion hook. Only needed for IEEE802.15.4 for now @@ -157,7 +157,7 @@ static void devif_packet_conversion(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_6LOWPAN */ /**************************************************************************** - * Function: devif_poll_pkt_connections + * Name: devif_poll_pkt_connections * * Description: * Poll all packet connections for available packets to send. @@ -197,7 +197,7 @@ static int devif_poll_pkt_connections(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_PKT */ /**************************************************************************** - * Function: devif_poll_icmp + * Name: devif_poll_icmp * * Description: * Poll all of the connections waiting to send an ICMP ECHO request @@ -223,7 +223,7 @@ static inline int devif_poll_icmp(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_ICMP && CONFIG_NET_ICMP_PING */ /**************************************************************************** - * Function: devif_poll_icmpv6 + * Name: devif_poll_icmpv6 * * Description: * Poll all of the connections waiting to send an ICMPv6 ECHO request @@ -249,7 +249,7 @@ static inline int devif_poll_icmpv6(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_ICMPv6_PING || CONFIG_NET_ICMPv6_NEIGHBOR*/ /**************************************************************************** - * Function: devif_poll_igmp + * Name: devif_poll_igmp * * Description: * Poll all IGMP connections for available packets to send. @@ -279,7 +279,7 @@ static inline int devif_poll_igmp(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_IGMP */ /**************************************************************************** - * Function: devif_poll_udp_connections + * Name: devif_poll_udp_connections * * Description: * Poll all UDP connections for available packets to send. @@ -319,7 +319,7 @@ static int devif_poll_udp_connections(FAR struct net_driver_s *dev, #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: devif_poll_tcp_connections + * Name: devif_poll_tcp_connections * * Description: * Poll all UDP connections for available packets to send. @@ -361,7 +361,7 @@ static inline int devif_poll_tcp_connections(FAR struct net_driver_s *dev, #endif /**************************************************************************** - * Function: devif_poll_tcp_timer + * Name: devif_poll_tcp_timer * * Description: * The TCP timer has expired. Update TCP timing state in each active, @@ -409,7 +409,7 @@ static inline int devif_poll_tcp_timer(FAR struct net_driver_s *dev, ****************************************************************************/ /**************************************************************************** - * Function: devif_poll + * Name: devif_poll * * Description: * This function will traverse each active network connection structure and @@ -513,7 +513,7 @@ int devif_poll(FAR struct net_driver_s *dev, devif_poll_callback_t callback) } /**************************************************************************** - * Function: devif_timer + * Name: devif_timer * * Description: * These function will traverse each active network connection structure and diff --git a/net/devif/ipv4_input.c b/net/devif/ipv4_input.c index faa23ad547d..2920aeba3b0 100644 --- a/net/devif/ipv4_input.c +++ b/net/devif/ipv4_input.c @@ -140,7 +140,7 @@ static uint8_t g_reassembly_flags; ****************************************************************************/ /**************************************************************************** - * Function: devif_reassembly + * Name: devif_reassembly * * Description: * IP fragment reassembly: not well-tested. @@ -302,7 +302,7 @@ nullreturn: ****************************************************************************/ /**************************************************************************** - * Function: ipv4_input + * Name: ipv4_input * * Description: * diff --git a/net/devif/ipv6_input.c b/net/devif/ipv6_input.c index 24be107a47d..0e532403642 100644 --- a/net/devif/ipv6_input.c +++ b/net/devif/ipv6_input.c @@ -114,7 +114,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: ipv6_input + * Name: ipv6_input * * Description: * diff --git a/net/devif/net_setipid.c b/net/devif/net_setipid.c index 79e9c25b352..b3cbf4ea8fe 100644 --- a/net/devif/net_setipid.c +++ b/net/devif/net_setipid.c @@ -58,7 +58,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_setipid + * Name: net_setipid * * Description: * This function may be used at boot time to set the initial ip_id. diff --git a/net/icmp/icmp_ping.c b/net/icmp/icmp_ping.c index e6f8961b480..ca16f12663a 100644 --- a/net/icmp/icmp_ping.c +++ b/net/icmp/icmp_ping.c @@ -99,7 +99,7 @@ struct icmp_ping_s ****************************************************************************/ /**************************************************************************** - * Function: ping_timeout + * Name: ping_timeout * * Description: * Check for send timeout. @@ -127,7 +127,7 @@ static inline int ping_timeout(FAR struct icmp_ping_s *pstate) } /**************************************************************************** - * Function: ping_interrupt + * Name: ping_interrupt * * Description: * This function is called from the interrupt level to perform the actual diff --git a/net/icmpv6/icmpv6.h b/net/icmpv6/icmpv6.h index a5003cf9a82..a45197d1c6f 100644 --- a/net/icmpv6/icmpv6.h +++ b/net/icmpv6/icmpv6.h @@ -290,7 +290,7 @@ void icmpv6_radvertise(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: icmpv6_wait_setup + * Name: icmpv6_wait_setup * * Description: * Called BEFORE an Neighbor Solicitation is sent. This function sets up @@ -311,7 +311,7 @@ void icmpv6_wait_setup(const net_ipv6addr_t ipaddr, #endif /**************************************************************************** - * Function: icmpv6_wait_cancel + * Name: icmpv6_wait_cancel * * Description: * Cancel any wait set after icmpv6_wait_setup is called but before @@ -331,7 +331,7 @@ int icmpv6_wait_cancel(FAR struct icmpv6_notify_s *notify); #endif /**************************************************************************** - * Function: icmpv6_wait + * Name: icmpv6_wait * * Description: * Called each time that a Neighbor Solicitation is sent. This function @@ -353,7 +353,7 @@ int icmpv6_wait(FAR struct icmpv6_notify_s *notify, #endif /**************************************************************************** - * Function: icmpv6_notify + * Name: icmpv6_notify * * Description: * Called each time that a Neighbor Advertisement is received in order to @@ -393,7 +393,7 @@ int icmpv6_autoconfig(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: icmpv6_rwait_setup + * Name: icmpv6_rwait_setup * * Description: * Called BEFORE an Router Solicitation is sent. This function sets up @@ -415,7 +415,7 @@ void icmpv6_rwait_setup(FAR struct net_driver_s *dev, #endif /**************************************************************************** - * Function: icmpv6_rwait_cancel + * Name: icmpv6_rwait_cancel * * Description: * Cancel any wait set after icmpv6_rwait_setup() is called but before @@ -435,7 +435,7 @@ int icmpv6_rwait_cancel(FAR struct icmpv6_rnotify_s *notify); #endif /**************************************************************************** - * Function: icmpv6_rwait + * Name: icmpv6_rwait * * Description: * Called each time that a Router Solicitation is sent. This function @@ -457,7 +457,7 @@ int icmpv6_rwait(FAR struct icmpv6_rnotify_s *notify, #endif /**************************************************************************** - * Function: icmpv6_rnotify + * Name: icmpv6_rnotify * * Description: * Called each time that a Router Advertisement is received in order to diff --git a/net/icmpv6/icmpv6_notify.c b/net/icmpv6/icmpv6_notify.c index ad0ddbd8c18..2a0ce436907 100644 --- a/net/icmpv6/icmpv6_notify.c +++ b/net/icmpv6/icmpv6_notify.c @@ -80,7 +80,7 @@ static struct icmpv6_notify_s *g_icmpv6_waiters; ****************************************************************************/ /**************************************************************************** - * Function: icmpv6_wait_setup + * Name: icmpv6_wait_setup * * Description: * Called BEFORE an Neighbor Solicitation is sent. This function sets up @@ -119,7 +119,7 @@ void icmpv6_wait_setup(const net_ipv6addr_t ipaddr, } /**************************************************************************** - * Function: icmpv6_wait_cancel + * Name: icmpv6_wait_cancel * * Description: * Cancel any wait set after icmpv6_wait_setup is called but before @@ -169,7 +169,7 @@ int icmpv6_wait_cancel(FAR struct icmpv6_notify_s *notify) } /**************************************************************************** - * Function: icmpv6_wait + * Name: icmpv6_wait * * Description: * Called each time that a Neighbor Solicitation is sent. This function @@ -224,7 +224,7 @@ int icmpv6_wait(FAR struct icmpv6_notify_s *notify, } /**************************************************************************** - * Function: icmpv6_notify + * Name: icmpv6_notify * * Description: * Called each time that a Neighbor Advertisement is received in order to diff --git a/net/icmpv6/icmpv6_ping.c b/net/icmpv6/icmpv6_ping.c index 2d37890464e..ae9f4e7ceda 100644 --- a/net/icmpv6/icmpv6_ping.c +++ b/net/icmpv6/icmpv6_ping.c @@ -110,7 +110,7 @@ struct icmpv6_ping_s ****************************************************************************/ /**************************************************************************** - * Function: ping_timeout + * Name: ping_timeout * * Description: * Check for send timeout. @@ -228,7 +228,7 @@ static void icmpv6_echo_request(FAR struct net_driver_s *dev, } /**************************************************************************** - * Function: ping_interrupt + * Name: ping_interrupt * * Description: * This function is called from the interrupt level to perform the actual diff --git a/net/icmpv6/icmpv6_rnotify.c b/net/icmpv6/icmpv6_rnotify.c index b43d8257026..49f0199e018 100644 --- a/net/icmpv6/icmpv6_rnotify.c +++ b/net/icmpv6/icmpv6_rnotify.c @@ -79,7 +79,7 @@ static struct icmpv6_rnotify_s *g_icmpv6_rwaiters; ****************************************************************************/ /**************************************************************************** - * Function: icmpv6_setaddresses + * Name: icmpv6_setaddresses * * Description: * We successfully obtained the Router Advertisement. See the new IPv6 @@ -143,7 +143,7 @@ static void icmpv6_setaddresses(FAR struct net_driver_s *dev, ****************************************************************************/ /**************************************************************************** - * Function: icmpv6_rwait_setup + * Name: icmpv6_rwait_setup * * Description: * Called BEFORE an Router Solicitation is sent. This function sets up @@ -204,7 +204,7 @@ void icmpv6_rwait_setup(FAR struct net_driver_s *dev, } /**************************************************************************** - * Function: icmpv6_rwait_cancel + * Name: icmpv6_rwait_cancel * * Description: * Cancel any wait set after icmpv6_rwait_setup() is called but before @@ -269,7 +269,7 @@ int icmpv6_rwait_cancel(FAR struct icmpv6_rnotify_s *notify) } /**************************************************************************** - * Function: icmpv6_rwait + * Name: icmpv6_rwait * * Description: * Called each time that a Router Solicitation is sent. This function @@ -326,7 +326,7 @@ int icmpv6_rwait(FAR struct icmpv6_rnotify_s *notify, } /**************************************************************************** - * Function: icmpv6_rnotify + * Name: icmpv6_rnotify * * Description: * Called each time that a Router Advertisement is received in order to diff --git a/net/local/local.h b/net/local/local.h index 999f804ea0c..db4fffc0faf 100644 --- a/net/local/local.h +++ b/net/local/local.h @@ -321,7 +321,7 @@ int local_release(FAR struct local_conn_s *conn); int local_listen(FAR struct local_conn_s *server, int backlog); /**************************************************************************** - * Function: psock_local_accept + * Name: psock_local_accept * * Description: * This function implements accept() for Unix domain sockets. See the @@ -371,7 +371,7 @@ ssize_t psock_local_send(FAR struct socket *psock, FAR const void *buf, #endif /**************************************************************************** - * Function: psock_local_sendto + * Name: psock_local_sendto * * Description: * This function implements the Unix domain-specific logic of the @@ -421,7 +421,7 @@ ssize_t psock_local_sendto(FAR struct socket *psock, FAR const void *buf, int local_send_packet(int fd, FAR const uint8_t *buf, size_t len); /**************************************************************************** - * Function: psock_recvfrom + * Name: psock_recvfrom * * Description: * recvfrom() receives messages from a local socket, and may be used to @@ -646,7 +646,7 @@ void local_accept_pollnotify(FAR struct local_conn_s *conn, #endif /**************************************************************************** - * Function: local_pollsetup + * Name: local_pollsetup * * Description: * Setup to monitor events on one Unix domain socket @@ -666,7 +666,7 @@ int local_pollsetup(FAR struct socket *psock, FAR struct pollfd *fds); #endif /**************************************************************************** - * Function: local_pollteardown + * Name: local_pollteardown * * Description: * Teardown monitoring of events on a Unix domain socket diff --git a/net/local/local_accept.c b/net/local/local_accept.c index e148e3e60fc..2ead57d1039 100644 --- a/net/local/local_accept.c +++ b/net/local/local_accept.c @@ -56,7 +56,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: local_waitlisten + * Name: local_waitlisten ****************************************************************************/ static int local_waitlisten(FAR struct local_conn_s *server) @@ -88,7 +88,7 @@ static int local_waitlisten(FAR struct local_conn_s *server) ****************************************************************************/ /**************************************************************************** - * Function: psock_local_accept + * Name: psock_local_accept * * Description: * This function implements accept() for Unix domain sockets. See the diff --git a/net/local/local_netpoll.c b/net/local/local_netpoll.c index f9e087b36d9..cf741d9442f 100644 --- a/net/local/local_netpoll.c +++ b/net/local/local_netpoll.c @@ -54,7 +54,7 @@ #ifdef HAVE_LOCAL_POLL /**************************************************************************** - * Function: local_accept_pollsetup + * Name: local_accept_pollsetup ****************************************************************************/ #ifdef CONFIG_NET_LOCAL_STREAM @@ -160,7 +160,7 @@ void local_accept_pollnotify(FAR struct local_conn_s *conn, } /**************************************************************************** - * Function: local_pollsetup + * Name: local_pollsetup * * Description: * Setup to monitor events on one Unix domain socket @@ -299,7 +299,7 @@ pollerr: } /**************************************************************************** - * Function: local_pollteardown + * Name: local_pollteardown * * Description: * Teardown monitoring of events on a Unix domain socket diff --git a/net/local/local_recvfrom.c b/net/local/local_recvfrom.c index 8585468f616..a19d5323b39 100644 --- a/net/local/local_recvfrom.c +++ b/net/local/local_recvfrom.c @@ -120,7 +120,7 @@ static int psock_fifo_read(FAR struct socket *psock, FAR void *buf, } /**************************************************************************** - * Function: psock_stream_recvfrom + * Name: psock_stream_recvfrom * * Description: * psock_stream_recvfrom() receives messages from a local stream socket. @@ -216,7 +216,7 @@ psock_stream_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, #endif /* CONFIG_NET_LOCAL_STREAM */ /**************************************************************************** - * Function: psock_dgram_recvfrom + * Name: psock_dgram_recvfrom * * Description: * psock_dgram_recvfrom() receives messages from a local datagram socket. @@ -387,7 +387,7 @@ errout_with_halfduplex: ****************************************************************************/ /**************************************************************************** - * Function: psock_local_recvfrom + * Name: psock_local_recvfrom * * Description: * psock_local_recvfrom() receives messages from a local socket and may be diff --git a/net/local/local_sendto.c b/net/local/local_sendto.c index 1351c67a288..de59ee34f9e 100644 --- a/net/local/local_sendto.c +++ b/net/local/local_sendto.c @@ -57,7 +57,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_local_sendto + * Name: psock_local_sendto * * Description: * This function implements the Unix domain-specific logic of the diff --git a/net/netdev/netdev.h b/net/netdev/netdev.h index 19955d39510..06409909cfd 100644 --- a/net/netdev/netdev.h +++ b/net/netdev/netdev.h @@ -86,7 +86,7 @@ void netdev_ifup(FAR struct net_driver_s *dev); void netdev_ifdown(FAR struct net_driver_s *dev); /**************************************************************************** - * Function: netdev_verify + * Name: netdev_verify * * Description: * Verify that the specified device still exists @@ -99,7 +99,7 @@ void netdev_ifdown(FAR struct net_driver_s *dev); bool netdev_verify(FAR struct net_driver_s *dev); /**************************************************************************** - * Function: netdev_findbyname + * Name: netdev_findbyname * * Description: * Find a previously registered network device using its assigned @@ -121,7 +121,7 @@ FAR struct net_driver_s *netdev_findbyname(FAR const char *ifname); #endif /**************************************************************************** - * Function: netdev_findby_ipv4addr + * Name: netdev_findby_ipv4addr * * Description: * Find a previously registered network device by matching an arbitrary @@ -151,7 +151,7 @@ FAR struct net_driver_s *netdev_findby_ipv4addr(in_addr_t ripaddr); #endif /**************************************************************************** - * Function: netdev_findby_ipv6addr + * Name: netdev_findby_ipv6addr * * Description: * Find a previously registered network device by matching an arbitrary @@ -181,7 +181,7 @@ FAR struct net_driver_s *netdev_findby_ipv6addr(const net_ipv6addr_t ripaddr); #endif /**************************************************************************** - * Function: netdev_findbyindex + * Name: netdev_findbyindex * * Description: * Find a previously registered network device by its position in the @@ -205,7 +205,7 @@ FAR struct net_driver_s *netdev_findby_ipv6addr(const net_ipv6addr_t ripaddr); FAR struct net_driver_s *netdev_findbyindex(int index); /**************************************************************************** - * Function: netdev_default + * Name: netdev_default * * Description: * Return the default network device. REVISIT: At present this function @@ -233,7 +233,7 @@ FAR struct net_driver_s *netdev_default(void); #endif /**************************************************************************** - * Function: netdev_ipv4_txnotify + * Name: netdev_ipv4_txnotify * * Description: * Notify the device driver that forwards the IPv4 address that new TX @@ -261,7 +261,7 @@ void netdev_ipv4_txnotify(in_addr_t ripaddr); #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: netdev_ipv6_txnotify + * Name: netdev_ipv6_txnotify * * Description: * Notify the device driver that forwards the IPv4 address that new TX @@ -290,7 +290,7 @@ void netdev_ipv6_txnotify(FAR const net_ipv6addr_t ripaddr); #endif /* CONFIG_NSOCKET_DESCRIPTORS > 0 */ /**************************************************************************** - * Function: netdev_txnotify_dev + * Name: netdev_txnotify_dev * * Description: * Notify the device driver that new TX data is available. This variant @@ -311,7 +311,7 @@ void netdev_ipv6_txnotify(FAR const net_ipv6addr_t ripaddr); void netdev_txnotify_dev(FAR struct net_driver_s *dev); /**************************************************************************** - * Function: netdev_ipv4_rxnotify + * Name: netdev_ipv4_rxnotify * * Description: * Notify the device driver that forwards the IPv4 address that the @@ -340,7 +340,7 @@ void netdev_ipv4_rxnotify(in_addr_t ripaddr); #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: netdev_ipv6_rxnotify + * Name: netdev_ipv6_rxnotify * * Description: * Notify the device driver that forwards the IPv6 address that the @@ -386,7 +386,7 @@ void netdev_ipv6_rxnotify(FAR const net_ipv6addr_t ripaddr); #endif /**************************************************************************** - * Function: netdev_count + * Name: netdev_count * * Description: * Return the number of network devices diff --git a/net/netdev/netdev_carrier.c b/net/netdev/netdev_carrier.c index 8c422033282..35f9ff28926 100644 --- a/net/netdev/netdev_carrier.c +++ b/net/netdev/netdev_carrier.c @@ -59,7 +59,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_carrier_on + * Name: netdev_carrier_on * * Description: * Notifies the networking layer about an available carrier. @@ -85,7 +85,7 @@ int netdev_carrier_on(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: netdev_carrier_off + * Name: netdev_carrier_off * * Description: * Notifies the networking layer about an disappeared carrier. diff --git a/net/netdev/netdev_count.c b/net/netdev/netdev_count.c index 171039caf6d..71a1ecaab47 100644 --- a/net/netdev/netdev_count.c +++ b/net/netdev/netdev_count.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_count + * Name: netdev_count * * Description: * Return the number of network devices diff --git a/net/netdev/netdev_default.c b/net/netdev/netdev_default.c index 331f50343d1..40a176f1a27 100644 --- a/net/netdev/netdev_default.c +++ b/net/netdev/netdev_default.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_default + * Name: netdev_default * * Description: * Return the default network device. REVISIT: At present this function diff --git a/net/netdev/netdev_findbyaddr.c b/net/netdev/netdev_findbyaddr.c index 6aea450393b..bd41a262fb3 100644 --- a/net/netdev/netdev_findbyaddr.c +++ b/net/netdev/netdev_findbyaddr.c @@ -60,7 +60,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_finddevice_ipv4addr + * Name: netdev_finddevice_ipv4addr * * Description: * Find a previously registered network device by matching a local address @@ -113,7 +113,7 @@ static FAR struct net_driver_s *netdev_finddevice_ipv4addr(in_addr_t ripaddr) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: netdev_finddevice_ipv6addr + * Name: netdev_finddevice_ipv6addr * * Description: * Find a previously registered network device by matching a local address @@ -171,7 +171,7 @@ netdev_finddevice_ipv6addr(const net_ipv6addr_t ripaddr) ****************************************************************************/ /**************************************************************************** - * Function: netdev_findby_ipv4addr + * Name: netdev_findby_ipv4addr * * Description: * Find a previously registered network device by matching an arbitrary @@ -293,7 +293,7 @@ FAR struct net_driver_s *netdev_findby_ipv4addr(in_addr_t ripaddr) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: netdev_findby_ipv6addr + * Name: netdev_findby_ipv6addr * * Description: * Find a previously registered network device by matching an arbitrary diff --git a/net/netdev/netdev_findbyindex.c b/net/netdev/netdev_findbyindex.c index f17bba0b7c6..2496d2b9029 100644 --- a/net/netdev/netdev_findbyindex.c +++ b/net/netdev/netdev_findbyindex.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_findbyindex + * Name: netdev_findbyindex * * Description: * Find a previously registered network device by its position in the diff --git a/net/netdev/netdev_findbyname.c b/net/netdev/netdev_findbyname.c index 944489a2d02..50b7ffbddd3 100644 --- a/net/netdev/netdev_findbyname.c +++ b/net/netdev/netdev_findbyname.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_findbyname + * Name: netdev_findbyname * * Description: * Find a previously registered network device using its assigned diff --git a/net/netdev/netdev_foreach.c b/net/netdev/netdev_foreach.c index 11df953902e..bb6a9c6c3ef 100644 --- a/net/netdev/netdev_foreach.c +++ b/net/netdev/netdev_foreach.c @@ -51,7 +51,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_foreach + * Name: netdev_foreach * * Description: * Enumerate each registered network device. diff --git a/net/netdev/netdev_register.c b/net/netdev/netdev_register.c index 01a61b5b8ec..1aef9c3ed10 100644 --- a/net/netdev/netdev_register.c +++ b/net/netdev/netdev_register.c @@ -103,7 +103,7 @@ struct net_driver_s *g_netdevices = NULL; ****************************************************************************/ /**************************************************************************** - * Function: find_devnum + * Name: find_devnum * * Description: * Given a device name format string, find the next device number for the @@ -156,7 +156,7 @@ static int find_devnum(FAR const char *devfmt) ****************************************************************************/ /**************************************************************************** - * Function: netdev_register + * Name: netdev_register * * Description: * Register a network device driver and assign a name to it so that it can diff --git a/net/netdev/netdev_rxnotify.c b/net/netdev/netdev_rxnotify.c index be7aed64d01..1c18bb51d1a 100644 --- a/net/netdev/netdev_rxnotify.c +++ b/net/netdev/netdev_rxnotify.c @@ -55,7 +55,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_ipv4_rxnotify + * Name: netdev_ipv4_rxnotify * * Description: * Notify the device driver that forwards the IPv4 address that the @@ -100,7 +100,7 @@ void netdev_ipv4_rxnotify(in_addr_t ripaddr) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: netdev_ipv6_rxnotify + * Name: netdev_ipv6_rxnotify * * Description: * Notify the device driver that forwards the IPv6 address that the diff --git a/net/netdev/netdev_txnotify.c b/net/netdev/netdev_txnotify.c index 3d0c85203c9..72382e01df5 100644 --- a/net/netdev/netdev_txnotify.c +++ b/net/netdev/netdev_txnotify.c @@ -55,7 +55,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_ipv4_txnotify + * Name: netdev_ipv4_txnotify * * Description: * Notify the device driver that forwards the IPv4 address that new TX @@ -101,7 +101,7 @@ void netdev_ipv4_txnotify(in_addr_t ripaddr) /**************************************************************************** - * Function: netdev_ipv6_txnotify + * Name: netdev_ipv6_txnotify * * Description: * Notify the device driver that forwards the IPv4 address that new TX @@ -147,7 +147,7 @@ void netdev_ipv6_txnotify(FAR const net_ipv6addr_t ripaddr) #endif /* CONFIG_NET_IPv6 */ /**************************************************************************** - * Function: netdev_txnotify_dev + * Name: netdev_txnotify_dev * * Description: * Notify the device driver that new TX data is available. This variant diff --git a/net/netdev/netdev_unregister.c b/net/netdev/netdev_unregister.c index 6d56ad70f43..57c6754a7cd 100644 --- a/net/netdev/netdev_unregister.c +++ b/net/netdev/netdev_unregister.c @@ -70,7 +70,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_unregister + * Name: netdev_unregister * * Description: * Unregister a network device driver. diff --git a/net/netdev/netdev_verify.c b/net/netdev/netdev_verify.c index ee3031ea783..14e05b97a03 100644 --- a/net/netdev/netdev_verify.c +++ b/net/netdev/netdev_verify.c @@ -51,7 +51,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: netdev_verify + * Name: netdev_verify * * Description: * Verify that the specified device still exists diff --git a/net/pkt/pkt.h b/net/pkt/pkt.h index 295c40b07ed..aa6237da818 100644 --- a/net/pkt/pkt.h +++ b/net/pkt/pkt.h @@ -160,7 +160,7 @@ struct pkt_conn_s *pkt_nextconn(FAR struct pkt_conn_s *conn); /* Defined in pkt_callback.c ************************************************/ /**************************************************************************** - * Function: pkt_callback + * Name: pkt_callback * * Description: * Inform the application holding the packet socket of a change in state. @@ -199,7 +199,7 @@ uint16_t pkt_callback(FAR struct net_driver_s *dev, /* pkt_input() is prototyped in include/nuttx/net/pkt.h */ /**************************************************************************** - * Function: pkt_find_device + * Name: pkt_find_device * * Description: * Select the network driver to use with the PKT transaction. @@ -235,7 +235,7 @@ FAR struct net_driver_s *pkt_find_device(FAR struct pkt_conn_s *conn); void pkt_poll(FAR struct net_driver_s *dev, FAR struct pkt_conn_s *conn); /**************************************************************************** - * Function: psock_pkt_send + * Name: psock_pkt_send * * Description: * The psock_pkt_send() call may be used only when the packet socket is in a diff --git a/net/pkt/pkt_callback.c b/net/pkt/pkt_callback.c index 53df4c4afdf..13437962561 100644 --- a/net/pkt/pkt_callback.c +++ b/net/pkt/pkt_callback.c @@ -54,7 +54,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pkt_callback + * Name: pkt_callback * * Description: * Inform the application holding the packet socket of a change in state. diff --git a/net/pkt/pkt_finddev.c b/net/pkt/pkt_finddev.c index 639c894b3bd..19e7fedd13c 100644 --- a/net/pkt/pkt_finddev.c +++ b/net/pkt/pkt_finddev.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pkt_find_device + * Name: pkt_find_device * * Description: * Select the network driver to use with the PKT transaction. diff --git a/net/pkt/pkt_send.c b/net/pkt/pkt_send.c index fa5bda318b1..3902247fc8d 100644 --- a/net/pkt/pkt_send.c +++ b/net/pkt/pkt_send.c @@ -86,7 +86,7 @@ struct send_s ****************************************************************************/ /**************************************************************************** - * Function: psock_send_interrupt + * Name: psock_send_interrupt ****************************************************************************/ static uint16_t psock_send_interrupt(FAR struct net_driver_s *dev, @@ -152,7 +152,7 @@ static uint16_t psock_send_interrupt(FAR struct net_driver_s *dev, ****************************************************************************/ /**************************************************************************** - * Function: psock_pkt_send + * Name: psock_pkt_send * * Description: * The psock_pkt_send() call may be used only when the packet socket is in a diff --git a/net/route/net_addroute.c b/net/route/net_addroute.c index 1f75944ec50..28496ebe196 100644 --- a/net/route/net_addroute.c +++ b/net/route/net_addroute.c @@ -58,7 +58,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_addroute + * Name: net_addroute * * Description: * Add a new route to the routing table diff --git a/net/route/net_allocroute.c b/net/route/net_allocroute.c index 8c0cfdd02f3..edb08d24b51 100644 --- a/net/route/net_allocroute.c +++ b/net/route/net_allocroute.c @@ -93,7 +93,7 @@ static struct net_route_ipv6_s g_preallocroutes_ipv6[CONFIG_NET_MAXROUTES]; ****************************************************************************/ /**************************************************************************** - * Function: net_initroute + * Name: net_initroute * * Description: * Initialize to the routing table @@ -143,7 +143,7 @@ void net_initroute(void) } /**************************************************************************** - * Function: net_allocroute + * Name: net_allocroute * * Description: * Allocate one route by removing it from the free list @@ -196,7 +196,7 @@ FAR struct net_route_ipv6_s *net_allocroute_ipv6(void) #endif /**************************************************************************** - * Function: net_freeroute + * Name: net_freeroute * * Description: * Free one route by adding it from the free list diff --git a/net/route/net_delroute.c b/net/route/net_delroute.c index 1efbb0e18eb..b40b6a7c21b 100644 --- a/net/route/net_delroute.c +++ b/net/route/net_delroute.c @@ -76,7 +76,7 @@ struct route_match_ipv6_s ****************************************************************************/ /**************************************************************************** - * Function: net_match + * Name: net_match * * Description: * Return 1 if the route is available @@ -175,7 +175,7 @@ static int net_match_ipv6(FAR struct net_route_ipv6_s *route, FAR void *arg) ****************************************************************************/ /**************************************************************************** - * Function: net_delroute + * Name: net_delroute * * Description: * Remove an existing route from the routing table diff --git a/net/route/net_foreachroute.c b/net/route/net_foreachroute.c index b9e52051afb..f386088ce41 100644 --- a/net/route/net_foreachroute.c +++ b/net/route/net_foreachroute.c @@ -55,7 +55,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_foreachroute + * Name: net_foreachroute * * Description: * Traverse the route table diff --git a/net/route/net_router.c b/net/route/net_router.c index a72990e37da..add97612558 100644 --- a/net/route/net_router.c +++ b/net/route/net_router.c @@ -77,7 +77,7 @@ struct route_ipv6_match_s ****************************************************************************/ /**************************************************************************** - * Function: net_ipv4_match + * Name: net_ipv4_match * * Description: * Return 1 if the IPv4 route is available @@ -114,7 +114,7 @@ static int net_ipv4_match(FAR struct net_route_s *route, FAR void *arg) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: net_ipv6_match + * Name: net_ipv6_match * * Description: * Return 1 if the IPv6 route is available @@ -155,7 +155,7 @@ static int net_ipv6_match(FAR struct net_route_ipv6_s *route, FAR void *arg) ****************************************************************************/ /**************************************************************************** - * Function: net_ipv4_router + * Name: net_ipv4_router * * Description: * Given an IPv4 address on a external network, return the address of the @@ -213,7 +213,7 @@ int net_ipv4_router(in_addr_t target, FAR in_addr_t *router) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: net_ipv6_router + * Name: net_ipv6_router * * Description: * Given an IPv6 address on a external network, return the address of the diff --git a/net/route/netdev_router.c b/net/route/netdev_router.c index d76a4e52b74..9ba9cb3a4c9 100644 --- a/net/route/netdev_router.c +++ b/net/route/netdev_router.c @@ -78,7 +78,7 @@ struct route_ipv6_devmatch_s ****************************************************************************/ /**************************************************************************** - * Function: net_ipv4_devmatch + * Name: net_ipv4_devmatch * * Description: * Return 1 if the IPv4 route is available on the device's network. @@ -119,7 +119,7 @@ static int net_ipv4_devmatch(FAR struct net_route_s *route, FAR void *arg) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: net_ipv6_devmatch + * Name: net_ipv6_devmatch * * Description: * Return 1 if the IPv6 route is available on the device's network. @@ -164,7 +164,7 @@ static int net_ipv6_devmatch(FAR struct net_route_ipv6_s *route, FAR void *arg) ****************************************************************************/ /**************************************************************************** - * Function: netdev_ipv4_router + * Name: netdev_ipv4_router * * Description: * Given an IPv4 address on a external network, return the address of the @@ -220,7 +220,7 @@ void netdev_ipv4_router(FAR struct net_driver_s *dev, in_addr_t target, #endif /**************************************************************************** - * Function: netdev_ipv6_router + * Name: netdev_ipv6_router * * Description: * Given an IPv6 address on a external network, return the address of the diff --git a/net/route/route.h b/net/route/route.h index 99e8e676768..460b9dfd0cb 100644 --- a/net/route/route.h +++ b/net/route/route.h @@ -118,7 +118,7 @@ EXTERN sq_queue_t g_routes_ipv6; ****************************************************************************/ /**************************************************************************** - * Function: net_initroute + * Name: net_initroute * * Description: * Initialize to the routing table @@ -134,7 +134,7 @@ EXTERN sq_queue_t g_routes_ipv6; void net_initroute(void); /**************************************************************************** - * Function: net_allocroute + * Name: net_allocroute * * Description: * Allocate one route by removing it from the free list @@ -157,7 +157,7 @@ FAR struct net_route_ipv6_s *net_allocroute_ipv6(void); #endif /**************************************************************************** - * Function: net_allocroute + * Name: net_allocroute * * Description: * Free one route by adding it from the free list @@ -179,7 +179,7 @@ void net_freeroute_ipv6(FAR struct net_route_ipv6_s *route); #endif /**************************************************************************** - * Function: net_addroute + * Name: net_addroute * * Description: * Add a new route to the routing table @@ -206,7 +206,7 @@ int net_addroute_ipv6(net_ipv6addr_t target, net_ipv6addr_t netmask, #endif /**************************************************************************** - * Function: net_delroute + * Name: net_delroute * * Description: * Remove an existing route from the routing table @@ -227,7 +227,7 @@ int net_delroute_ipv6(net_ipv6addr_t target, net_ipv6addr_t netmask); #endif /**************************************************************************** - * Function: net_ipv4_router + * Name: net_ipv4_router * * Description: * Given an IPv4 address on a external network, return the address of the @@ -248,7 +248,7 @@ int net_ipv4_router(in_addr_t target, FAR in_addr_t *router); #endif /**************************************************************************** - * Function: net_ipv6_router + * Name: net_ipv6_router * * Description: * Given an IPv6 address on a external network, return the address of the @@ -269,7 +269,7 @@ int net_ipv6_router(net_ipv6addr_t target, net_ipv6addr_t router); #endif /**************************************************************************** - * Function: netdev_ipv4_router + * Name: netdev_ipv4_router * * Description: * Given an IPv4 address on a external network, return the address of the @@ -296,7 +296,7 @@ void netdev_ipv4_router(FAR struct net_driver_s *dev, in_addr_t target, #endif /**************************************************************************** - * Function: netdev_ipv6_router + * Name: netdev_ipv6_router * * Description: * Given an IPv6 address on a external network, return the address of the @@ -324,7 +324,7 @@ void netdev_ipv6_router(FAR struct net_driver_s *dev, #endif /**************************************************************************** - * Function: net_foreachroute + * Name: net_foreachroute * * Description: * Traverse the route table diff --git a/net/sixlowpan/sixlowpan.h b/net/sixlowpan/sixlowpan.h index 05ce9496c9c..fe4451c0939 100644 --- a/net/sixlowpan/sixlowpan.h +++ b/net/sixlowpan/sixlowpan.h @@ -79,7 +79,7 @@ struct sockaddr; /* Forward reference */ void sixlowpan_initialize(void); /**************************************************************************** - * Function: psock_6lowpan_tcp_send + * Name: psock_6lowpan_tcp_send * * Description: * psock_6lowpan_tcp_send() call may be used only when the TCP socket is in a @@ -107,7 +107,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf, #endif /**************************************************************************** - * Function: sixlowpan_tcp_send + * Name: sixlowpan_tcp_send * * Description: * TCP output comes through three different mechansims. Either from: @@ -139,7 +139,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf, void sixlowpan_tcp_send(FAR struct net_driver_s *dev); /**************************************************************************** - * Function: psock_6lowpan_udp_send + * Name: psock_6lowpan_udp_send * * Description: * psock_6lowpan_udp_send() call may be used with connectionlesss UDP @@ -167,7 +167,7 @@ ssize_t psock_6lowpan_udp_send(FAR struct socket *psock, FAR const void *buf, #endif /**************************************************************************** - * Function: psock_6lowpan_udp_sendto + * Name: psock_6lowpan_udp_sendto * * Description: * If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET) diff --git a/net/sixlowpan/sixlowpan_framer.c b/net/sixlowpan/sixlowpan_framer.c index 66f8a1c3fb6..d8771a060c2 100644 --- a/net/sixlowpan/sixlowpan_framer.c +++ b/net/sixlowpan/sixlowpan_framer.c @@ -82,7 +82,7 @@ struct field_length_s ****************************************************************************/ /**************************************************************************** - * Function: sixlowpan_addrlen + * Name: sixlowpan_addrlen * * Description: * Return the address length associated with a 2-bit address mode @@ -109,7 +109,7 @@ static inline uint8_t sixlowpan_addrlen(uint8_t addrmode) } /**************************************************************************** - * Function: sixlowpan_addrnull + * Name: sixlowpan_addrnull * * Description: * If the output address is NULL in the Rime buf, then it is broadcast @@ -140,7 +140,7 @@ static bool sixlowpan_addrnull(FAR uint8_t *addr) /**************************************************************************** - * Function: sixlowpan_fieldlengths + * Name: sixlowpan_fieldlengths * * Description: * Return the lengths associated fields of the IEEE802.15.4 header. @@ -228,7 +228,7 @@ static void sixlowpan_fieldlengths(FAR struct frame802154_s *finfo, } /**************************************************************************** - * Function: sixlowpan_fieldlengths + * Name: sixlowpan_fieldlengths * * Description: * Return the lengths associated fields of the IEEE802.15.4 header. @@ -249,7 +249,7 @@ static int sixlowpan_flen_hdrlen(FAR const struct field_length_s *flen) } /**************************************************************************** - * Function: sixlowpan_802154_hdrlen + * Name: sixlowpan_802154_hdrlen * * Description: * Calculates the length of the frame header. This function is meant to @@ -272,7 +272,7 @@ static int sixlowpan_802154_hdrlen(FAR struct frame802154_s *finfo) } /**************************************************************************** - * Function: sixlowpan_setup_params + * Name: sixlowpan_setup_params * * Description: * Configure frame parmeters structure. @@ -382,7 +382,7 @@ static void sixlowpan_setup_params(FAR struct ieee802154_driver_s *ieee, ****************************************************************************/ /**************************************************************************** - * Function: sixlowpan_send_hdrlen + * Name: sixlowpan_send_hdrlen * * Description: * This function is before the first frame has been sent in order to @@ -415,7 +415,7 @@ int sixlowpan_send_hdrlen(FAR struct ieee802154_driver_s *ieee, } /**************************************************************************** - * Function: sixlowpan_802154_framecreate + * Name: sixlowpan_802154_framecreate * * Description: * Creates a frame for transmission over the air. This function is meant @@ -514,7 +514,7 @@ int sixlowpan_802154_framecreate(FAR struct frame802154_s *finfo, } /**************************************************************************** - * Function: sixlowpan_framecreate + * Name: sixlowpan_framecreate * * Description: * This function is called after eiether (1) the IEEE802.15.4 MAC driver diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c index bfa74da13a4..bccd97677b7 100644 --- a/net/sixlowpan/sixlowpan_input.c +++ b/net/sixlowpan/sixlowpan_input.c @@ -680,7 +680,7 @@ static int sixlowpan_frame_process(FAR struct ieee802154_driver_s *ieee, } /**************************************************************************** - * Function: sixlowpan_dispatch + * Name: sixlowpan_dispatch * * Description: * Inject the packet in d_buf into the network for normal packet processing. diff --git a/net/sixlowpan/sixlowpan_internal.h b/net/sixlowpan/sixlowpan_internal.h index 392bc376b78..a56678c27f9 100644 --- a/net/sixlowpan/sixlowpan_internal.h +++ b/net/sixlowpan/sixlowpan_internal.h @@ -344,7 +344,7 @@ int sixlowpan_send(FAR struct net_driver_s *dev, uint16_t timeout); /**************************************************************************** - * Function: sixlowpan_send_hdrlen + * Name: sixlowpan_send_hdrlen * * Description: * This function is before the first frame has been sent in order to @@ -366,7 +366,7 @@ int sixlowpan_send_hdrlen(FAR struct ieee802154_driver_s *ieee, uint16_t dest_panid); /**************************************************************************** - * Function: sixlowpan_framecreate + * Name: sixlowpan_framecreate * * Description: * This function is called after the IEEE802.15.4 MAC driver polls for diff --git a/net/sixlowpan/sixlowpan_send.c b/net/sixlowpan/sixlowpan_send.c index 1dd8f86c667..3ad68554aec 100644 --- a/net/sixlowpan/sixlowpan_send.c +++ b/net/sixlowpan/sixlowpan_send.c @@ -93,7 +93,7 @@ struct sixlowpan_send_s ****************************************************************************/ /**************************************************************************** - * Function: send_timeout + * Name: send_timeout * * Description: * Check for send timeout. @@ -134,7 +134,7 @@ static inline bool send_timeout(FAR struct sixlowpan_send_s *sinfo) } /**************************************************************************** - * Function: send_interrupt + * Name: send_interrupt * * Description: * This function is called from the interrupt level to perform the actual diff --git a/net/sixlowpan/sixlowpan_tcpsend.c b/net/sixlowpan/sixlowpan_tcpsend.c index 3ee39e72ed6..2bb6c49130c 100644 --- a/net/sixlowpan/sixlowpan_tcpsend.c +++ b/net/sixlowpan/sixlowpan_tcpsend.c @@ -136,7 +136,7 @@ static uint16_t sixlowpan_tcp_chksum(FAR struct ipv6tcp_hdr_s *ipv6tcp, ****************************************************************************/ /**************************************************************************** - * Function: psock_6lowpan_tcp_send + * Name: psock_6lowpan_tcp_send * * Description: * psock_6lowpan_tcp_send() call may be used only when the TCP socket is in a @@ -348,7 +348,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf, } /**************************************************************************** - * Function: sixlowpan_tcp_send + * Name: sixlowpan_tcp_send * * Description: * TCP output comes through three different mechansims. Either from: diff --git a/net/sixlowpan/sixlowpan_udpsend.c b/net/sixlowpan/sixlowpan_udpsend.c index f8f62e528b1..a29197eec70 100644 --- a/net/sixlowpan/sixlowpan_udpsend.c +++ b/net/sixlowpan/sixlowpan_udpsend.c @@ -125,7 +125,7 @@ static uint16_t sixlowpan_udp_chksum(FAR struct ipv6udp_hdr_s *ipv6udp, ****************************************************************************/ /**************************************************************************** - * Function: psock_6lowpan_udp_sendto + * Name: psock_6lowpan_udp_sendto * * Description: * If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET) @@ -323,7 +323,7 @@ ssize_t psock_6lowpan_udp_sendto(FAR struct socket *psock, } /**************************************************************************** - * Function: psock_6lowpan_udp_send + * Name: psock_6lowpan_udp_send * * Description: * psock_6lowpan_udp_send() call may be used with connectionlesss UDP diff --git a/net/socket/accept.c b/net/socket/accept.c index b4db581dbad..a93e490b9e2 100644 --- a/net/socket/accept.c +++ b/net/socket/accept.c @@ -61,7 +61,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_accept + * Name: psock_accept * * Description: * The psock_accept function is used with connection-based socket types @@ -305,7 +305,7 @@ errout: } /**************************************************************************** - * Function: accept + * Name: accept * * Description: * The accept function is used with connection-based socket types diff --git a/net/socket/bind.c b/net/socket/bind.c index 8ffc1274e8b..544d1e0d53c 100644 --- a/net/socket/bind.c +++ b/net/socket/bind.c @@ -68,7 +68,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: pkt_bind + * Name: pkt_bind * * Description: * Bind a raw socket to an network device. @@ -122,7 +122,7 @@ static int pkt_bind(FAR struct pkt_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: psock_bind + * Name: psock_bind * * Description: * bind() gives the socket 'psock' the local address 'addr'. 'addr' is @@ -345,7 +345,7 @@ errout: } /**************************************************************************** - * Function: bind + * Name: bind * * Description: * bind() gives the socket 'sockfd' the local address 'addr'. 'addr' is diff --git a/net/socket/getsockname.c b/net/socket/getsockname.c index 703136e0d9e..ba7cc764340 100644 --- a/net/socket/getsockname.c +++ b/net/socket/getsockname.c @@ -64,7 +64,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: get_ipv4_sockname + * Name: get_ipv4_sockname * * Description: * The getsockname() function retrieves the locally-bound name of the @@ -187,7 +187,7 @@ int ipv4_getsockname(FAR struct socket *psock, FAR struct sockaddr *addr, #endif /**************************************************************************** - * Function: ipv6_getsockname + * Name: ipv6_getsockname * * Description: * The getsockname() function retrieves the locally-bound name of the @@ -314,7 +314,7 @@ int ipv6_getsockname(FAR struct socket *psock, FAR struct sockaddr *addr, ****************************************************************************/ /**************************************************************************** - * Function: getsockname + * Name: getsockname * * Description: * The getsockname() function retrieves the locally-bound name of the diff --git a/net/socket/getsockopt.c b/net/socket/getsockopt.c index ab15d511aaf..00841fe5112 100644 --- a/net/socket/getsockopt.c +++ b/net/socket/getsockopt.c @@ -56,7 +56,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_getsockopt + * Name: psock_getsockopt * * Description: * getsockopt() retrieve thse value for the option specified by the @@ -277,7 +277,7 @@ errout: } /**************************************************************************** - * Function: getsockopt + * Name: getsockopt * * Description: * getsockopt() retrieve thse value for the option specified by the diff --git a/net/socket/listen.c b/net/socket/listen.c index 3b0189d019d..b05d18acebd 100644 --- a/net/socket/listen.c +++ b/net/socket/listen.c @@ -55,7 +55,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_listen + * Name: psock_listen * * Description: * To accept connections, a socket is first created with psock_socket(), a @@ -168,7 +168,7 @@ errout: } /**************************************************************************** - * Function: listen + * Name: listen * * Description: * To accept connections, a socket is first created with socket(), a diff --git a/net/socket/net_clone.c b/net/socket/net_clone.c index 83a7c5150c4..a08c236329d 100644 --- a/net/socket/net_clone.c +++ b/net/socket/net_clone.c @@ -58,7 +58,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_clone + * Name: net_clone * * Description: * Performs the low level, common portion of net_dupsd() and net_dupsd2() diff --git a/net/socket/net_close.c b/net/socket/net_close.c index 6bbc01b725f..adb1812ad26 100644 --- a/net/socket/net_close.c +++ b/net/socket/net_close.c @@ -91,7 +91,7 @@ struct tcp_close_s ****************************************************************************/ /**************************************************************************** - * Function: close_timeout + * Name: close_timeout * * Description: * Check for a timeout on a lingering close. @@ -136,7 +136,7 @@ static inline int close_timeout(FAR struct tcp_close_s *pstate) #endif /* NET_TCP_HAVE_STACK && CONFIG_NET_SOLINGER */ /**************************************************************************** - * Function: netclose_interrupt + * Name: netclose_interrupt * * Description: * Handle network callback events. @@ -260,7 +260,7 @@ end_wait: #endif /* NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: netclose_txnotify + * Name: netclose_txnotify * * Description: * Notify the appropriate device driver that we are have data ready to @@ -317,7 +317,7 @@ static inline void netclose_txnotify(FAR struct socket *psock, #endif /* NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: netclose_disconnect + * Name: netclose_disconnect * * Description: * Break any current TCP connection @@ -455,7 +455,7 @@ static inline int netclose_disconnect(FAR struct socket *psock) #endif /* NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: local_close + * Name: local_close * * Description: * Performs the close operation on a local socket instance @@ -498,7 +498,7 @@ static void local_close(FAR struct socket *psock) ****************************************************************************/ /**************************************************************************** - * Function: psock_close + * Name: psock_close * * Description: * Performs the close operation on a socket instance @@ -733,7 +733,7 @@ errout: } /**************************************************************************** - * Function: net_close + * Name: net_close * * Description: * Performs the close operation on socket descriptors diff --git a/net/socket/net_dupsd.c b/net/socket/net_dupsd.c index b5696871d21..3f92ac0252b 100644 --- a/net/socket/net_dupsd.c +++ b/net/socket/net_dupsd.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_dupsd + * Name: net_dupsd * * Description: * Clone a socket descriptor to an arbitrary descriptor number. If file diff --git a/net/socket/net_dupsd2.c b/net/socket/net_dupsd2.c index 7aa2634e21e..4d6027667cc 100644 --- a/net/socket/net_dupsd2.c +++ b/net/socket/net_dupsd2.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_dupsd2 + * Name: net_dupsd2 * * Description: * Clone a socket descriptor to an arbitray descriptor number. If file diff --git a/net/socket/net_poll.c b/net/socket/net_poll.c index 0fe2b23db15..b8cbaf3e022 100644 --- a/net/socket/net_poll.c +++ b/net/socket/net_poll.c @@ -70,7 +70,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_pollsetup + * Name: net_pollsetup * * Description: * Setup to monitor events on one socket @@ -138,7 +138,7 @@ static inline int net_pollsetup(FAR struct socket *psock, } /**************************************************************************** - * Function: net_pollteardown + * Name: net_pollteardown * * Description: * Teardown monitoring of events on an socket @@ -211,7 +211,7 @@ static inline int net_pollteardown(FAR struct socket *psock, ****************************************************************************/ /**************************************************************************** - * Function: psock_poll + * Name: psock_poll * * Description: * The standard poll() operation redirects operations on socket descriptors @@ -264,7 +264,7 @@ int psock_poll(FAR struct socket *psock, FAR struct pollfd *fds, bool setup) } /**************************************************************************** - * Function: net_poll + * Name: net_poll * * Description: * The standard poll() operation redirects operations on socket descriptors diff --git a/net/socket/net_sendfile.c b/net/socket/net_sendfile.c index 81f527abe76..8f17f8a5c24 100644 --- a/net/socket/net_sendfile.c +++ b/net/socket/net_sendfile.c @@ -115,7 +115,7 @@ struct sendfile_s ****************************************************************************/ /**************************************************************************** - * Function: sendfile_timeout + * Name: sendfile_timeout * * Description: * Check for send timeout. @@ -238,7 +238,7 @@ static uint16_t ack_interrupt(FAR struct net_driver_s *dev, FAR void *pvconn, } /**************************************************************************** - * Function: sendfile_addrcheck + * Name: sendfile_addrcheck * * Description: * Check if the destination IP address is in the IPv4 ARP or IPv6 Neighbor @@ -301,7 +301,7 @@ static inline bool sendfile_addrcheck(FAR struct tcp_conn_s *conn) #endif /* CONFIG_NET_ETHERNET */ /**************************************************************************** - * Function: sendfile_interrupt + * Name: sendfile_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -478,7 +478,7 @@ wait: } /**************************************************************************** - * Function: sendfile_txnotify + * Name: sendfile_txnotify * * Description: * Notify the appropriate device driver that we are have data ready to @@ -537,7 +537,7 @@ static inline void sendfile_txnotify(FAR struct socket *psock, ****************************************************************************/ /**************************************************************************** - * Function: net_sendfile + * Name: net_sendfile * * Description: * The send() call may be used only when the socket is in a connected state diff --git a/net/socket/net_timeo.c b/net/socket/net_timeo.c index 81b7123a312..fd3288c0995 100644 --- a/net/socket/net_timeo.c +++ b/net/socket/net_timeo.c @@ -52,7 +52,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_timeo + * Name: net_timeo * * Description: * Check if a timeout has elapsed. This can be called from a socket poll diff --git a/net/socket/recv.c b/net/socket/recv.c index 2e590c0b715..4cd62d2cf85 100644 --- a/net/socket/recv.c +++ b/net/socket/recv.c @@ -51,7 +51,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: recv + * Name: recv * * Description: * The recv() call is identical to recvfrom() with a NULL from parameter. diff --git a/net/socket/recvfrom.c b/net/socket/recvfrom.c index 1bc3e76c1bb..4a3ad322348 100644 --- a/net/socket/recvfrom.c +++ b/net/socket/recvfrom.c @@ -115,7 +115,7 @@ struct recvfrom_s ****************************************************************************/ /**************************************************************************** - * Function: recvfrom_add_recvlen + * Name: recvfrom_add_recvlen * * Description: * Update information about space available for new data and update size @@ -149,7 +149,7 @@ static inline void recvfrom_add_recvlen(FAR struct recvfrom_s *pstate, #endif /* NET_UDP_HAVE_STACK || NET_TCP_HAVE_STACK || CONFIG_NET_PKT */ /**************************************************************************** - * Function: recvfrom_newdata + * Name: recvfrom_newdata * * Description: * Copy the read data from the packet @@ -197,7 +197,7 @@ static size_t recvfrom_newdata(FAR struct net_driver_s *dev, #endif /* NET_UDP_HAVE_STACK || NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_newpktdata + * Name: recvfrom_newpktdata * * Description: * Copy the read data from the packet @@ -241,7 +241,7 @@ static void recvfrom_newpktdata(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_PKT */ /**************************************************************************** - * Function: recvfrom_newtcpdata + * Name: recvfrom_newtcpdata * * Description: * Copy the read data from the packet @@ -313,7 +313,7 @@ static inline void recvfrom_newtcpdata(FAR struct net_driver_s *dev, #endif /* NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_newudpdata + * Name: recvfrom_newudpdata * * Description: * Copy the read data from the packet @@ -345,7 +345,7 @@ static inline void recvfrom_newudpdata(FAR struct net_driver_s *dev, #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_tcpreadahead + * Name: recvfrom_tcpreadahead * * Description: * Copy the read data from the packet @@ -513,7 +513,7 @@ out: #endif /**************************************************************************** - * Function: recvfrom_timeout + * Name: recvfrom_timeout * * Description: * Check for recvfrom timeout. @@ -587,7 +587,7 @@ static int recvfrom_timeout(struct recvfrom_s *pstate) #endif /* NET_UDP_HAVE_STACK || NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_pktsender + * Name: recvfrom_pktsender * * Description: * @@ -607,7 +607,7 @@ static inline void recvfrom_pktsender(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_PKT */ /**************************************************************************** - * Function: recvfrom_pktinterrupt + * Name: recvfrom_pktinterrupt * * Description: * @@ -670,7 +670,7 @@ static uint16_t recvfrom_pktinterrupt(FAR struct net_driver_s *dev, #endif /* CONFIG_NET_PKT */ /**************************************************************************** - * Function: recvfrom_tcpsender + * Name: recvfrom_tcpsender * * Description: * Getting the sender's address from the UDP packet @@ -741,7 +741,7 @@ static inline void recvfrom_tcpsender(FAR struct net_driver_s *dev, #endif /* NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_tcpinterrupt + * Name: recvfrom_tcpinterrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -964,7 +964,7 @@ static uint16_t recvfrom_tcpinterrupt(FAR struct net_driver_s *dev, #endif /* NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_udpsender + * Name: recvfrom_udpsender * * Description: * Getting the sender's address from the UDP packet @@ -1065,7 +1065,7 @@ static inline void recvfrom_udpsender(struct net_driver_s *dev, struct recvfrom_ #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_udp_terminate + * Name: recvfrom_udp_terminate * * Description: * Terminate the UDP transfer. @@ -1101,7 +1101,7 @@ static void recvfrom_udp_terminate(FAR struct recvfrom_s *pstate, int result) #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_udp_interrupt + * Name: recvfrom_udp_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -1195,7 +1195,7 @@ static uint16_t recvfrom_udp_interrupt(FAR struct net_driver_s *dev, #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_init + * Name: recvfrom_init * * Description: * Initialize the state structure @@ -1253,7 +1253,7 @@ static void recvfrom_init(FAR struct socket *psock, FAR void *buf, #endif /* NET_UDP_HAVE_STACK || NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfrom_result + * Name: recvfrom_result * * Description: * Evaluate the result of the recv operations @@ -1302,7 +1302,7 @@ static ssize_t recvfrom_result(int result, struct recvfrom_s *pstate) #endif /* NET_UDP_HAVE_STACK || NET_TCP_HAVE_STACK */ /**************************************************************************** - * Function: recvfromo_pkt_rxnotify + * Name: recvfromo_pkt_rxnotify * * Description: * Notify the appropriate device driver that we are ready to receive a @@ -1324,7 +1324,7 @@ static void recvfromo_pkt_rxnotify(FAR struct pkt_conn_s *conn) #endif /**************************************************************************** - * Function: recvfrom_udp_rxnotify + * Name: recvfrom_udp_rxnotify * * Description: * Notify the appropriate device driver that we are ready to receive a @@ -1381,7 +1381,7 @@ static inline void recvfrom_udp_rxnotify(FAR struct socket *psock, #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: pkt_recvfrom + * Name: pkt_recvfrom * * Description: * Perform the recvfrom operation for packet socket @@ -1475,7 +1475,7 @@ errout_with_state: #endif /* CONFIG_NET_PKT */ /**************************************************************************** - * Function: udp_recvfrom + * Name: udp_recvfrom * * Description: * Perform the recvfrom operation for a UDP SOCK_DGRAM @@ -1615,7 +1615,7 @@ errout_with_state: #endif /* NET_UDP_HAVE_STACK */ /**************************************************************************** - * Function: tcp_recvfrom + * Name: tcp_recvfrom * * Description: * Perform the recvfrom operation for a TCP/IP SOCK_STREAM @@ -1797,7 +1797,7 @@ static ssize_t tcp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, ****************************************************************************/ /**************************************************************************** - * Function: psock_recvfrom + * Name: psock_recvfrom * * Description: * recvfrom() receives messages from a socket, and may be used to receive @@ -2057,7 +2057,7 @@ errout: } /**************************************************************************** - * Function: recvfrom + * Name: recvfrom * * Description: * recvfrom() receives messages from a socket, and may be used to receive diff --git a/net/socket/send.c b/net/socket/send.c index 340e4caa62b..646fba8bf45 100644 --- a/net/socket/send.c +++ b/net/socket/send.c @@ -58,7 +58,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_send + * Name: psock_send * * Description: * The send() call may be used only when the socket is in a connected state @@ -259,7 +259,7 @@ ssize_t psock_send(FAR struct socket *psock, FAR const void *buf, size_t len, } /**************************************************************************** - * Function: send + * Name: send * * Description: * The send() call may be used only when the socket is in a connected state diff --git a/net/socket/sendto.c b/net/socket/sendto.c index 4c2798cd6ca..6b3490b10ac 100644 --- a/net/socket/sendto.c +++ b/net/socket/sendto.c @@ -59,7 +59,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_sendto + * Name: psock_sendto * * Description: * If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET) @@ -279,7 +279,7 @@ errout: } /**************************************************************************** - * Function: sendto + * Name: sendto * * Description: * If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET) diff --git a/net/socket/setsockopt.c b/net/socket/setsockopt.c index fd41045f3e3..856f2ce7008 100644 --- a/net/socket/setsockopt.c +++ b/net/socket/setsockopt.c @@ -60,7 +60,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_setsockopt + * Name: psock_setsockopt * * Description: * psock_setsockopt() sets the option specified by the 'option' argument, @@ -315,7 +315,7 @@ errout: } /**************************************************************************** - * Function: setsockopt + * Name: setsockopt * * Description: * setsockopt() sets the option specified by the 'option' argument, diff --git a/net/socket/socket.c b/net/socket/socket.c index 04d595a8315..38407462fc5 100644 --- a/net/socket/socket.c +++ b/net/socket/socket.c @@ -205,7 +205,7 @@ static int psock_local_alloc(FAR struct socket *psock) ****************************************************************************/ /**************************************************************************** - * Function: psock_socket + * Name: psock_socket * * Description: * socket() creates an endpoint for communication and returns a socket @@ -545,7 +545,7 @@ errout: } /**************************************************************************** - * Function: socket + * Name: socket * * Description: * socket() creates an endpoint for communication and returns a descriptor. diff --git a/net/socket/socket.h b/net/socket/socket.h index 4141cf7477d..d4b05258090 100644 --- a/net/socket/socket.h +++ b/net/socket/socket.h @@ -293,7 +293,7 @@ void net_lostconnection(FAR struct socket *psock, uint16_t flags); #endif /**************************************************************************** - * Function: psock_close + * Name: psock_close * * Description: * Performs the close operation on a socket instance @@ -311,7 +311,7 @@ void net_lostconnection(FAR struct socket *psock, uint16_t flags); int psock_close(FAR struct socket *psock); /**************************************************************************** - * Function: net_close + * Name: net_close * * Description: * Performs the close operation on socket descriptors @@ -329,7 +329,7 @@ int psock_close(FAR struct socket *psock); int net_close(int sockfd); /**************************************************************************** - * Function: net_timeo + * Name: net_timeo * * Description: * Check if a timeout has elapsed. This can be called from a socket poll @@ -351,7 +351,7 @@ int net_timeo(systime_t start_time, socktimeo_t timeo); #endif /**************************************************************************** - * Function: psock_send + * Name: psock_send * * Description: * The send() call may be used only when the socket is in a connected state diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h index e6c98a08479..54808a30757 100644 --- a/net/tcp/tcp.h +++ b/net/tcp/tcp.h @@ -413,7 +413,7 @@ FAR struct tcp_conn_s *tcp_active(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *tcp_nextconn(FAR struct tcp_conn_s *conn); /**************************************************************************** - * Function: tcp_local_ipv4_device + * Name: tcp_local_ipv4_device * * Description: * Select the network driver to use with the IPv4 TCP transaction based @@ -434,7 +434,7 @@ int tcp_local_ipv4_device(FAR struct tcp_conn_s *conn); #endif /**************************************************************************** - * Function: tcp_remote_ipv4_device + * Name: tcp_remote_ipv4_device * * Description: * Select the network driver to use with the IPv4 TCP transaction based @@ -455,7 +455,7 @@ int tcp_remote_ipv4_device(FAR struct tcp_conn_s *conn); #endif /**************************************************************************** - * Function: tcp_local_ipv6_device + * Name: tcp_local_ipv6_device * * Description: * Select the network driver to use with the IPv6 TCP transaction based @@ -476,7 +476,7 @@ int tcp_local_ipv6_device(FAR struct tcp_conn_s *conn); #endif /**************************************************************************** - * Function: tcp_remote_ipv6_device + * Name: tcp_remote_ipv6_device * * Description: * Select the network driver to use with the IPv6 TCP transaction based @@ -552,7 +552,7 @@ int tcp_bind(FAR struct tcp_conn_s *conn, FAR const struct sockaddr *addr); int tcp_connect(FAR struct tcp_conn_s *conn, FAR const struct sockaddr *addr); /**************************************************************************** - * Function: tcp_ipv4_select + * Name: tcp_ipv4_select * * Description: * Configure to send or receive an TCP IPv4 packet @@ -564,7 +564,7 @@ void tcp_ipv4_select(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: tcp_ipv6_select + * Name: tcp_ipv6_select * * Description: * Configure to send or receive an TCP IPv6 packet @@ -684,7 +684,7 @@ void tcp_timer(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, int hsec); /**************************************************************************** - * Function: tcp_listen_initialize + * Name: tcp_listen_initialize * * Description: * Setup the listening data structures @@ -698,7 +698,7 @@ void tcp_timer(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, void tcp_listen_initialize(void); /**************************************************************************** - * Function: tcp_unlisten + * Name: tcp_unlisten * * Description: * Stop listening to the port bound to the specified TCP connection @@ -711,7 +711,7 @@ void tcp_listen_initialize(void); int tcp_unlisten(FAR struct tcp_conn_s *conn); /**************************************************************************** - * Function: tcp_listen + * Name: tcp_listen * * Description: * Start listening to the port bound to the specified TCP connection @@ -724,7 +724,7 @@ int tcp_unlisten(FAR struct tcp_conn_s *conn); int tcp_listen(FAR struct tcp_conn_s *conn); /**************************************************************************** - * Function: tcp_islistener + * Name: tcp_islistener * * Description: * Return true is there is a listener for the specified port @@ -737,7 +737,7 @@ int tcp_listen(FAR struct tcp_conn_s *conn); bool tcp_islistener(uint16_t portno); /**************************************************************************** - * Function: tcp_accept_connection + * Name: tcp_accept_connection * * Description: * Accept the new connection for the specified listening port. @@ -903,7 +903,7 @@ void tcp_ipv6_input(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: tcp_callback + * Name: tcp_callback * * Description: * Inform the application holding the TCP socket of a change in state. @@ -917,7 +917,7 @@ uint16_t tcp_callback(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, uint16_t flags); /**************************************************************************** - * Function: tcp_datahandler + * Name: tcp_datahandler * * Description: * Handle data that is not accepted by the application. This may be called @@ -948,7 +948,7 @@ uint16_t tcp_datahandler(FAR struct tcp_conn_s *conn, FAR uint8_t *buffer, #endif /**************************************************************************** - * Function: tcp_backlogcreate + * Name: tcp_backlogcreate * * Description: * Called from the listen() logic to setup the backlog as specified in the @@ -966,7 +966,7 @@ int tcp_backlogcreate(FAR struct tcp_conn_s *conn, int nblg); #endif /**************************************************************************** - * Function: tcp_backlogdestroy + * Name: tcp_backlogdestroy * * Description: * (1) Called from tcp_free() whenever a connection is freed. @@ -987,7 +987,7 @@ int tcp_backlogdestroy(FAR struct tcp_conn_s *conn); #endif /**************************************************************************** - * Function: tcp_backlogadd + * Name: tcp_backlogadd * * Description: * Called tcp_listen when a new connection is made with a listener socket @@ -1007,7 +1007,7 @@ int tcp_backlogadd(FAR struct tcp_conn_s *conn, #endif /**************************************************************************** - * Function: tcp_backlogavailable + * Name: tcp_backlogavailable * * Description: * Called from poll(). Before waiting for a new connection, poll will @@ -1025,7 +1025,7 @@ bool tcp_backlogavailable(FAR struct tcp_conn_s *conn); #endif /**************************************************************************** - * Function: tcp_backlogremove + * Name: tcp_backlogremove * * Description: * Called from accept(). Before waiting for a new connection, accept will @@ -1043,7 +1043,7 @@ FAR struct tcp_conn_s *tcp_backlogremove(FAR struct tcp_conn_s *conn); #endif /**************************************************************************** - * Function: tcp_backlogdelete + * Name: tcp_backlogdelete * * Description: * Called from tcp_free() when a connection is freed that this also @@ -1063,7 +1063,7 @@ int tcp_backlogdelete(FAR struct tcp_conn_s *conn, #endif /**************************************************************************** - * Function: tcp_accept + * Name: tcp_accept * * Description: * This function implements accept() for TCP/IP sockets. See the @@ -1089,7 +1089,7 @@ int psock_tcp_accept(FAR struct socket *psock, FAR struct sockaddr *addr, FAR socklen_t *addrlen, FAR void **newconn); /**************************************************************************** - * Function: psock_tcp_send + * Name: psock_tcp_send * * Description: * The psock_tcp_send() call may be used only when the TCP socket is in a @@ -1150,7 +1150,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, size_t len); /**************************************************************************** - * Function: psock_tcp_cansend + * Name: psock_tcp_cansend * * Description: * psock_tcp_cansend() returns a value indicating if a write to the socket @@ -1179,7 +1179,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, int psock_tcp_cansend(FAR struct socket *psock); /**************************************************************************** - * Function: tcp_wrbuffer_initialize + * Name: tcp_wrbuffer_initialize * * Description: * Initialize the list of free write buffers @@ -1194,7 +1194,7 @@ void tcp_wrbuffer_initialize(void); #endif /* CONFIG_NET_TCP_WRITE_BUFFERS */ /**************************************************************************** - * Function: tcp_wrbuffer_alloc + * Name: tcp_wrbuffer_alloc * * Description: * Allocate a TCP write buffer by taking a pre-allocated buffer from @@ -1216,7 +1216,7 @@ FAR struct tcp_wrbuffer_s *tcp_wrbuffer_alloc(void); #endif /* CONFIG_NET_TCP_WRITE_BUFFERS */ /**************************************************************************** - * Function: tcp_wrbuffer_release + * Name: tcp_wrbuffer_release * * Description: * Release a TCP write buffer by returning the buffer to the free list. @@ -1233,7 +1233,7 @@ void tcp_wrbuffer_release(FAR struct tcp_wrbuffer_s *wrb); #endif /* CONFIG_NET_TCP_WRITE_BUFFERS */ /**************************************************************************** - * Function: tcp_wrbuffer_test + * Name: tcp_wrbuffer_test * * Description: * Check if there is room in the write buffer. Does not reserve any space. @@ -1248,7 +1248,7 @@ int tcp_wrbuffer_test(void); #endif /* CONFIG_NET_TCP_WRITE_BUFFERS */ /**************************************************************************** - * Function: tcp_wrbuffer_dump + * Name: tcp_wrbuffer_dump * * Description: * Dump the contents of a write buffer. @@ -1265,7 +1265,7 @@ void tcp_wrbuffer_dump(FAR const char *msg, FAR struct tcp_wrbuffer_s *wrb, #endif /* CONFIG_NET_TCP_WRITE_BUFFERS */ /**************************************************************************** - * Function: tcp_pollsetup + * Name: tcp_pollsetup * * Description: * Setup to monitor events on one TCP/IP socket @@ -1285,7 +1285,7 @@ int tcp_pollsetup(FAR struct socket *psock, FAR struct pollfd *fds); #endif /**************************************************************************** - * Function: tcp_pollteardown + * Name: tcp_pollteardown * * Description: * Teardown monitoring of events on an TCP/IP socket diff --git a/net/tcp/tcp_accept.c b/net/tcp/tcp_accept.c index 95d8bfbf401..ce186cd386a 100644 --- a/net/tcp/tcp_accept.c +++ b/net/tcp/tcp_accept.c @@ -74,7 +74,7 @@ struct accept_s ****************************************************************************/ /**************************************************************************** - * Function: accept_tcpsender + * Name: accept_tcpsender * * Description: * Get the sender's address from the UDP packet @@ -145,7 +145,7 @@ static inline void accept_tcpsender(FAR struct socket *psock, #endif /* CONFIG_NET_TCP */ /**************************************************************************** - * Function: accept_interrupt + * Name: accept_interrupt * * Description: * Receive interrupt level callbacks when connections occur @@ -203,7 +203,7 @@ static int accept_interrupt(FAR struct tcp_conn_s *listener, ****************************************************************************/ /**************************************************************************** - * Function: tcp_accept + * Name: tcp_accept * * Description: * This function implements accept() for TCP/IP sockets. See the diff --git a/net/tcp/tcp_backlog.c b/net/tcp/tcp_backlog.c index 252f04a0f8c..516596ee303 100644 --- a/net/tcp/tcp_backlog.c +++ b/net/tcp/tcp_backlog.c @@ -57,7 +57,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: tcp_backlogcreate + * Name: tcp_backlogcreate * * Description: * Called from the listen() logic to setup the backlog as specified in the @@ -139,7 +139,7 @@ int tcp_backlogcreate(FAR struct tcp_conn_s *conn, int nblg) } /**************************************************************************** - * Function: tcp_backlogdestroy + * Name: tcp_backlogdestroy * * Description: * (1) Called from tcp_free() whenever a connection is freed. @@ -203,7 +203,7 @@ int tcp_backlogdestroy(FAR struct tcp_conn_s *conn) } /**************************************************************************** - * Function: tcp_backlogadd + * Name: tcp_backlogadd * * Description: * Called tcp_listen when a new connection is made with a listener socket @@ -257,7 +257,7 @@ int tcp_backlogadd(FAR struct tcp_conn_s *conn, FAR struct tcp_conn_s *blconn) } /**************************************************************************** - * Function: tcp_backlogremove + * Name: tcp_backlogremove * * Description: * Called from poll(). Before waiting for a new connection, poll will @@ -276,7 +276,7 @@ bool tcp_backlogavailable(FAR struct tcp_conn_s *conn) #endif /**************************************************************************** - * Function: tcp_backlogremove + * Name: tcp_backlogremove * * Description: * Called from accept(). Before waiting for a new connection, accept will @@ -325,7 +325,7 @@ FAR struct tcp_conn_s *tcp_backlogremove(FAR struct tcp_conn_s *conn) } /**************************************************************************** - * Function: tcp_backlogdelete + * Name: tcp_backlogdelete * * Description: * Called from tcp_free() when a connection is freed that this also diff --git a/net/tcp/tcp_callback.c b/net/tcp/tcp_callback.c index 0feb41e68ae..5c467bae29f 100644 --- a/net/tcp/tcp_callback.c +++ b/net/tcp/tcp_callback.c @@ -58,7 +58,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: tcp_data_event + * Name: tcp_data_event * * Description: * Handle data that is not accepted by the application because there is no @@ -133,7 +133,7 @@ tcp_data_event(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: tcp_callback + * Name: tcp_callback * * Description: * Inform the application holding the TCP socket of a change in state. @@ -205,7 +205,7 @@ uint16_t tcp_callback(FAR struct net_driver_s *dev, } /**************************************************************************** - * Function: tcp_datahandler + * Name: tcp_datahandler * * Description: * Handle data that is not accepted by the application. This may be called diff --git a/net/tcp/tcp_finddev.c b/net/tcp/tcp_finddev.c index e3cf0b32884..54caf9600e8 100644 --- a/net/tcp/tcp_finddev.c +++ b/net/tcp/tcp_finddev.c @@ -54,7 +54,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: tcp_find_ipv4_device + * Name: tcp_find_ipv4_device * * Description: * Select the network driver to use with the IPv4 TCP connection. @@ -112,7 +112,7 @@ static int tcp_find_ipv4_device(FAR struct tcp_conn_s *conn, in_addr_t addr) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: tcp_find_ipv6_device + * Name: tcp_find_ipv6_device * * Description: * Select the network driver to use with the IPv6 TCP transaction. @@ -175,7 +175,7 @@ static int tcp_find_ipv6_device(FAR struct tcp_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: tcp_local_ipv4_device + * Name: tcp_local_ipv4_device * * Description: * Select the network driver to use with the IPv4 TCP transaction based @@ -203,7 +203,7 @@ int tcp_local_ipv4_device(FAR struct tcp_conn_s *conn) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: tcp_remote_ipv4_device + * Name: tcp_remote_ipv4_device * * Description: * Select the network driver to use with the IPv4 TCP transaction based @@ -227,7 +227,7 @@ int tcp_remote_ipv4_device(FAR struct tcp_conn_s *conn) #endif /**************************************************************************** - * Function: tcp_local_ipv6_device + * Name: tcp_local_ipv6_device * * Description: * Select the network driver to use with the IPv6 TCP transaction. @@ -254,7 +254,7 @@ int tcp_local_ipv6_device(FAR struct tcp_conn_s *conn) #endif /* CONFIG_NET_IPv6 */ /**************************************************************************** - * Function: tcp_remote_ipv6_device + * Name: tcp_remote_ipv6_device * * Description: * Select the network driver to use with the IPv6 TCP transaction based diff --git a/net/tcp/tcp_ipselect.c b/net/tcp/tcp_ipselect.c index a2570c34b00..dc726c01cb3 100644 --- a/net/tcp/tcp_ipselect.c +++ b/net/tcp/tcp_ipselect.c @@ -54,7 +54,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: tcp_ipv4_select + * Name: tcp_ipv4_select * * Description: * Configure to send or receive an TCP IPv4 packet @@ -75,7 +75,7 @@ void tcp_ipv4_select(FAR struct net_driver_s *dev) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: tcp_ipv6_select + * Name: tcp_ipv6_select * * Description: * Configure to send or receive an TCP IPv6 packet diff --git a/net/tcp/tcp_listen.c b/net/tcp/tcp_listen.c index 8a10fd9b57f..f7d771d2b6d 100644 --- a/net/tcp/tcp_listen.c +++ b/net/tcp/tcp_listen.c @@ -67,7 +67,7 @@ static FAR struct tcp_conn_s *tcp_listenports[CONFIG_NET_MAX_LISTENPORTS]; ****************************************************************************/ /**************************************************************************** - * Function: tcp_findlistener + * Name: tcp_findlistener * * Description: * Return the connection listener for connections on this port (if any) @@ -108,7 +108,7 @@ FAR struct tcp_conn_s *tcp_findlistener(uint16_t portno) ****************************************************************************/ /**************************************************************************** - * Function: tcp_listen_initialize + * Name: tcp_listen_initialize * * Description: * Setup the listening data structures @@ -129,7 +129,7 @@ void tcp_listen_initialize(void) } /**************************************************************************** - * Function: tcp_unlisten + * Name: tcp_unlisten * * Description: * Stop listening to the port bound to the specified TCP connection @@ -160,7 +160,7 @@ int tcp_unlisten(FAR struct tcp_conn_s *conn) } /**************************************************************************** - * Function: tcp_listen + * Name: tcp_listen * * Description: * Start listening to the port bound to the specified TCP connection @@ -219,7 +219,7 @@ int tcp_listen(FAR struct tcp_conn_s *conn) } /**************************************************************************** - * Function: tcp_islistener + * Name: tcp_islistener * * Description: * Return true is there is a listener for the specified port @@ -235,7 +235,7 @@ bool tcp_islistener(uint16_t portno) } /**************************************************************************** - * Function: tcp_accept_connection + * Name: tcp_accept_connection * * Description: * Accept the new connection for the specified listening port. diff --git a/net/tcp/tcp_netpoll.c b/net/tcp/tcp_netpoll.c index 733c8c89e8d..f099a57c66d 100644 --- a/net/tcp/tcp_netpoll.c +++ b/net/tcp/tcp_netpoll.c @@ -69,7 +69,7 @@ struct tcp_poll_s ****************************************************************************/ /**************************************************************************** - * Function: tcp_poll_interrupt + * Name: tcp_poll_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -144,7 +144,7 @@ static uint16_t tcp_poll_interrupt(FAR struct net_driver_s *dev, FAR void *conn, ****************************************************************************/ /**************************************************************************** - * Function: tcp_pollsetup + * Name: tcp_pollsetup * * Description: * Setup to monitor events on one TCP/IP socket @@ -305,7 +305,7 @@ errout_with_lock: } /**************************************************************************** - * Function: tcp_pollteardown + * Name: tcp_pollteardown * * Description: * Teardown monitoring of events on an TCP/IP socket diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index 52a21d72e97..4000d694dfe 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -106,7 +106,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_insert_segment + * Name: psock_insert_segment * * Description: * Insert a new segment in a write buffer queue, keep the segment queue in @@ -155,7 +155,7 @@ static void psock_insert_segment(FAR struct tcp_wrbuffer_s *wrb, } /**************************************************************************** - * Function: psock_lost_connection + * Name: psock_lost_connection * * Description: * The TCP connection has been lost. Free all write buffers. @@ -206,7 +206,7 @@ static inline void psock_lost_connection(FAR struct socket *psock, } /**************************************************************************** - * Function: send_ipselect + * Name: send_ipselect * * Description: * If both IPv4 and IPv6 support are enabled, then we will need to select @@ -249,7 +249,7 @@ static inline void send_ipselect(FAR struct net_driver_s *dev, #endif /**************************************************************************** - * Function: psock_send_addrchck + * Name: psock_send_addrchck * * Description: * Check if the destination IP address is in the IPv4 ARP or IPv6 Neighbor @@ -312,7 +312,7 @@ static inline bool psock_send_addrchck(FAR struct tcp_conn_s *conn) #endif /* CONFIG_NET_ETHERNET */ /**************************************************************************** - * Function: psock_send_interrupt + * Name: psock_send_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -828,7 +828,7 @@ static uint16_t psock_send_interrupt(FAR struct net_driver_s *dev, } /**************************************************************************** - * Function: send_txnotify + * Name: send_txnotify * * Description: * Notify the appropriate device driver that we are have data ready to @@ -887,7 +887,7 @@ static inline void send_txnotify(FAR struct socket *psock, ****************************************************************************/ /**************************************************************************** - * Function: psock_tcp_send + * Name: psock_tcp_send * * Description: * psock_tcp_send() call may be used only when the TCP socket is in a @@ -1119,7 +1119,7 @@ errout: } /**************************************************************************** - * Function: psock_tcp_cansend + * Name: psock_tcp_cansend * * Description: * psock_tcp_cansend() returns a value indicating if a write to the socket diff --git a/net/tcp/tcp_send_unbuffered.c b/net/tcp/tcp_send_unbuffered.c index 5a2ccc98c42..9571819952e 100644 --- a/net/tcp/tcp_send_unbuffered.c +++ b/net/tcp/tcp_send_unbuffered.c @@ -117,7 +117,7 @@ struct send_s ****************************************************************************/ /**************************************************************************** - * Function: send_timeout + * Name: send_timeout * * Description: * Check for send timeout. @@ -157,7 +157,7 @@ static inline int send_timeout(FAR struct send_s *pstate) #endif /* CONFIG_NET_SOCKOPTS */ /**************************************************************************** - * Function: tcpsend_ipselect + * Name: tcpsend_ipselect * * Description: * If both IPv4 and IPv6 support are enabled, then we will need to select @@ -200,7 +200,7 @@ static inline void tcpsend_ipselect(FAR struct net_driver_s *dev, #endif /**************************************************************************** - * Function: psock_send_addrchck + * Name: psock_send_addrchck * * Description: * Check if the destination IP address is in the IPv4 ARP or IPv6 Neighbor @@ -263,7 +263,7 @@ static inline bool psock_send_addrchck(FAR struct tcp_conn_s *conn) #endif /* CONFIG_NET_ETHERNET */ /**************************************************************************** - * Function: tcpsend_interrupt + * Name: tcpsend_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -597,7 +597,7 @@ end_wait: } /**************************************************************************** - * Function: send_txnotify + * Name: send_txnotify * * Description: * Notify the appropriate device driver that we are have data ready to @@ -656,7 +656,7 @@ static inline void send_txnotify(FAR struct socket *psock, ****************************************************************************/ /**************************************************************************** - * Function: psock_tcp_send + * Name: psock_tcp_send * * Description: * psock_tcp_send() call may be used only when the TCP socket is in a @@ -884,7 +884,7 @@ errout: } /**************************************************************************** - * Function: psock_tcp_cansend + * Name: psock_tcp_cansend * * Description: * psock_tcp_cansend() returns a value indicating if a write to the socket diff --git a/net/tcp/tcp_wrbuffer.c b/net/tcp/tcp_wrbuffer.c index 7662df8bbc3..a74ee6f3a1f 100644 --- a/net/tcp/tcp_wrbuffer.c +++ b/net/tcp/tcp_wrbuffer.c @@ -93,7 +93,7 @@ static struct wrbuffer_s g_wrbuffer; ****************************************************************************/ /**************************************************************************** - * Function: tcp_wrbuffer_initialize + * Name: tcp_wrbuffer_initialize * * Description: * Initialize the list of free write buffers @@ -118,7 +118,7 @@ void tcp_wrbuffer_initialize(void) } /**************************************************************************** - * Function: tcp_wrbuffer_alloc + * Name: tcp_wrbuffer_alloc * * Description: * Allocate a TCP write buffer by taking a pre-allocated buffer from @@ -169,7 +169,7 @@ FAR struct tcp_wrbuffer_s *tcp_wrbuffer_alloc(void) } /**************************************************************************** - * Function: tcp_wrbuffer_release + * Name: tcp_wrbuffer_release * * Description: * Release a TCP write buffer by returning the buffer to the free list. @@ -198,7 +198,7 @@ void tcp_wrbuffer_release(FAR struct tcp_wrbuffer_s *wrb) } /**************************************************************************** - * Function: tcp_wrbuffer_test + * Name: tcp_wrbuffer_test * * Description: * Check if there is room in the write buffer. Does not reserve any space. diff --git a/net/udp/udp.h b/net/udp/udp.h index c0208531099..73ac15fbafa 100644 --- a/net/udp/udp.h +++ b/net/udp/udp.h @@ -228,7 +228,7 @@ int udp_bind(FAR struct udp_conn_s *conn, FAR const struct sockaddr *addr); int udp_connect(FAR struct udp_conn_s *conn, FAR const struct sockaddr *addr); /**************************************************************************** - * Function: udp_ipv4_select + * Name: udp_ipv4_select * * Description: * Configure to send or receive an UDP IPv4 packet @@ -240,7 +240,7 @@ void udp_ipv4_select(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: udp_ipv6_select + * Name: udp_ipv6_select * * Description: * Configure to send or receive an UDP IPv6 packet @@ -338,7 +338,7 @@ int udp_ipv6_input(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Function: udp_find_ipv4_device + * Name: udp_find_ipv4_device * * Description: * Select the network driver to use with the IPv4 UDP transaction. @@ -358,7 +358,7 @@ FAR struct net_driver_s *udp_find_ipv4_device(FAR struct udp_conn_s *conn, #endif /**************************************************************************** - * Function: udp_find_ipv6_device + * Name: udp_find_ipv6_device * * Description: * Select the network driver to use with the IPv6 UDP transaction. @@ -378,7 +378,7 @@ FAR struct net_driver_s *udp_find_ipv6_device(FAR struct udp_conn_s *conn, #endif /**************************************************************************** - * Function: udp_find_laddr_device + * Name: udp_find_laddr_device * * Description: * Select the network driver to use with the UDP transaction using the @@ -395,7 +395,7 @@ FAR struct net_driver_s *udp_find_ipv6_device(FAR struct udp_conn_s *conn, FAR struct net_driver_s *udp_find_laddr_device(FAR struct udp_conn_s *conn); /**************************************************************************** - * Function: udp_find_raddr_device + * Name: udp_find_raddr_device * * Description: * Select the network driver to use with the UDP transaction using the @@ -412,7 +412,7 @@ FAR struct net_driver_s *udp_find_laddr_device(FAR struct udp_conn_s *conn); FAR struct net_driver_s *udp_find_raddr_device(FAR struct udp_conn_s *conn); /**************************************************************************** - * Function: udp_callback + * Name: udp_callback * * Description: * Inform the application holding the UDP socket of a change in state. @@ -429,7 +429,7 @@ uint16_t udp_callback(FAR struct net_driver_s *dev, FAR struct udp_conn_s *conn, uint16_t flags); /**************************************************************************** - * Function: psock_udp_send + * Name: psock_udp_send * * Description: * Implements send() for connected UDP sockets @@ -440,7 +440,7 @@ ssize_t psock_udp_send(FAR struct socket *psock, FAR const void *buf, size_t len); /**************************************************************************** - * Function: psock_udp_sendto + * Name: psock_udp_sendto * * Description: * This function implements the UDP-specific logic of the standard @@ -469,7 +469,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf, socklen_t tolen); /**************************************************************************** - * Function: udp_pollsetup + * Name: udp_pollsetup * * Description: * Setup to monitor events on one UDP/IP socket @@ -489,7 +489,7 @@ int udp_pollsetup(FAR struct socket *psock, FAR struct pollfd *fds); #endif /**************************************************************************** - * Function: udp_pollteardown + * Name: udp_pollteardown * * Description: * Teardown monitoring of events on an UDP/IP socket diff --git a/net/udp/udp_callback.c b/net/udp/udp_callback.c index 52caaea5435..6a763f79bc9 100644 --- a/net/udp/udp_callback.c +++ b/net/udp/udp_callback.c @@ -67,7 +67,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: udp_datahandler + * Name: udp_datahandler * * Description: * Handle the receipt of UDP data by adding the newly received packet to @@ -230,7 +230,7 @@ static uint16_t udp_datahandler(FAR struct net_driver_s *dev, FAR struct udp_con #endif /* CONFIG_NET_UDP_READAHEAD */ /**************************************************************************** - * Function: net_dataevent + * Name: net_dataevent * * Description: * Handling the network UDP_NEWDATA event. @@ -287,7 +287,7 @@ net_dataevent(FAR struct net_driver_s *dev, FAR struct udp_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: udp_callback + * Name: udp_callback * * Description: * Inform the application holding the UDP socket of a change in state. diff --git a/net/udp/udp_finddev.c b/net/udp/udp_finddev.c index c943ab37964..96262dfb6c7 100644 --- a/net/udp/udp_finddev.c +++ b/net/udp/udp_finddev.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: udp_find_ipv4_device + * Name: udp_find_ipv4_device * * Description: * Select the network driver to use with the IPv4 UDP transaction. @@ -102,7 +102,7 @@ FAR struct net_driver_s *udp_find_ipv4_device(FAR struct udp_conn_s *conn, #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: udp_find_ipv6_device + * Name: udp_find_ipv6_device * * Description: * Select the network driver to use with the IPv6 UDP transaction. @@ -151,7 +151,7 @@ FAR struct net_driver_s *udp_find_ipv6_device(FAR struct udp_conn_s *conn, #endif /* CONFIG_NET_IPv6 */ /**************************************************************************** - * Function: udp_find_laddr_device + * Name: udp_find_laddr_device * * Description: * Select the network driver to use with the UDP transaction using the @@ -200,7 +200,7 @@ FAR struct net_driver_s *udp_find_laddr_device(FAR struct udp_conn_s *conn) } /**************************************************************************** - * Function: udp_find_raddr_device + * Name: udp_find_raddr_device * * Description: * Select the network driver to use with the UDP transaction using the diff --git a/net/udp/udp_ipselect.c b/net/udp/udp_ipselect.c index 286e7961027..bb5a91bcb2e 100644 --- a/net/udp/udp_ipselect.c +++ b/net/udp/udp_ipselect.c @@ -55,7 +55,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: udp_ipv4_select + * Name: udp_ipv4_select * * Description: * Configure to send or receive an UDP IPv4 packet @@ -76,7 +76,7 @@ void udp_ipv4_select(FAR struct net_driver_s *dev) #endif /* CONFIG_NET_IPv4 */ /**************************************************************************** - * Function: udp_ipv6_select + * Name: udp_ipv6_select * * Description: * Configure to send or receive an UDP IPv6 packet diff --git a/net/udp/udp_netpoll.c b/net/udp/udp_netpoll.c index 6dd873aaec0..7bc31ced643 100644 --- a/net/udp/udp_netpoll.c +++ b/net/udp/udp_netpoll.c @@ -69,7 +69,7 @@ struct udp_poll_s ****************************************************************************/ /**************************************************************************** - * Function: udp_poll_interrupt + * Name: udp_poll_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -141,7 +141,7 @@ static uint16_t udp_poll_interrupt(FAR struct net_driver_s *dev, FAR void *conn, ****************************************************************************/ /**************************************************************************** - * Function: udp_pollsetup + * Name: udp_pollsetup * * Description: * Setup to monitor events on one UDP/IP socket @@ -271,7 +271,7 @@ errout_with_lock: } /**************************************************************************** - * Function: udp_pollteardown + * Name: udp_pollteardown * * Description: * Teardown monitoring of events on an UDP/IP socket diff --git a/net/udp/udp_psock_send.c b/net/udp/udp_psock_send.c index c701fe064d7..4c5ee0cf859 100644 --- a/net/udp/udp_psock_send.c +++ b/net/udp/udp_psock_send.c @@ -54,7 +54,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: psock_udp_send + * Name: psock_udp_send * * Description: * Implements send() for connected UDP sockets diff --git a/net/udp/udp_psock_sendto.c b/net/udp/udp_psock_sendto.c index 84564f8a7e2..a7b7a9d0322 100644 --- a/net/udp/udp_psock_sendto.c +++ b/net/udp/udp_psock_sendto.c @@ -114,7 +114,7 @@ struct sendto_s ****************************************************************************/ /**************************************************************************** - * Function: send_timeout + * Name: send_timeout * * Description: * Check for send timeout. @@ -154,7 +154,7 @@ static inline int send_timeout(FAR struct sendto_s *pstate) #endif /* CONFIG_NET_SENDTO_TIMEOUT */ /**************************************************************************** - * Function: sendto_ipselect + * Name: sendto_ipselect * * Description: * If both IPv4 and IPv6 support are enabled, then we will need to select @@ -200,7 +200,7 @@ static inline void sendto_ipselect(FAR struct net_driver_s *dev, #endif /**************************************************************************** - * Function: sendto_interrupt + * Name: sendto_interrupt * * Description: * This function is called from the interrupt level to perform the actual @@ -309,7 +309,7 @@ static uint16_t sendto_interrupt(FAR struct net_driver_s *dev, FAR void *conn, ****************************************************************************/ /**************************************************************************** - * Function: psock_udp_sendto + * Name: psock_udp_sendto * * Description: * This function implements the UDP-specific logic of the standard diff --git a/net/usrsock/usrsock_close.c b/net/usrsock/usrsock_close.c index bb6f052732f..89338928110 100644 --- a/net/usrsock/usrsock_close.c +++ b/net/usrsock/usrsock_close.c @@ -127,7 +127,7 @@ static int do_close_request(FAR struct usrsock_conn_s *conn) ****************************************************************************/ /**************************************************************************** - * Function: usrsock_close + * Name: usrsock_close * * Description: * diff --git a/net/usrsock/usrsock_event.c b/net/usrsock/usrsock_event.c index d16fb04fc9c..87ca8598c2f 100644 --- a/net/usrsock/usrsock_event.c +++ b/net/usrsock/usrsock_event.c @@ -61,7 +61,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: usrsock_event + * Name: usrsock_event * * Description: * Handler for received connection events diff --git a/net/usrsock/usrsock_getsockname.c b/net/usrsock/usrsock_getsockname.c index 5049ab8d213..085f28ed653 100644 --- a/net/usrsock/usrsock_getsockname.c +++ b/net/usrsock/usrsock_getsockname.c @@ -168,7 +168,7 @@ static void setup_conn_getsockname(FAR struct usrsock_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_getsockname + * Name: usrsock_getsockname * * Description: * The getsockname() function retrieves the locally-bound name of the diff --git a/net/usrsock/usrsock_getsockopt.c b/net/usrsock/usrsock_getsockopt.c index f4a8ccb0d46..a3ca0a1594f 100644 --- a/net/usrsock/usrsock_getsockopt.c +++ b/net/usrsock/usrsock_getsockopt.c @@ -177,7 +177,7 @@ static void setup_conn_getsockopt(FAR struct usrsock_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_getsockopt + * Name: usrsock_getsockopt * * Description: * getsockopt() retrieve thse value for the option specified by the diff --git a/net/usrsock/usrsock_poll.c b/net/usrsock/usrsock_poll.c index 41860f4d7f8..4af267766b7 100644 --- a/net/usrsock/usrsock_poll.c +++ b/net/usrsock/usrsock_poll.c @@ -152,7 +152,7 @@ static uint16_t poll_event(FAR struct net_driver_s *dev, FAR void *pvconn, } /**************************************************************************** - * Function: usrsock_poll + * Name: usrsock_poll * * Description: * Setup to monitor events on an usrsock socket @@ -299,7 +299,7 @@ errout_unlock: } /**************************************************************************** - * Function: usrsock_pollteardown + * Name: usrsock_pollteardown * * Description: * Teardown monitoring of events on an usrsock socket @@ -357,7 +357,7 @@ static int usrsock_pollteardown(FAR struct socket *psock, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_poll + * Name: usrsock_poll * * Description: * The standard poll() operation redirects operations on socket descriptors diff --git a/net/usrsock/usrsock_recvfrom.c b/net/usrsock/usrsock_recvfrom.c index d97cba5c3a9..271210d88a0 100644 --- a/net/usrsock/usrsock_recvfrom.c +++ b/net/usrsock/usrsock_recvfrom.c @@ -214,7 +214,7 @@ static void setup_conn_recvfrom(FAR struct usrsock_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_recvfrom + * Name: usrsock_recvfrom * * Description: * recvfrom() receives messages from a socket, and may be used to receive diff --git a/net/usrsock/usrsock_sendto.c b/net/usrsock/usrsock_sendto.c index dc747d451cf..9e27eb6a8f5 100644 --- a/net/usrsock/usrsock_sendto.c +++ b/net/usrsock/usrsock_sendto.c @@ -189,7 +189,7 @@ static int do_sendto_request(FAR struct usrsock_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_sendto + * Name: usrsock_sendto * * Description: * If sendto() is used on a connection-mode (SOCK_STREAM, SOCK_SEQPACKET) diff --git a/net/usrsock/usrsock_setsockopt.c b/net/usrsock/usrsock_setsockopt.c index 5795fdee948..3dbd078ac2d 100644 --- a/net/usrsock/usrsock_setsockopt.c +++ b/net/usrsock/usrsock_setsockopt.c @@ -151,7 +151,7 @@ static int do_setsockopt_request(FAR struct usrsock_conn_s *conn, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_setsockopt + * Name: usrsock_setsockopt * * Description: * psock_setsockopt() sets the option specified by the 'option' argument, diff --git a/net/usrsock/usrsock_socket.c b/net/usrsock/usrsock_socket.c index 71764befea6..63c4424f280 100644 --- a/net/usrsock/usrsock_socket.c +++ b/net/usrsock/usrsock_socket.c @@ -153,7 +153,7 @@ static int do_socket_request(FAR struct usrsock_conn_s *conn, int domain, ****************************************************************************/ /**************************************************************************** - * Function: usrsock_socket + * Name: usrsock_socket * * Description: * socket() creates an endpoint for communication and returns a socket diff --git a/net/utils/net_dsec2tick.c b/net/utils/net_dsec2tick.c index 96a28db0050..ed6a2d629e4 100644 --- a/net/utils/net_dsec2tick.c +++ b/net/utils/net_dsec2tick.c @@ -45,7 +45,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_dsec2tick + * Name: net_dsec2tick * * Description: * Convert a decisecond value to a system clock ticks. Used by IGMP logic. diff --git a/net/utils/net_dsec2timeval.c b/net/utils/net_dsec2timeval.c index b454844fa66..6700a08b3d2 100644 --- a/net/utils/net_dsec2timeval.c +++ b/net/utils/net_dsec2timeval.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_dsec2timeval + * Name: net_dsec2timeval * * Description: * Convert a decisecond timeout value to a struct timeval. Needed by diff --git a/net/utils/net_ipv6_maskcmp.c b/net/utils/net_ipv6_maskcmp.c index a5165e48170..61aee45de85 100644 --- a/net/utils/net_ipv6_maskcmp.c +++ b/net/utils/net_ipv6_maskcmp.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_ipv6addr_maskcmp + * Name: net_ipv6addr_maskcmp * * Description: * Compare two IPv6 addresses under a netmask. The mask is used to mask diff --git a/net/utils/net_ipv6_pref2mask.c b/net/utils/net_ipv6_pref2mask.c index 40a1eb8dd6c..6b046354131 100644 --- a/net/utils/net_ipv6_pref2mask.c +++ b/net/utils/net_ipv6_pref2mask.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_ipv6_pref2mask + * Name: net_ipv6_pref2mask * * Description: * Convert a IPv6 prefix length to a network mask. The prefix length diff --git a/net/utils/net_lock.c b/net/utils/net_lock.c index fbd42342aee..8ad8c38cb1a 100644 --- a/net/utils/net_lock.c +++ b/net/utils/net_lock.c @@ -70,7 +70,7 @@ static unsigned int g_count = 0; ****************************************************************************/ /**************************************************************************** - * Function: _net_takesem + * Name: _net_takesem * * Description: * Take the semaphore @@ -94,7 +94,7 @@ static void _net_takesem(void) ****************************************************************************/ /**************************************************************************** - * Function: net_lockinitialize + * Name: net_lockinitialize * * Description: * Initialize the locking facility @@ -107,7 +107,7 @@ void net_lockinitialize(void) } /**************************************************************************** - * Function: net_lock + * Name: net_lock * * Description: * Take the lock @@ -140,7 +140,7 @@ void net_lock(void) } /**************************************************************************** - * Function: net_unlock + * Name: net_unlock * * Description: * Release the lock. @@ -170,7 +170,7 @@ void net_unlock(void) } /**************************************************************************** - * Function: net_timedwait + * Name: net_timedwait * * Description: * Atomically wait for sem (or a timeout( while temporarily releasing @@ -237,7 +237,7 @@ int net_timedwait(sem_t *sem, FAR const struct timespec *abstime) } /**************************************************************************** - * Function: net_lockedwait + * Name: net_lockedwait * * Description: * Atomically wait for sem while temporarily releasing g_netlock. diff --git a/net/utils/net_timeval2dsec.c b/net/utils/net_timeval2dsec.c index a08a17e964f..1cd39f78a8f 100644 --- a/net/utils/net_timeval2dsec.c +++ b/net/utils/net_timeval2dsec.c @@ -50,7 +50,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: net_timeval2dsec + * Name: net_timeval2dsec * * Description: * Convert a struct timeval to deciseconds. Needed by setsockopt() to diff --git a/net/utils/utils.h b/net/utils/utils.h index ffeca8c3f69..0b14be5585b 100644 --- a/net/utils/utils.h +++ b/net/utils/utils.h @@ -77,7 +77,7 @@ struct net_driver_s; /* Forward reference */ struct timeval; /* Forward reference */ /**************************************************************************** - * Function: net_lockinitialize + * Name: net_lockinitialize * * Description: * Initialize the locking facility @@ -87,7 +87,7 @@ struct timeval; /* Forward reference */ void net_lockinitialize(void); /**************************************************************************** - * Function: net_dsec2timeval + * Name: net_dsec2timeval * * Description: * Convert a decisecond value to a struct timeval. Needed by getsockopt() @@ -107,7 +107,7 @@ void net_lockinitialize(void); void net_dsec2timeval(uint16_t dsec, FAR struct timeval *tv); /**************************************************************************** - * Function: net_dsec2tick + * Name: net_dsec2tick * * Description: * Convert a decisecond value to a system clock ticks. Used by IGMP logic. @@ -123,7 +123,7 @@ void net_dsec2timeval(uint16_t dsec, FAR struct timeval *tv); unsigned int net_dsec2tick(int dsec); /**************************************************************************** - * Function: net_timeval2dsec + * Name: net_timeval2dsec * * Description: * Convert a struct timeval to deciseconds. Needed by setsockopt() to @@ -172,7 +172,7 @@ uint8_t net_ipv6_mask2pref(FAR const uint16_t *mask); #endif /**************************************************************************** - * Function: net_ipv6_pref2mask + * Name: net_ipv6_pref2mask * * Description: * Convert a IPv6 prefix length to a network mask. The prefix length diff --git a/sched/mqueue/mq_getattr.c b/sched/mqueue/mq_getattr.c index 3c0725320fe..b1475b68462 100644 --- a/sched/mqueue/mq_getattr.c +++ b/sched/mqueue/mq_getattr.c @@ -47,7 +47,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: mq_getattr + * Name: mq_getattr * * Description: * This functions gets status information and attributes diff --git a/sched/mqueue/mq_setattr.c b/sched/mqueue/mq_setattr.c index 71fe8df7287..de238e4601b 100644 --- a/sched/mqueue/mq_setattr.c +++ b/sched/mqueue/mq_setattr.c @@ -49,7 +49,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: mq_setattr + * Name: mq_setattr * * Description: * This function sets the attributes associated with the diff --git a/sched/sched/sched_cpuload.c b/sched/sched/sched_cpuload.c index af8f90c72a9..f236c2c50b8 100644 --- a/sched/sched/sched_cpuload.c +++ b/sched/sched/sched_cpuload.c @@ -219,7 +219,7 @@ void weak_function sched_process_cpuload(void) } /**************************************************************************** - * Function: clock_cpuload + * Name: clock_cpuload * * Description: * Return load measurement data for the select PID. diff --git a/sched/semaphore/sem_setprotocol.c b/sched/semaphore/sem_setprotocol.c index 1350206941b..6f015bea4cb 100644 --- a/sched/semaphore/sem_setprotocol.c +++ b/sched/semaphore/sem_setprotocol.c @@ -53,7 +53,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: sem_setprotocol + * Name: sem_setprotocol * * Description: * Set semaphore protocol attribute. diff --git a/wireless/ieee802154/mac802154_loopback.c b/wireless/ieee802154/mac802154_loopback.c index 71255f0d604..31b72dca404 100644 --- a/wireless/ieee802154/mac802154_loopback.c +++ b/wireless/ieee802154/mac802154_loopback.c @@ -135,7 +135,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac); ****************************************************************************/ /**************************************************************************** - * Function: lo_txpoll + * Name: lo_txpoll * * Description: * Check if the network has any outgoing packets ready to send. This is @@ -263,7 +263,7 @@ static int lo_txpoll(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_poll_work + * Name: lo_poll_work * * Description: * Perform periodic polling from the worker thread @@ -306,7 +306,7 @@ static void lo_poll_work(FAR void *arg) } /**************************************************************************** - * Function: lo_poll_expiry + * Name: lo_poll_expiry * * Description: * Periodic timer handler. Called from the timer interrupt handler. @@ -338,7 +338,7 @@ static void lo_poll_expiry(int argc, wdparm_t arg, ...) } /**************************************************************************** - * Function: lo_ifup + * Name: lo_ifup * * Description: * NuttX Callback: Bring up the Ethernet interface when an IP address is @@ -386,7 +386,7 @@ static int lo_ifup(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_ifdown + * Name: lo_ifdown * * Description: * NuttX Callback: Stop the interface. @@ -418,7 +418,7 @@ static int lo_ifdown(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_txavail_work + * Name: lo_txavail_work * * Description: * Perform an out-of-cycle poll on the worker thread. @@ -459,7 +459,7 @@ static void lo_txavail_work(FAR void *arg) } /**************************************************************************** - * Function: lo_txavail + * Name: lo_txavail * * Description: * Driver callback invoked when new TX data is available. This is a @@ -499,7 +499,7 @@ static int lo_txavail(FAR struct net_driver_s *dev) } /**************************************************************************** - * Function: lo_addmac + * Name: lo_addmac * * Description: * NuttX Callback: Add the specified MAC address to the hardware multicast @@ -534,7 +534,7 @@ static int lo_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) #endif /**************************************************************************** - * Function: lo_rmmac + * Name: lo_rmmac * * Description: * NuttX Callback: Remove the specified MAC address from the hardware multicast @@ -573,7 +573,7 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac) ****************************************************************************/ /**************************************************************************** - * Function: ieee8021514_loopback + * Name: ieee8021514_loopback * * Description: * Initialize and register the Ieee802.15.4 MAC loopback network driver.