Properly set in_port in skb for Flow Mod messages.
[sliver-openvswitch.git] / datapath / nx_act.c
1 /*
2  * Distributed under the terms of the GNU GPL version 2.
3  * Copyright (c) 2007, 2008 The Board of Trustees of The Leland 
4  * Stanford Junior University
5  */
6
7 /* Functions for Nicira-extended actions. */
8 #include "nicira-ext.h"
9 #include "nx_act.h"
10
11 uint16_t
12 nx_validate_act(struct datapath *dp, const struct sw_flow_key *key,
13                 const struct ofp_action_vendor_header *avh, uint16_t len)
14 {
15         /* Nothing to validate yet */
16         return OFPBAC_BAD_VENDOR_TYPE;
17 }
18
19 struct sk_buff *
20 nx_execute_act(struct sk_buff *skb, const struct sw_flow_key *key,
21                 const struct ofp_action_vendor_header *avh)
22 {
23         /* Nothing to execute yet */
24         return skb;
25 }
26