Lines Matching defs:action

2049 	/* if actions_len == 0, then the action is drop */
2092 "unexpected action size %"PRIuSIZE,
2100 "userspace action size %"PRIuSIZE" "
2621 struct ofpbuf *action OVS_UNUSED)
2641 struct ofpbuf *action)
2643 slowpath_to_actions(SLOW_CONTROLLER, action);
2649 struct ofpbuf *action)
2663 nl_msg_put_unspec(action, OVS_ACTION_ATTR_PUSH_VLAN,
2670 struct ofpbuf *action)
2672 nl_msg_put_flag(action, OVS_ACTION_ATTR_POP_VLAN);
2677 flow_propval2action_setether(char **propvals, int nval, struct ofpbuf *action)
2740 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
2741 nl_msg_put_unspec(action, OVS_KEY_ATTR_ETHERNET, &eth_key,
2743 nl_msg_end_nested(action, start_ofs);
2749 flow_propval2action_setipv4(char **propvals, int nval, struct ofpbuf *action)
2812 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
2813 nl_msg_put_unspec(action, OVS_KEY_ATTR_IPV4, &ipv4, sizeof (ipv4));
2814 nl_msg_end_nested(action, start_ofs);
2821 flow_propval2action_setipv6(char **propvals, int nval, struct ofpbuf *action)
2898 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
2899 nl_msg_put_unspec(action, OVS_KEY_ATTR_IPV6, &ipv6, sizeof (ipv6));
2900 nl_msg_end_nested(action, start_ofs);
2955 flow_propval2action_settcp(char **propvals, int nval, struct ofpbuf *action)
2966 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
2967 nl_msg_put_unspec(action, OVS_KEY_ATTR_TCP, &tcp, sizeof (tcp));
2968 nl_msg_end_nested(action, start_ofs);
2973 flow_propval2action_setudp(char **propvals, int nval, struct ofpbuf *action)
2984 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
2985 nl_msg_put_unspec(action, OVS_KEY_ATTR_UDP, &udp, sizeof (udp));
2986 nl_msg_end_nested(action, start_ofs);
2991 flow_propval2action_setsctp(char **propvals, int nval, struct ofpbuf *action)
3002 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
3003 nl_msg_put_unspec(action, OVS_KEY_ATTR_SCTP, &sctp, sizeof (sctp));
3004 nl_msg_end_nested(action, start_ofs);
3045 flow_propval2action_settnl(char **propvals, int nval, struct ofpbuf *action)
3118 start_ofs = nl_msg_start_nested(action, OVS_ACTION_ATTR_SET);
3119 tun_key_ofs = nl_msg_start_nested(action, OVS_KEY_ATTR_TUNNEL);
3120 nl_msg_put_be64(action, OVS_TUNNEL_KEY_ATTR_ID,
3122 nl_msg_put_be32(action, OVS_TUNNEL_KEY_ATTR_IPV4_SRC, tnl.ip_src);
3123 nl_msg_put_be32(action, OVS_TUNNEL_KEY_ATTR_IPV4_DST, tnl.ip_dst);
3124 nl_msg_put_u8(action, OVS_TUNNEL_KEY_ATTR_TOS, tnl.ip_tos);
3125 nl_msg_put_u8(action, OVS_TUNNEL_KEY_ATTR_TTL, tnl.ip_ttl);
3126 nl_msg_put_flag(action, OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT);
3127 nl_msg_end_nested(action, tun_key_ofs);
3128 nl_msg_end_nested(action, start_ofs);
3179 dpif_log(ENOBUFS, "flow_propstr2outports action truncated");
3215 dpif_log(ENOBUFS, "flow_propstr2vals action truncated");
3224 flow_propval2action_ofaction(char *propval, struct ofpbuf *action)
3288 nl_msg_put_u32(action, OVS_ACTION_ATTR_OUTPUT,
3291 err = flow_propval2action_setpri(pvals, nval, action);
3294 action);
3296 err = flow_propval2action_pushvlan(pvals, nval, action);
3298 err = flow_propval2action_popvlan(pvals, nval, action);
3300 err = flow_propval2action_setether(pvals, nval, action);
3302 err = flow_propval2action_setipv4(pvals, nval, action);
3304 err = flow_propval2action_setipv6(pvals, nval, action);
3306 err = flow_propval2action_settcp(pvals, nval, action);
3308 err = flow_propval2action_setudp(pvals, nval, action);
3310 err = flow_propval2action_setsctp(pvals, nval, action);
3312 err = flow_propval2action_settnl(pvals, nval, action);
3332 struct ofpbuf *action = arg;
3378 err = flow_propval2action_ofaction(propval, action);
3387 struct ofpbuf *action)
3404 solaris_flowinfo2actionmap, action);
3416 solaris_get_flowaction(const char *flowname, struct ofpbuf *action)
3450 err = solaris_flowinfo2action(flowinfo, action);
3668 solaris_flow_walk(void *arg, struct ofpbuf *action,
3789 err = solaris_flowinfo2action(flowinfo, action);
3797 fn(arg, adr_name_key(anamearr[i], "name"), &f, &m, action,