/* Actions. */
struct nlattr *actions;
- unsigned int actions_len;
+ size_t actions_len;
};
/* Interface to netdev-based datapath. */
static int dp_netdev_execute_actions(struct dp_netdev *,
struct ofpbuf *, struct flow *,
const struct nlattr *actions,
- unsigned int actions_len);
+ size_t actions_len);
static struct dpif_class dpif_dummy_class;
static int
dpif_netdev_validate_actions(const struct nlattr *actions,
- unsigned int actions_len, bool *mutates)
+ size_t actions_len, bool *mutates)
{
const struct nlattr *a;
unsigned int left;
static int
dpif_netdev_execute(struct dpif *dpif,
- const struct nlattr *actions, unsigned int actions_len,
+ const struct nlattr *actions, size_t actions_len,
const struct ofpbuf *packet)
{
struct dp_netdev *dp = get_dp_netdev(dpif);
dp_netdev_execute_actions(struct dp_netdev *dp,
struct ofpbuf *packet, struct flow *key,
const struct nlattr *actions,
- unsigned int actions_len)
+ size_t actions_len)
{
const struct nlattr *a;
unsigned int left;