hpimdm/packet/PacketHPIMInterest.py
def bytes(self) -> bytes:
        """
        Obtain Protocol Interest Packet in a format to be transmitted (binary)
        """
        msg = struct.pack(self.PIM_HDR_INTEREST, socket.inet_pton(self.FAMILY, self.source),
                          socket.inet_pton(self.FAMILY, self.group), self.sequence_number)

        return msg

        Obtain Protocol Interest Packet in a format to be transmitted (binary)
        
Obtain Protocol Interest Packet in a format to be transmitted (binary)
Obtain Protocol Interest Packet in a format to be transmitted ( binary )
def bytes(self) -> bytes:
        msg = struct.pack(self.PIM_HDR_INTEREST, socket.inet_pton(self.FAMILY, self.source),
                          socket.inet_pton(self.FAMILY, self.group), self.sequence_number)
        return msg
def bytes ( self ) -> bytes : msg = struct . pack ( self . PIM_HDR_INTEREST , socket . inet_pton ( self . FAMILY , self . source ) , socket . inet_pton ( self . FAMILY , self . group ) , self . sequence_number ) return msg
Obtain Protocol Interest Packet in a format to be transmitted (binary)
Obtain Protocol Interest Packet in a format to be transmitted ( binary )
"""
        Obtain Protocol Interest Packet in a format to be transmitted (binary)
        """
self