• Home
  • Raw
  • Download

Lines Matching refs:a

603 		   const struct nlattr *a)  in set_nsh()  argument
615 err = nsh_key_from_nlattr(a, &key, &mask); in set_nsh()
955 const struct nlattr *a; in output_userspace() local
962 for (a = nla_data(attr), rem = nla_len(attr); rem > 0; in output_userspace()
963 a = nla_next(a, &rem)) { in output_userspace()
964 switch (nla_type(a)) { in output_userspace()
966 upcall.userdata = a; in output_userspace()
970 upcall.portid = nla_get_u32(a); in output_userspace()
977 vport = ovs_vport_rcu(dp, nla_get_u32(a)); in output_userspace()
1072 const struct nlattr *a) in execute_set_action() argument
1075 if (nla_type(a) == OVS_KEY_ATTR_TUNNEL_INFO) { in execute_set_action()
1076 struct ovs_tunnel_info *tun = nla_data(a); in execute_set_action()
1088 #define get_mask(a, type) ((const type)nla_data(a) + 1) argument
1092 const struct nlattr *a) in execute_masked_set_action() argument
1096 switch (nla_type(a)) { in execute_masked_set_action()
1098 OVS_SET_MASKED(skb->priority, nla_get_u32(a), in execute_masked_set_action()
1099 *get_mask(a, u32 *)); in execute_masked_set_action()
1104 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
1114 err = set_eth_addr(skb, flow_key, nla_data(a), in execute_masked_set_action()
1115 get_mask(a, struct ovs_key_ethernet *)); in execute_masked_set_action()
1119 err = set_nsh(skb, flow_key, a); in execute_masked_set_action()
1123 err = set_ipv4(skb, flow_key, nla_data(a), in execute_masked_set_action()
1124 get_mask(a, struct ovs_key_ipv4 *)); in execute_masked_set_action()
1128 err = set_ipv6(skb, flow_key, nla_data(a), in execute_masked_set_action()
1129 get_mask(a, struct ovs_key_ipv6 *)); in execute_masked_set_action()
1133 err = set_tcp(skb, flow_key, nla_data(a), in execute_masked_set_action()
1134 get_mask(a, struct ovs_key_tcp *)); in execute_masked_set_action()
1138 err = set_udp(skb, flow_key, nla_data(a), in execute_masked_set_action()
1139 get_mask(a, struct ovs_key_udp *)); in execute_masked_set_action()
1143 err = set_sctp(skb, flow_key, nla_data(a), in execute_masked_set_action()
1144 get_mask(a, struct ovs_key_sctp *)); in execute_masked_set_action()
1148 err = set_mpls(skb, flow_key, nla_data(a), get_mask(a, in execute_masked_set_action()
1167 const struct nlattr *a, bool last) in execute_recirc() argument
1180 recirc_id = nla_get_u32(a); in execute_recirc()
1228 const struct nlattr *a; in do_execute_actions() local
1231 for (a = attr, rem = len; rem > 0; in do_execute_actions()
1232 a = nla_next(a, &rem)) { in do_execute_actions()
1235 switch (nla_type(a)) { in do_execute_actions()
1237 int port = nla_get_u32(a); in do_execute_actions()
1244 if (nla_is_last(a, rem)) { in do_execute_actions()
1259 struct ovs_action_trunc *trunc = nla_data(a); in do_execute_actions()
1267 output_userspace(dp, skb, key, a, attr, in do_execute_actions()
1273 execute_hash(skb, key, a); in do_execute_actions()
1277 err = push_mpls(skb, key, nla_data(a)); in do_execute_actions()
1281 err = pop_mpls(skb, key, nla_get_be16(a)); in do_execute_actions()
1285 err = push_vlan(skb, key, nla_data(a)); in do_execute_actions()
1293 bool last = nla_is_last(a, rem); in do_execute_actions()
1295 err = execute_recirc(dp, skb, key, a, last); in do_execute_actions()
1307 err = execute_set_action(skb, key, nla_data(a)); in do_execute_actions()
1312 err = execute_masked_set_action(skb, key, nla_data(a)); in do_execute_actions()
1316 bool last = nla_is_last(a, rem); in do_execute_actions()
1318 err = sample(dp, skb, key, a, last); in do_execute_actions()
1333 nla_data(a)); in do_execute_actions()
1345 err = push_eth(skb, key, nla_data(a)); in do_execute_actions()
1356 err = nsh_hdr_from_nlattr(nla_data(a), nh, in do_execute_actions()
1369 if (ovs_meter_execute(dp, skb, key, nla_get_u32(a))) { in do_execute_actions()
1376 bool last = nla_is_last(a, rem); in do_execute_actions()
1378 err = clone(dp, skb, key, a, last); in do_execute_actions()
1386 bool last = nla_is_last(a, rem); in do_execute_actions()
1388 err = execute_check_pkt_len(dp, skb, key, a, last); in do_execute_actions()