Lines Matching defs:packet
505 /* Add OVS_PACKET_ATTR_LEN when packet is truncated */
525 /* Only reserve room for attribute header, packet data is added
559 struct sk_buff *packet;
576 packet = __dev_alloc_skb(NET_IP_ALIGN + len, GFP_KERNEL);
578 if (!packet)
580 skb_reserve(packet, NET_IP_ALIGN);
582 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len);
584 /* Set packet's mru */
587 packet->ignore_df = 1;
589 OVS_CB(packet)->mru = mru;
594 __skb_set_hash(packet, hash & 0xFFFFFFFFULL,
599 /* Build an sw_flow for sending this packet. */
606 packet, &flow->key, log);
616 packet->priority = flow->key.phy.priority;
617 packet->mark = flow->key.phy.skb_mark;
632 packet->dev = input_vport->dev;
633 OVS_CB(packet)->input_vport = input_vport;
637 err = ovs_execute_actions(dp, packet, sf_acts, &flow->key);
649 kfree_skb(packet);