void TIDorb::core::comm::iiop::ProfileIIOP::partial_write(TIDorb::core::cdr::CDROutputStream& out) const { TIDThr::Synchronized synchro (*((ProfileIIOP*) this)); // write profile data if(_profile_data == NULL) { TIDorb::core::cdr::CDROutputStream encapsulation((TIDorb::core::TIDORB*) (out.orb())); encapsulation.write_boolean(encapsulation.get_byte_order()); _version.write(encapsulation); _listen_points[0].write(encapsulation); _object_key->write(encapsulation); if(_version > Version::VERSION_1_0) { size_t size = _components.size(); encapsulation.write_ulong((CORBA::ULong) size); for(size_t i = 0; i < size; i++) _components[i]->write(encapsulation); } ((ProfileIIOP*) this)->_profile_data = (TIDorb::core::cdr::CDRInputStream*)(encapsulation.create_input_stream()); } out.write_buffer(*(_profile_data->get_buffer())); }
static void vxlan_tx_process(uint8_t queue_id, struct rte_mbuf *pkt) { if (tx_encap) encapsulation(pkt, queue_id); return; }