hpimdm/packet/PacketHPIMSync.py
def bytes(self):
        """
        Obtain entry of Protocol Sync in a format to be transmitted (binary)
        """
        msg = struct.pack(self.PIM_HDR_SYNC_ENTRY, socket.inet_pton(self.FAMILY, self.source),
                          socket.inet_pton(self.FAMILY, self.group), self.metric_preference, self.metric)
        return msg

        Obtain entry of Protocol Sync in a format to be transmitted (binary)
        
Obtain entry of Protocol Sync in a format to be transmitted (binary)
Obtain entry of Protocol Sync in a format to be transmitted ( binary )
def bytes(self):
        msg = struct.pack(self.PIM_HDR_SYNC_ENTRY, socket.inet_pton(self.FAMILY, self.source),
                          socket.inet_pton(self.FAMILY, self.group), self.metric_preference, self.metric)
        return msg
def bytes ( self ) : msg = struct . pack ( self . PIM_HDR_SYNC_ENTRY , socket . inet_pton ( self . FAMILY , self . source ) , socket . inet_pton ( self . FAMILY , self . group ) , self . metric_preference , self . metric ) return msg
Obtain entry of Protocol Sync in a format to be transmitted (binary)
Obtain entry of Protocol Sync in a format to be transmitted ( binary )
"""
        Obtain entry of Protocol Sync in a format to be transmitted (binary)
        """
self