Lines Matching defs:packet
543 /* Add OVS_PACKET_ATTR_LEN when packet is truncated */
563 /* Only reserve room for attribute header, packet data is added
597 struct sk_buff *packet;
614 packet = __dev_alloc_skb(NET_IP_ALIGN + len, GFP_KERNEL);
616 if (!packet)
618 skb_reserve(packet, NET_IP_ALIGN);
620 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len);
622 /* Set packet's mru */
625 packet->ignore_df = 1;
627 OVS_CB(packet)->mru = mru;
632 __skb_set_hash(packet, hash & 0xFFFFFFFFULL,
637 /* Build an sw_flow for sending this packet. */
644 packet, &flow->key, log);
654 packet->priority = flow->key.phy.priority;
655 packet->mark = flow->key.phy.skb_mark;
670 packet->dev = input_vport->dev;
671 OVS_CB(packet)->input_vport = input_vport;
675 err = ovs_execute_actions(dp, packet, sf_acts, &flow->key);
687 kfree_skb(packet);