def __init__(self, ba=None, cmd=None, version=None, reserved=None):
super(genlmsghdr, self).__init__(ba)<EOL>if cmd is not None:<EOL><INDENT>self.cmd = cmd<EOL><DEDENT>if version is not None:<EOL><INDENT>self.version = version<EOL><DEDENT>if reserved is not None:<EOL><INDENT>self.reserved = reserved<EOL><DEDENT>
Constructor.