gen: Typo correction

This commit fixes various typos in the pf-ring source modules.

Issue: 5975
pull/8787/head
Jeff Lucovsky 2 years ago committed by Victor Julien
parent 4f7a36ac2e
commit e26e7b4f0a

@ -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

@ -157,7 +157,7 @@ struct PfringThreadVars_
};
/**
* \brief Registration Function for RecievePfring.
* \brief Registration Function for ReceivePfring.
* \todo Unit tests are needed for this module.
*/
void TmModuleReceivePfringRegister (void)
@ -330,9 +330,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
@ -473,9 +473,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
@ -627,7 +627,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)) {
@ -745,7 +745,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

Loading…
Cancel
Save