Searched refs:user_skb (Results 1 – 1 of 1) sorted by relevance
/net/openvswitch/ |
D | datapath.c | 397 struct sk_buff *user_skb; /* to be queued to userspace */ in queue_userspace_packet() local 419 user_skb = genlmsg_new(upcall_msg_size(skb, upcall_info->userdata), GFP_ATOMIC); in queue_userspace_packet() 420 if (!user_skb) { in queue_userspace_packet() 425 upcall = genlmsg_put(user_skb, 0, 0, &dp_packet_genl_family, in queue_userspace_packet() 429 nla = nla_nest_start(user_skb, OVS_PACKET_ATTR_KEY); in queue_userspace_packet() 430 ovs_flow_to_nlattrs(upcall_info->key, user_skb); in queue_userspace_packet() 431 nla_nest_end(user_skb, nla); in queue_userspace_packet() 434 __nla_put(user_skb, OVS_PACKET_ATTR_USERDATA, in queue_userspace_packet() 438 nla = __nla_reserve(user_skb, OVS_PACKET_ATTR_PACKET, skb->len); in queue_userspace_packet() 442 genlmsg_end(user_skb, upcall); in queue_userspace_packet() [all …]
|