/*
- * Copyright (c) 2009, 2010 Nicira Networks.
+ * Copyright (c) 2009, 2010, 2011 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
bool is_connected;
enum nx_role role;
struct {
- const char *keys[3];
- const char *values[3];
+ const char *keys[4];
+ const char *values[4];
size_t n;
} pairs;
};
int probe_interval; /* Max idle time before probing, in seconds. */
enum ofproto_band band; /* In-band or out-of-band? */
- /* Discovery options. */
- char *accept_re; /* Regexp for acceptable controllers. */
- bool update_resolv_conf; /* Update /etc/resolv.conf? */
-
/* OpenFlow packet-in rate-limiting. */
int rate_limit; /* Max packet-in rate in packets per second. */
int burst_limit; /* Limit on accumulating packet credits. */
void (*account_flow_cb)(const struct flow *, tag_type tags,
const struct nlattr *odp_actions,
size_t actions_len,
- unsigned long long int n_bytes, void *aux);
+ uint64_t n_bytes, void *aux);
void (*account_checkpoint_cb)(void *aux);
};
void ofproto_revalidate(struct ofproto *, tag_type);