From: Jeff Lucovsky Date: Sun, 16 Apr 2023 12:40:42 +0000 (-0400) Subject: gen: Typo correction X-Git-Tag: suricata-6.0.12~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d782647af8c4c11376a9539e5f538437bb2f7326;p=thirdparty%2Fsuricata.git gen: Typo correction This commit fixes various typos in the pf-ring source modules. Issue: 5975 (cherry picked from commit e26e7b4f0aa0e7b019e24e51b1dc8b2c2368a38a) --- diff --git a/src/runmode-pfring.c b/src/runmode-pfring.c index 146e898bba..ecf22a4b31 100644 --- a/src/runmode-pfring.c +++ b/src/runmode-pfring.c @@ -85,7 +85,7 @@ static void PfringDerefConfig(void *conf) * to thread or to reparse the file for each thread (and thus have * new structure. * - * If old config system is used, then return the smae parameters + * If old config system is used, then return the same parameters * value for each interface. * * \return a PfringIfaceConfig corresponding to the interface name diff --git a/src/source-pfring.c b/src/source-pfring.c index 36e10d4218..ece550bd85 100644 --- a/src/source-pfring.c +++ b/src/source-pfring.c @@ -155,7 +155,7 @@ struct PfringThreadVars_ }; /** - * \brief Registration Function for RecievePfring. + * \brief Registration Function for ReceivePfring. * \todo Unit tests are needed for this module. */ void TmModuleReceivePfringRegister (void) @@ -327,9 +327,9 @@ static int PfringBypassCallback(Packet *p) #endif /** - * \brief Recieves packets from an interface via libpfring. + * \brief Receives packets from an interface via libpfring. * - * This function recieves packets from an interface and passes + * This function receives packets from an interface and passes * the packet on to the pfring callback function. * * \param tv pointer to ThreadVars @@ -466,9 +466,9 @@ TmEcode PfringBreakLoop(ThreadVars *tv, void *data) } /** - * \brief Init function for RecievePfring. + * \brief Init function for ReceivePfring. * - * This is a setup function for recieving packets + * This is a setup function for receiving packets * via libpfring. * * \param tv pointer to ThreadVars @@ -622,7 +622,7 @@ TmEcode ReceivePfringThreadInit(ThreadVars *tv, const void *initdata, void **dat #endif /* If kernel is older than 3.0, VLAN is not stripped so we don't - * get the info from packt extended header but we will use a standard + * get the info from packet extended header but we will use a standard * parsing */ ptv->vlan_in_ext_header = 1; if (! SCKernelVersionIsAtLeast(3, 0)) { @@ -737,7 +737,7 @@ TmEcode DecodePfring(ThreadVars *tv, Packet *p, void *data) * \brief This an Init function for DecodePfring * * \param tv pointer to ThreadVars - * \param initdata pointer to initilization data. + * \param initdata pointer to initialization data. * \param data pointer that gets cast into PfringThreadVars for ptv * \retval TM_ECODE_OK is returned on success * \retval TM_ECODE_FAILED is returned on error