hpimdm/packet/PacketHPIMAck.py
def bytes(self) -> bytes:
        """
        Obtain Packet Ack in a format to be transmitted (binary)
        """
        msg = struct.pack(self.PIM_HDR_ACK, socket.inet_pton(self.FAMILY, self.source),
                          socket.inet_pton(self.FAMILY, self.group), self.neighbor_boot_time, self.neighbor_snapshot_sn,
                          self.my_snapshot_sn, self.sequence_number)

        return msg

        Obtain Packet Ack in a format to be transmitted (binary)
        
Obtain Packet Ack in a format to be transmitted (binary)
Obtain Packet Ack in a format to be transmitted ( binary )
def bytes(self) -> bytes:
        msg = struct.pack(self.PIM_HDR_ACK, socket.inet_pton(self.FAMILY, self.source),
                          socket.inet_pton(self.FAMILY, self.group), self.neighbor_boot_time, self.neighbor_snapshot_sn,
                          self.my_snapshot_sn, self.sequence_number)
        return msg
def bytes ( self ) -> bytes : msg = struct . pack ( self . PIM_HDR_ACK , socket . inet_pton ( self . FAMILY , self . source ) , socket . inet_pton ( self . FAMILY , self . group ) , self . neighbor_boot_time , self . neighbor_snapshot_sn , self . my_snapshot_sn , self . sequence_number ) return msg
Obtain Packet Ack in a format to be transmitted (binary)
Obtain Packet Ack in a format to be transmitted ( binary )
"""
        Obtain Packet Ack in a format to be transmitted (binary)
        """
self