def get_packet_ip_tos_field(packet):
    """
    returns types of services field from packet
        Args:
            packet (`obj`): packet object obtained from scapy module
        Returns:
            returns types of services field
    """

    return packet.get_field('tos').i2repr(packet, packet.tos)