mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
dpif_packet: Rename to dp_packet
dp_packet is short and better name for datapath packet structure. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -24,17 +24,17 @@
|
||||
#include "openvswitch/types.h"
|
||||
|
||||
struct nlattr;
|
||||
struct dpif_packet;
|
||||
struct dp_packet;
|
||||
struct pkt_metadata;
|
||||
|
||||
typedef void (*odp_execute_cb)(void *dp, struct dpif_packet **packets, int cnt,
|
||||
typedef void (*odp_execute_cb)(void *dp, struct dp_packet **packets, int cnt,
|
||||
const struct nlattr *action, bool may_steal);
|
||||
|
||||
/* Actions that need to be executed in the context of a datapath are handed
|
||||
* to 'dp_execute_action', if non-NULL. Currently this is called only for
|
||||
* actions OVS_ACTION_ATTR_OUTPUT and OVS_ACTION_ATTR_USERSPACE so
|
||||
* 'dp_execute_action' needs to handle only these. */
|
||||
void odp_execute_actions(void *dp, struct dpif_packet **packets, int cnt,
|
||||
void odp_execute_actions(void *dp, struct dp_packet **packets, int cnt,
|
||||
bool steal,
|
||||
const struct nlattr *actions, size_t actions_len,
|
||||
odp_execute_cb dp_execute_action);
|
||||
|
||||
Reference in New Issue
Block a user