mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Spelling src
These are non-functional changes. * accounting * activation * actual * added * addresult * aggregable * aligned * alternatively * ambiguous * analysis * analyzer * anticlimactic * apparently * application * appropriate * arithmetic * assignment * assigns * associated * authentication * authoritative * barrier * boundary * broccoli * buffering * caching * called * canonicalized * capturing * certificates * ciphersuite * columns * communication * comparison * comparisons * compilation * component * concatenating * concatenation * connection * convenience * correctly * corresponding * could * counting * data * declared * decryption * defining * dependent * deprecated * detached * dictionary * directional * directly * directory * discarding * disconnecting * distinguishes * documentation * elsewhere * emitted * empty * endianness * endpoint * enumerator * essentially * evaluated * everything * exactly * execute * explicit * expressions * facilitates * fiddling * filesystem * flag * flagged * for * fragments * guarantee * guaranteed * happen * happening * hemisphere * identifier * identifies * identify * implementation * implemented * implementing * including * inconsistency * indeterminate * indices * individual * information * initial * initialization * initialize * initialized * initializes * instantiate * instantiated * instantiates * interface * internal * interpreted * interpreter * into * it * iterators * length * likely * log * longer * mainly * mark * maximum * message * minimum * module * must * name * namespace * necessary * nonexistent * not * notifications * notifier * number * objects * occurred * operations * original * otherwise * output * overridden * override * overriding * overwriting * ownership * parameters * particular * payload * persistent * potential * precision * preexisting * preservation * preserved * primarily * probably * procedure * proceed * process * processed * processes * processing * propagate * propagated * prototype * provides * publishing * purposes * queue * reached * reason * reassem * reassemble * reassembler * recommend * record * reduction * reference * regularly * representation * request * reserved * retrieve * returning * separate * should * shouldn't * significant * signing * simplified * simultaneously * single * somebody * sources * specific * specification * specified * specifies * specify * statement * subdirectories * succeeded * successful * successfully * supplied * synchronization * tag * temporarily * terminating * that * the * transmitted * true * truncated * try * understand * unescaped * unforwarding * unknown * unknowndata * unspecified * update * usually * which * wildcard Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d65c75e2ad
commit
cd201aa24e
188 changed files with 432 additions and 432 deletions
|
@ -77,7 +77,7 @@ public:
|
|||
FilterState GetState() const { return state; }
|
||||
|
||||
/**
|
||||
* Returns an error message, if any, that was returned from the compliation process.
|
||||
* Returns an error message, if any, that was returned from the compilation process.
|
||||
*/
|
||||
std::string GetStateMessage() const { return state_message; }
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ protected:
|
|||
/**
|
||||
* Constructor to use by derived classes.
|
||||
*
|
||||
* @param type The type of the componnent.
|
||||
* @param type The type of the component.
|
||||
*
|
||||
* @param name A descriptive name for the component. This name must
|
||||
* be unique across all components of this type.
|
||||
|
@ -128,7 +128,7 @@ private:
|
|||
/**
|
||||
* Component description for plugins providing a PktDumper for packet output.
|
||||
*
|
||||
* PktDumpers aren't IOSurces but we locate them here to keep them along with
|
||||
* PktDumpers aren't IOSources but we locate them here to keep them along with
|
||||
* the PktSrc.
|
||||
*/
|
||||
class PktDumperComponent : public plugin::Component
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
* overridden by source classes where they have a timeout value
|
||||
* that can wake up the poll.
|
||||
*
|
||||
* Must be overriden by derived classes.
|
||||
* Must be overridden by derived classes.
|
||||
*
|
||||
* @return A value for the next time that the source thinks the
|
||||
* poll should time out in seconds from the current time. Return
|
||||
|
|
|
@ -99,7 +99,7 @@ public:
|
|||
* @param is_live True if \a path represents a live interface, false
|
||||
* for a file.
|
||||
*
|
||||
* @return The new packet source, or null if an error occured.
|
||||
* @return The new packet source, or null if an error occurred.
|
||||
*/
|
||||
PktSrc* OpenPktSrc(const std::string& path, bool is_live);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
/**
|
||||
* Returns if the dumper has encountered an error, returns a
|
||||
* corresponding error message. Returns an emoty string otherwise.
|
||||
* corresponding error message. Returns an empty string otherwise.
|
||||
*/
|
||||
const char* ErrorMsg() const;
|
||||
|
||||
|
@ -104,7 +104,7 @@ protected:
|
|||
|
||||
/**
|
||||
* Called from the implementations of \a Open() to signal that the
|
||||
* source has been successully opened.
|
||||
* source has been successfully opened.
|
||||
*
|
||||
* @param props A properties instance describing the now open source.
|
||||
*/
|
||||
|
|
|
@ -149,14 +149,14 @@ public:
|
|||
*/
|
||||
bool GetCurrentPacket(const Packet** hdr);
|
||||
|
||||
// PacketSource interace for derived classes to override.
|
||||
// PacketSource interface for derived classes to override.
|
||||
|
||||
/**
|
||||
* Precompiles a filter and associates a given index with it. The
|
||||
* filter syntax is defined by the packet source's implenentation.
|
||||
* filter syntax is defined by the packet source's implementation.
|
||||
*
|
||||
* Derived classes can override this method to implement their own
|
||||
* filtering. If not overriden, it uses the pcap-based BPF filtering
|
||||
* filtering. If not overridden, it uses the pcap-based BPF filtering
|
||||
* by default.
|
||||
*
|
||||
* @param index The index to associate with the filter
|
||||
|
@ -201,7 +201,7 @@ public:
|
|||
*
|
||||
* @return A value for the next time that the source thinks the
|
||||
* poll should time out in seconds from the current time. Return
|
||||
* -1 if this should should not be considered.
|
||||
* -1 if this should not be considered.
|
||||
*/
|
||||
virtual double GetNextTimeout() override;
|
||||
|
||||
|
@ -251,7 +251,7 @@ protected:
|
|||
|
||||
/**
|
||||
* Called from the implementations of \a Open() to signal that the
|
||||
* source has been successully opened.
|
||||
* source has been successfully opened.
|
||||
*
|
||||
* @param props A properties instance describing the now open source.
|
||||
*/
|
||||
|
@ -279,7 +279,7 @@ protected:
|
|||
void Error(const std::string& msg);
|
||||
|
||||
/**
|
||||
* Can be called from derived classes to flah a "weird" situation.
|
||||
* Can be called from derived classes to flag a "weird" situation.
|
||||
*
|
||||
* @param msg The message to pass on.
|
||||
*
|
||||
|
@ -320,13 +320,13 @@ protected:
|
|||
*
|
||||
* @param pkt The packet structure to fill in with the packet's
|
||||
* information. The callee keep ownership of the data but must
|
||||
* guaranetee that it stays available at least until \a
|
||||
* guarantee that it stays available at least until \a
|
||||
* DoneWithPacket() is called. It is guaranteed that no two calls to
|
||||
* this method will hapen with \a DoneWithPacket() in between.
|
||||
* this method will happen with \a DoneWithPacket() in between.
|
||||
*
|
||||
* @return True if a packet is available and *pkt* filled in. False
|
||||
* if not packet is available or an error occured (which must be
|
||||
* flageed via Error()).
|
||||
* if not packet is available or an error occurred (which must be
|
||||
* flagged via Error()).
|
||||
*/
|
||||
virtual bool ExtractNextPacket(Packet* pkt) = 0;
|
||||
|
||||
|
@ -338,7 +338,7 @@ protected:
|
|||
|
||||
/**
|
||||
* Performs the actual filter compilation. This can be overridden to
|
||||
* provide a different implementation of the compiilation called by
|
||||
* provide a different implementation of the compilation called by
|
||||
* PrecompileBPFFilter(). This is primarily used by the pcap source
|
||||
* use a different version of BPF_Filter::Compile;
|
||||
*
|
||||
|
|
|
@ -34,7 +34,7 @@ function precompile_pcap_filter%(id: PcapFilterID, s: string%): bool
|
|||
if ( id->AsEnum() >= 100 )
|
||||
{
|
||||
// We use a vector as underlying data structure for fast
|
||||
// lookups and limit the ID space so that that doesn't grow too
|
||||
// lookups and limit the ID space so that it doesn't grow too
|
||||
// large.
|
||||
zeek::emit_builtin_error(
|
||||
zeek::util::fmt("PCAP filter ids must remain below 100 (is %" PRId64 ")", id->AsInt()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue