#include "nicira-ext.h"
#include "nx_act.h"
-static int make_writable(struct sk_buff **);
-
static uint16_t
validate_output(struct datapath *dp, const struct sw_flow_key *key,
switch(ntohl(avh->vendor)) {
case NX_VENDOR_ID:
- ret = nx_validate_act(dp, key, avh, len);
+ ret = nx_validate_act(dp, key, (struct nx_action_header *)avh, len);
break;
default:
switch(ntohl(avh->vendor)) {
case NX_VENDOR_ID:
- skb = nx_execute_act(skb, key, avh);
+ skb = nx_execute_act(skb, key, (struct nx_action_header *)avh);
break;
default:
/* Makes '*pskb' writable, possibly copying it and setting '*pskb' to point to
* the copy.
* Returns 1 if successful, 0 on failure. */
-static int
+int
make_writable(struct sk_buff **pskb)
{
/* Based on skb_make_writable() in net/netfilter/core.c. */