* Most Open vSwitch code should not use this because it causes deadlocks:
* gethostbyname() sends out a DNS request but that starts a new flow for which
* OVS must set up a flow, but it can't because it's waiting for a DNS reply.
- * The synchronous lookup also delays other activty. (Of course we can solve
+ * The synchronous lookup also delays other activity. (Of course we can solve
* this but it doesn't seem worthwhile quite yet.) */
int
lookup_hostname(const char *host_name, struct in_addr *addr)
/* Prefix for connection names, e.g. "tcp", "ssl", "unix". */
const char *name;
- /* True if this stream needs periodic probes to verify connectivty. For
+ /* True if this stream needs periodic probes to verify connectivity. For
* streams which need probes, it can take a long time to notice the
* connection was dropped. */
bool needs_probes;
/* Prefix for connection names, e.g. "ptcp", "pssl", "punix". */
const char *name;
- /* True if this pstream needs periodic probes to verify connectivty. For
+ /* True if this pstream needs periodic probes to verify connectivity. For
* pstreams which need probes, it can take a long time to notice the
* connection was dropped. */
bool needs_probes;
def stream_or_pstream_needs_probes(name):
""" 1 if the stream or pstream specified by 'name' needs periodic probes to
- verify connectivty. For [p]streams which need probes, it can take a long
+ verify connectivity. For [p]streams which need probes, it can take a long
time to notice the connection was dropped. Returns 0 if probes aren't
needed, and -1 if 'name' is invalid"""