<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def header2dict(self, names, struct_format, data):
 """ Unpack the raw received IP and ICMP header information to a dict. """

        unpacked_data = struct.unpack(struct_format, data)
        return dict(zip(names, unpacked_data))