Esempio n. 1
0
 def _assemble(self):
     header_size = GINIC.getGPacketMetaheaderLen()
     self.__packed = ''
     if self.meta_msg == None:
         return GINIC.createGPacketWithIPPayload(self.ip_payload)
     else:
         return GINIC.assembleWithIPPayload(self.meta_msg, self.ip_payload);
Esempio n. 2
0
def getGPacketMetaheaderLen():
  return _GINIC.getGPacketMetaheaderLen()
def getGPacketMetaheaderLen():
    return _GINIC.getGPacketMetaheaderLen()